Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3279)
Brief Summary:
User Agreement Update provides a fully re-written system for both modifying and controlling the user agreement.
Allowing you to force (all|groups|members) to re-accept the user agreement before continuing to browse the forum, with two different modes (strict|relaxed), or the ability to turn off requiring members to re-accept at all.
The interface has a lot of jQuery implemented for the best experience possible, along with CSS3 for some extra styling benefits.
Multilingual support was achieved with some very nice results.
Features:
- Parse BBC
- Display Smileys
- Modify User Agreement
- Change Language
- Restore To:
- Latest Revision (restores to last save)
- Default (restores to default agreement)
- Show and Require
- Require Re-Agreement - When the user agreement is updated should members have to re-accept it?
- Member Mode - Strict: Members must accept before doing anything. Relaxed: Members can browse topics, but not access any actions.
- Bypass Groups (Primary & Post-based) - Select groups that do not have to re-accept the user agreement.
- Bypass Member(s) - Members that do not have to re-accept the user agreement.
- FULLY Multilingual
- CSS3 & jQuery Implementation
Changelog:
v1.0.3 (r1.3.12):
- !enhancement: file heading modified. (all package files).
- !enhancement: hacking attempt typo corrected. (!uau_source/)
- !enhancement: $smcFunc['strtolower'](); utilized for group colours. (!uau_source/Subs-Handler.php)
- !bugfix: "regular" membergroup added to $membergroups in loadMemberGroups(); (!uau_source/Subs-Handler.php, !uau_language/Handler.english.php)
- !enhancement: globals split into two lines (!HandlerFunc [uau_source/Handler.php])
- !bugfix: jQuery is only loaded if not previously loaded. (!uau_source/Handler.php x 2)
- !bugfix: json_encode(); replaced with utf8_encode();. (!uau_source/Handler.php)
- !enhancement: inline CSS coding style updated. (!uau_source/Handler.php)
v1.0.2 (r12.12.11):
- !enhancement: long string of globals separated into two lines.
- File: ./resources/Handler.php
- Function: HandlerFunc();
- !bugfix: readme now includes PHP requirement for json_encode(); and json_decode(); (PHP >= 5.2.0)
- !enhancement: various readme.txt changes.
Mentions:
- Icon Set: Fugue-Icons (http://p.yusukekamiyamane.com/)
- Written by: Labradoodle-360
- Copyright: Matthew Kerle - All Rights Reserved
- Dedicated To: LILM, my family, and Scotty Edward Johnson.
I suggest using
jQuery(document).ready(function($)
instead of
$(document).ready(function(){
for more compatibility with Mootools (themes, mods) etc.
Cool mod :D
Thank you :)
Hello labradoodle,
So I feel kind of stupid (don't laugh at me :o), but I swear I cannot submit my choice to have 'read' the new User Agreement. See attached. I am using the Astonished theme by Diego Andrés
Joel / pols1337
Do you have JavaScript enabled? Upon selecting "read", my modification automatically replaced that section with "Re-Accept Agreement" button, which allows you to submit the form.
I'm using Google Chrome on my browser ... I will check on Firefox, although I don't think JS is disabled ...
If you want, test account is: {written down | removed for security}
Unfortunately, I'd need a link to the site also.
universeofmen.com
Mozilla Firefox doesn't show any button either ... I swear I'm not blind.
Would you be willing to provide me with the login details for an admin account, and with FTP access? If so, PM me all of the information, and I'll take a peak at it tomorrow morning.
From what I can tell, another modification is conflicting with mine.
Quote from: pols1337 on January 09, 2012, 02:30:25 AM
universeofmen.com
Mozilla Firefox doesn't show any button either ... I swear I'm not blind.
The issue has to be being caused by a conflicting modification, I don't have time right now to look into it in any more depth.
Well ... can you explain how to back out of the changes, since I am totally locked out of my Forum since I can't accept the new User Agreement ???
Definitely. You'll need to go into your control panel (most likely cPanel) and go to phpMyAdmin > Navigate to your forums database > go to {db_prefix}members (most likely smf_members) > Edit your row > Change has_agreed to "1" and save.
If it helps, now that I can access my admin panel here is a list of the installed packages ...
Quote from: pols1337 on January 09, 2012, 02:16:07 AM
Hello labradoodle,
So I feel kind of stupid (don't laugh at me :o), but I swear I cannot submit my choice to have 'read' the new User Agreement. See attached. I am using the Astonished theme by Diego Andrés
Joel / pols1337
Same error with FireFox 9 on my SMF.
Quote from: Eclipse16V on January 12, 2012, 05:00:49 AM
Quote from: pols1337 on January 09, 2012, 02:16:07 AM
Hello labradoodle,
So I feel kind of stupid (don't laugh at me :o), but I swear I cannot submit my choice to have 'read' the new User Agreement. See attached. I am using the Astonished theme by Diego Andrés
Joel / pols1337
Same error with FireFox 9 on my SMF.
Do you have JavaScript on? What modifications do you have installed?
Yes, JavaScript is on.
Here my Mod list.
It's very possible one of those modifications is conflicting. Out of curiosity, have you tried another browser yet?
No, I'm once again did the mod because I have come down even more into the admin area. I just thought if it was not going to FireFox I would rather just leave it off again. I would then prefer to wait until the next time updates from time to enter and search which mod it since problems.
I'm sorry, I don't understand your last post...
OK,
ich schreibe mal in Deutsch da die Google Übersetzung nicht so toll ist.
Nein, ich habe nur den FireFox verwendet. Wollte auch nicht mit anderen Browsern weiter testen da in meinen Foren FireFox am meisten genutzt wird. Ich hatte die Mod darauf hin auch wieder entfernt da ich auch nicht mehr in den Admin Bereich gekommen bin. Ich warte einfach mal ab was so die nächsten Updates bringen und mache mich mal bei mir auf die Suche nach der Mod welche da vielleicht Probleme machen könnte.
Danke trotzdem schon mal.
I'm sorry, but I only provide English support for my modifications, and in some cases Spanish.
I did some further testing and was not able to replicate any of the described issues. I tested in multiple browsers.
Hi Labradoodle
I've installed your mod on my test forum and although I've checked 'require re-agreement' it does not seem to apply the changes - when I log on as a normal user it does not ask me to re-agree to anything and I can play around on the forum as normal. I've tried changing the settings, updating the agreement, trying different browsers and computers, but it still doesn't seem to require any re-agreement.
Is there an option somewhere that I've missed?
You must check "Require Re-Agreement" and change the user agreement in the same save for it to force the re-agreement.
Quote from: WantSome on May 18, 2012, 01:51:09 PM
Hi Labradoodle
I've installed your mod on my test forum and although I've checked 'require re-agreement' it does not seem to apply the changes - when I log on as a normal user it does not ask me to re-agree to anything and I can play around on the forum as normal. I've tried changing the settings, updating the agreement, trying different browsers and computers, but it still doesn't seem to require any re-agreement.
Is there an option somewhere that I've missed?
+1 @Labradoodle-360
not working
What are the steps that you tried?
Quote from: Labradoodle-360 on May 18, 2012, 06:40:26 PM
What are the steps that you tried?
check Require Re-Agreement
change yser agreement(etc. update)
- not working....pls check
Quote from: Labradoodle-360 on May 18, 2012, 01:53:08 PM
You must check "Require Re-Agreement" and change the user agreement in the same save for it to force the re-agreement.
Thanks, Labradoodle. I've tried that now and it is still not working. When I log in under a different username it allows me to do anything I want on the forum without requiring me to re-agree.
Quote from: WantSome on May 19, 2012, 05:44:19 AM
Quote from: Labradoodle-360 on May 18, 2012, 01:53:08 PM
You must check "Require Re-Agreement" and change the user agreement in the same save for it to force the re-agreement.
Thanks, Labradoodle. I've tried that now and it is still not working. When I log in under a different username it allows me to do anything I want on the forum without requiring me to re-agree.
Can you PM me a link and an admin account login please?
PM'd ya, thanks!
Received the PM, I will look into it more hopefully yet today.
Hey Labradoodle
Did you manage to find time to check out the problem? Let me know if there's any info you need.
Nope, I've not had time yet. Thanks for the bump. Might want to bump again in about 24 hours.
Are you able to add a little signing field where the user has to enter their username/display name to accept? It doesn't need to store anything, just match their name in order to accept.
That'd be 'possible', but it'd take a little bit of reworking.
I had to ask cause I was advised to do that as it makes it legally binding LOL.
It should be legally binding how it is now...
Well yes and no. I can't remember how it was explained to me but essentially if it went to court it could be thrown out because "anyone" could have hit the checkbox and because it's not an "active" agreement. If they have to sign suddenly it's very clear who is signing and it's "active" because they actually have to sign it and participate in agreeing.
Correct, in most jurisdictions it is not really that binding, the reason most T&Cs are 'acceptable' via checkbox is because they're done late in the process of an order, when it is beyond reasonable doubt that it is the person who has made the order etc. who is agreeing to consent to the T&Cs.
This modification uses a select box...which to me, I'd think requires a little bit more effort to click the dropdown and select yes.
It actually doesn't matter as such. The vagaries of different international laws stipulate that such a thing may or may not be adequate. Certainly in the UK it would be debatable.
And the states, which is where my server and things operate from.
I believe you need the signing to make it a legal [document] contract because it provides evidence of the intent to make it a legal contract and the person signing signs that they know and agree to such a contract. It's still an agreement for the forum and can be held up in court but if a judge doesn't like it or sees it as vague/badly written they can toss it. Essentially making users sign makes it a legal document which a court has to hold up....especially for changes - if a user doesn't sign off on changes or know about them then the terms can be thrown out.
In that case, shouldn't SMF change how they handle agreements?
LOL yeah it probably should because an agreement must be visible and accessible at all times and users HAVE to be notified of changes immediately or it can be thrown out.
anyone else has this problem?
i was testing around with the mod.. and after playing much scenarios.. i figured out that there seems to be a problem with cache/cookies on that..
example names: admin1, user1, user2:
admin1 changes user agreement in admin panel.. "require re-agreement" is active.. and member mode is "strict"..
after that:
standard user "user1" with FF17 logs in or is already logged in (doesn´t matter)... the dialog for re-agreement appears on next click.. user accepts new agreement.. everything is fine
BUT:
standard user "user2" with IE8 (internet explorer 8) logs in or is already logged in (doesn´t matter)... the dialog for re-agreement appears on next click.. user accepts new agreement.. BUT the dialog for re-agreement appears on next click.. and remains on every click.. it doesn´t matter if user2 accepts the agreement or not.. the dialog is not going away..
if this user2 uses FF17 at this stage (re-agreement acception clicked, but still apears in IE8) to login.. the agreement does not apear in FF17.. it is accepted (like he did in IE8).. that works..
the interesting part is:
after logging into SMF as user2 with FF17 and seeing the agreement is accepted and the re-agreement dialog is not shown anymore.. (so, no problems). the re-agreement dialog comes back when user2 logs in by using IE8..
in IE8 the re-agreement dialog only disapears, when the user deletes cache manualy or by reloading page with "ctrl-F5" (relaod with cache-update)...
so there seems to be a cache/cookie problem.. im not very into this.. so i cannot say what exactly the problem is.. but it seems, the cookie/cache in IE8 is not updated when the user clicks to accept the re-agreement.. i don´t know if this is a IE8 problem, a mistake in code of mod.. or a fault on my side... or something else.. since im not a coder or so..
i was testing this with a fresh install of IE8..
are you able to reproduce this problem in any browser?
JavaScript enabled?
yes.. JS is enabled..
http://www.isjavascriptenabled.com/ says so =)
any news on this?
Sorry, don't want you to think I'm avoiding this, I have it marked as unread so I remember to take care of it. Been busy getting ready for finals. What would really help me nail down the issue here would be a link, and administrative login, which you can PM to me. But it definitely sounds like an issue with the JavaScript and IE.
your inbox got account informations now..
I know you sent me updated information on IRC but I didn't store it. Can you PM me the updated details so I can look into it? (what browser and OS too please)
Thanks!
your inbox got account informations.. again =)
a possible german_informal translation
<?php
/**
* User Agreement Update
*
* @file Handler.german_informal.php
* @author Labradoodle-360
* @translator demlak
* @copyright Matthew Kerle 2012
*
* @version 1.0.3
*/
$txt['uau_reg_mem'] = 'Mitglieder';
$txt['updated_agreement_notice'] = 'Du siehst diese Seite, weil die Nutzungsbedingungen sich geändert haben. Um die Seite weiter benutzen zu können musst du diesen neuen Nutzungsbedingungen zustimmen.';
$txt['updated_user_agreement'] = 'Veränderte Nutzungsbedingungen';
$txt['re_accept_agreement'] = 'Akzeptiere Nutzungsbedingungen';
$txt['invalid_language_file'] = 'Es tut mir leid, es gibt keine passende Sprachdatei.';
$txt['restore_jquery'] = 'Möchtest du die $s Version der Nutzungsbedingungen wiederherstellen?\n\nAlle nicht gespeicherten Änderungen werden gelöscht.';
$txt['restore_opt_default'] = 'standard';
$txt['restore_opt_latest'] = 'letzte';
$txt['lab_user_agreement'] = 'Nutzungsbedingungen';
$txt['lab_i_have'] = 'Ich habe';
$txt['lab_not'] = 'nicht';
$txt['lab_read'] = 'gelesen';
$txt['the_user_agreement'] = 'die Nutzungsbedinungen.';
$txt['lab_close'] = 'Schließen';
$txt['lab_saved_notice'] = 'Die Einstellungen der Nutzungsbedingungen sind erfolgreich gespeichert worden!';
$txt['lab_languages'] = 'Sprachen';
$txt['lab_parse_bbc'] = 'Nutze BBC';
$txt['lab_show_smileys'] = 'Zeige Smileys';
$txt['lab_restore_to'] = 'Stell wieder her';
$txt['lab_latest_revision'] = 'Letzte Version';
$txt['lab_default_agreement'] = 'Standard';
$txt['lab_addit_settings'] = 'zusätzliche Einstellungen';
$txt['lab_setting_show_require'] = 'Zeigen und zustimmen';
$txt['lab_setting_desc_show_require'] = 'Sollen Benutzer den Nutzungsbedingungen zustimmen müssen?';
$txt['lab_setting_require_reagreement'] = 'Neue Bestätigung erforderlich?';
$txt['lab_setting_desc_require_reagreement'] = 'Wenn die Nutzungsbedingungen geändert werden, <br />sollten die Benutzer sie neu akzeptieren?';
$txt['lab_last_reset'] = 'Letzter Reset';
$txt['lab_never'] = 'Niemals';
$txt['lab_setting_member_mode'] = 'Mitglieder Modus';
$txt['lab_member_mode_strict'] = 'Streng: <em>Benutzer müssen erst zustimmen bevor sie irgendetwas machen dürfen.</em>';
$txt['lab_member_mode_relaxed'] = 'Flexibel: <em>Benutzer können im Forum lesen aber keine Aktionen ausführen.</em>';
$txt['lab_modes'] = 'Modi';
$txt['lab_strict'] = 'Streng';
$txt['lab_relaxed'] = 'Flexibel';
$txt['lab_setting_bypass_groups'] = 'Überspringe Gruppe';
$txt['lab_setting_desc_bypass_groups'] = 'Wähle Gruppe(n) die nicht den Nutzungsbedingungen erneut zustimmen müssen.';
$txt['lab_collapse_mgroups'] = 'Schließe Gruppenansicht';
$txt['lab_expand_mgroups'] = 'Öffne Gruppenansicht';
$txt['lab_primary'] = 'Primärgruppen';
$txt['lab_post_based'] = 'Sekundärgruppen';
$txt['lab_check'] = 'Markiere Alle';
$txt['lab_uncheck'] = 'Entferne Alle';
$txt['lab_plural_form'] = '';
$txt['lab_setting_bypass_members'] = 'Überspringe Benutzer';
$txt['lab_setting_desc_bypass_members'] = 'Benutzer die den Nutzungsbedingungen nicht erneut zustimmen müssen.';
$txt['lab_save_settings'] = 'Speichern der Einstellungen';
$txt['lab_please_donate'] = 'Gefällt dir dieses Mod? Dann spende doch um die weitere Entwicklung zu fördern <a href="https://www.paypal.com/cgi-bin/webscr&cmd=_s-xclick&hosted_button_id=9a5t59m45tc88" target="_blank">Klicke hier um via PayPal zu spenden.</a>';
$txt['lab_copyright'] = 'User Agreement Update 1.0.3<br /><a href="http://www.simplemachines.org/community/index.php?action=profile;u=182638" target="_blank">Copyright ' . date('Y') . ' - Matthew Kerle</a>';
?>
p.s. in Handler.english.php you forgot the ?> at the end...
Thank you for the translation, I'll try to find some time to throw out a patch. Omitting the PHP closing tag is not a mistake.
Is there any chance that this mod will be updated so it will work with SMF v. 2.0.7 as well? A small change might be needed to make it fully compatible again, since most parts of the code gerge properly into the new version and only index.php seems to fail the installation test (it might be trivial indeed). Thank you for your time and attention.
Yeah, I'm going to be updating this one soon. Some of the jQuery animations are broken and should really be removed.
Please help ASAP, this mod just locked everyone out of my board. The updated agreement comes up with a drop-down box for the agreement ("read" or "not read"), but it makes no difference which option I select. There is no kind of "submit" button, and nothing I do allows me to access anything. I have tried Chrome, FF, Explorer & Safari, nothing works.
The board is running SMF 2.0.5
Can you PM me a link to your forum with your login information and I'll check it out for you?
This mod is very helpfull, my best thanks to Labradoodle-360.
I want to suggest a little modification in this mod, cause I need it and I think will be useful to smf users.
When a user "read" user agreement, he could be have two choise:
1) I've read, and I 'm agree so I accept the user agreement
2) I've read but I'm not agree so I ask to delete my account.
Hopefull Labradoodle-360 can help me/us about this request, I say thanks about this mod.
Alex
Unluckly doesn't work on smf 2.0.7
Use Version Emulate in Package Manager. It'll work. I've used it multiple times. Although it looks like some of the jQuery effects may be broken.
Hi I have just installed this on my forum but some users don't get the button to agree? Looks like some browsers not working?
It looks like firefox and Chrome mostly ? when the drop dawn list is selected it doesn't change to the button!
Open the console in your browser, any errors?
I'm going to be developing an update for this modification shortly here. Thoughts? Things to add, modify, enhance?
just an option to send email notify when an agreement is updated? What do you think about?
Interesting idea. Why would I want an email letting me know a sites user agreement was updated though?
In case it has non-trivial changes to terms and conditions.
I understand that. It is indeed an interesting idea. Newsletter would handle it similarly, although I guess built-in would be a little bit more simple. I wonder though honestly how many people would send out an email from UAU if it was built-in.
Quote from: malyshka on April 07, 2014, 02:56:34 PM
Please help ASAP, this mod just locked everyone out of my board. The updated agreement comes up with a drop-down box for the agreement ("read" or "not read"), but it makes no difference which option I select. There is no kind of "submit" button, and nothing I do allows me to access anything. I have tried Chrome, FF, Explorer & Safari, nothing works.
The board is running SMF 2.0.5
I just ran into this issue. I did an update before and it worked smoothly, but not this time (regarding where users re-accept the agreement). I'm an admin and am locked out. Please help. SMF 2.0.8
I also have pretty URLs installed if it makes a difference.
Can you provide a link to your forum please? Also if you could PM me admin details so I can look into it, that'd be great.
I have an update for this modification, but there's one bug left I've not had time to fix yet.
Hi Matthew,
Long time no chat.
With recent GDPR issues, I thought this would be a great mod to use, to force all users to re-accept the modified User Registration Agreement.
Sadly I can't make it work, I just don't see the "Force Re-Agreement" option in the Admin Registration section. I assume this should display under or next to the "Show and require agreement letter when registering." option. I have Javascript enabled on my browsers FF & CHROME & EDGE etc, Cleaned caches and forum cache, still even changing and saving the agreement it does not display.
Using SMF 2.0.15
Any suggestions or news on the modified version you were working on back in 2014?
Cheers
Chas
PS Attached SS of the bottom of the Reg Document after saving.
I have force reagree to terms of agreement in my GDPR Helper mod https://www.smfhacks.com/index.php?action=downloads;sa=view;down=207
Hmm I can't access your site from work, is that mod here on smf officially as well or not as yet?
Submitted to modsite but not approved yet...
Ta mate.
Quote from: vbgamer45 on May 29, 2018, 01:35:43 PM
I have force reagree to terms of agreement in my GDPR Helper mod https://www.smfhacks.com/index.php?action=downloads;sa=view;down=207
Thanks vbGamer45, works really well.
yes, thanks. I have in in my dev system and it works well.
I may wait until it's an approved mod just in case there are more considerations