The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Advanced Rules and User Agreement Hack v2.0.0 Details »» | |||||||||||||||||||||||||||
Advanced Rules and User Agreement Hack v2.0.0
Developer Last Online: May 2012
This modification contains a security vulnerability, you are hereby advised to uninstall until further notice.
- vBulletin.org Staff Advanced Rules and User Agreement Hack v2.0.0 ------------------------------------------------------------ This Hack is Port of UAE's Rules and User Agreement Hack. And I have this one together combined with my old "Rules Hack v1.5" Hack Version: 2.0.0 vB-version: 3.6.4 Developers: UAE and Hasann Install-difficulty: Easy Port of: Rules and User Agreement Hack Requested Here: Hasann was wondering if you and uae who wrote the Rules and User Agreement Hack could get together and combine your modifications into one package? Introduction: Advanced 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. Whats New in this Port Hack?: List of all Rules shows you in /rules.php Features:
- 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.
See attachments. Hack Installation Details: 1 Product XML with 5 Plugins, and 60 Phrases New files for this Hack: 4 /rules.php /admincp/rulesagreement.php /includes/cron/cron_ruleshack.php /includes/xml/cpnav_rulesagreement.xml New templates for this Hack: 5 rules rulesbit rulesview ruleshack_rules ruleshack_rulesbit File-edits: 0 Template-edits: 1 MEMBERINFO navbar 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 ################################################## ########################### ############################## TEMPLATE EDITS ############################### ################################################## ########################### ******************************* IN NAVBAR TEMPLATE ******************************* FIND HTML Code:
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td> HTML Code:
<td class="vbmenu_control"><a href="rules.php$session[sessionurl_q]">$vbphrase[rules]</a></td> FIND HTML Code:
<if condition="$vboptions['usereferrer']">
HTML Code:
<!-- [START HACK='Rules and User Agreement' by UAE AND HASANN VERSION='2.0.0' CHANGEID= 1 ] --> <if condition="$agreedrules"> <fieldset class="fieldset"> <legend>$vbphrase[ruleshack_agreed]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td> <phrase 1="$userinfo[username]">$vbphrase[ruleshack_x_has_agreed_to_the_following_rules]</phrase> </td> </tr> $agreedrules </table> </fieldset> </if> <!-- [END HACK='Rules and User Agreement' by UAE AND HASANN VERSION='2.0.0' CHANGEID= 1 ] --> ############################ EDITS END ############################# ################################################## ########################### PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN! Supporters / CoAuthors Show Your Support
|
Comments |
#12
|
|||
|
|||
you can with this hack put that what you says
|
#13
|
|||
|
|||
I was using the old user agreement hack from way back, and its still installed on my site, and is still working, and im on 3.6.4 was there something that should not be working with the old version that should require me to update now?
|
#14
|
|||
|
|||
I think i need this cool now but only one question.. what about searh engines bots?? If i create rule for a forum that one have to agree if he/she want to view hacks in that forum but what about search engines?? This hack will block them?
|
#15
|
|||
|
|||
I tried installing this hack but when i try to add a new rule to a forum it gives me same mysql db error that it was giving on the hack by Hasann
Any help ???? |
#16
|
||||
|
||||
Nice hack.
Couple of things, though. First, since there tend to be a number of rules to which the user agrees in order for access to be given to a certain forum (or whatever), in the rules template, I changed the text Number of rules: to Number of rule pages:. Also, since my rules pages are formatted, in the rulesview template, I changed <td class="thead" width="100%" align="center">$drule to <td class="alt2" width="100%">$drule |
#17
|
||||
|
||||
More important requests.
First, is it possible to allow (and correctly display) HTML within the rules text? Second, is it possible to have a list of forum IDs which the rule applies to? Third, Rules Options - what does the 'Or from File URL' allow us to do and how? |
#18
|
|||
|
|||
Uploaded and installed all files perfectly...
But there are no options in AdminCP? I logged in and out multiple times... Disregard.. Though, you might want to mention that the options do not have their own heading... |
#19
|
|||||
|
|||||
Quote:
this new version has one feature that is Listing of Rule Pages in the /rules.php Quote:
if you are have vBSeo or Zoints Seo Installed put your Rule Page's URl put it like this www.DOMAIN.com/forum/file.html also put your RULE PAGE URL with ending .html not .php that working Quote:
Quote:
Quote:
thanks all for you guys |
#20
|
||||
|
||||
the hack reads still 1.1.5 in the plugin management.
and can you add the link to this thread to the title? |
#21
|
|||
|
|||
Does anyone have this working with 3.6.4 running on MySQL 5.0.16? I cannot get it to work.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|