Back to Modification Graveyard

Rules and User Agreement Hack
Mod Version: 1.1.5, by uae

This thread is in the Modification Graveyard.
vB Version: 3.5.4 Rating: (6 votes - 4.00 average) Installs: 278
Released: 06 Oct 2005 Last Update: 09 Nov 2005 Downloads: 280
Not Supported DB Changes Uses Plugins Template Edits Additional Files  

This modification currently contains a vulnerability. You are hereby advised to disable this modification until such time that the author provides a fix.
- vBulletin.org Staff


Rules and User Agreement Hack-------------------------------------
Hack Version: 1.1.5
vB-version: 3.5
Developer: http://www.uaeweb.com/
Install-difficulty: Easy
Port of: http://www.vbulletin.org/forum/showt...threadid=77666

Introduction:
Rules and User Agreement Hack Is an agreement rules systems, that requires user to agree to each individual forum or/and pages rules within the whole board community “if applicable” prior to permission them to different action (Viewing a Forum, Posting New Thread for the first time, Posting New Thread, Posting Reply).

This will limit the forum breaches that occur often due to unawareness of the rules and agreement. This shall automate the manual procedures that are followed by users to read the “rules and agreement” and will enforce to some extent the users to be aware of rules in place. Moreover this will eliminate the options of any denial by certain users of not being aware of “rules and agreements” being in place for the desired forum.

This can also be used as alerts, broadcasts, messages and tutorials… etc to certain individual, multi users or groups.

Features:
  • Unlimited* Rule(s).
  • An Individual Forum can have multi rules agreement.
  • An Individual FILE within your forum can have mutli rules agreement.
  • List All Rules that user has agreed to from his/her profile page "if a url was provided".
  • Edit/Delete Rule(s).
  • Reset Rule(s) Manually or with Cron Job.
  • Rules can use bbcode.
  • Set to show a rule(s) agreement in any selected forum/page (file url) IF:
- User's Usergroup is Y.
- User's Additional Usergroups is Y.
- User's User Id is X.
- User's User Name is XXX.
- User's first time posting a new thread in this forum.
- User's has posts greater than x posts.
- User's has posts less than x posts.
- User's Join Date is After (yyyy-mm-dd).
- User's Join Date is Befor (yyyy-mm-dd).
- User's Last Activiy is After (yyyy-mm-dd).
- User's Last Activiy is Befor (yyyy-mm-dd).
- User's Last Post is After (yyyy-mm-dd).
- User's Last Post is Befor (yyyy-mm-dd).
* Can Use Conditionals.
  • Fully "phrased" so translations are made easy.
Settings in the Admin CP:
  • List Rule(s).
  • Add New Rule(s).
  • Edit / Delete Rule(s).
  • Reset Rule(s).
  • Activate and Inactivate Rule(s)
Screenshots:

See attachments.

Hack Installation Details:

1 Product XML with 3 Plugins, and 45 Phrases

New files for this Hack: 3
/admincp/rulesagreement.php
/includes/cron/cron_ruleshack.php
/includes/xml/cpnav_rulesagreement.xml

New templates for this Hack: 2
ruleshack_rules
ruleshack_rulesbit

File-edits: 0

Template-edits: 1
MEMBERINFO

New DB tables for this Hack: 1
ruleshack

DB Tables modified for this Hack: 1
user

How to Install:
To install this hack, simply download the zip file, Unzip it to a directory on your computer and follow the steps from README.txt

History:
1.0.0
Initial Version for vBulletin 3.5

1.1.0
Added Rule(s) from URL
Fixed typo in Phrase

1.1.1
Fixed bug with new registration
-> to upgrade, import product-rulesagreement.xml and set Allow Overwrite to yes

1.1.2
Fixed bug with Reseting Rules every 12 hours
-> to upgrade, import product-rulesagreement.xml and set Allow Overwrite to yes

1.1.3
Fixed bug with with TABLE_PREFIX missing
-> to upgrade, import product-rulesagreement.xml and set Allow Overwrite to yes


1.1.4
Fixed bug with with Template / memberinfo Agreed Rules List
-> to upgrade, import product-rulesagreement.xml and set Allow Overwrite to yes

1.1.5
Fixed bug with this

Spoiler (click to open)


Any news on the vBadvanced missing template issue? - I suspect the problem is that the script looks for the .css paths assuming it is in the /forum/ dir but since vBa will allow you to run pages at the root of your site (homepage) location then the paths don't work out and the MOD cannot display properly.

I was wondering if there was a location we could add a chdir command to the scripts to compensate or otherwise enter a new path to help it find the .css data.

And of course your help is much appreciated on this.

Close
& this

Spoiler (click to open)


Quote by uae
Man, this thing is working just fine with me, could anybody else confirm it :ermm:
I found something interesting. If I select a user from a last post link on the homepage or within a forum nothing renders for the rules and guidelines. However, if I goto a post and click the users name and with the drop down select "view profile" the user agreement stuff renders fine. I found the difference of url for each way of viewing a users profile:

This URL style will result in the agreement info working:
http://www.physicsforums.com/member.php?u=26624

This URL style will result in a failure of the agreement info showing:
http://www.physicsforums.com/member.php?find=lastposter&f=65

Close

-> to upgrade, import product-rulesagreement.xml and set Allow Overwrite to yes

PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN!

If you like this hack, please be kind and click on

Download

This modification cannot be downloaded.

Screenshots

       

Similar Mods

Rules and User Agreement Hack vBulletin 3.0 Full Releases
BLS - addon to RULES AND USER AGREEMENT HACK: rules to selected forum vBulletin 3.0 Full Releases
BLS - addon to RULES AND USER AGREEMENT HACK: rules to child forum vBulletin 3.0 Full Releases

vblts.ru supports vBulletin®, 2022-2024