Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Rules and User Agreement Hack Details »
Rules and User Agreement Hack
Mod Version: 1.1.5, by uae (Member) uae is offline
Developer Last Online: Dec 2012 I like it Show Printable Version Email this Page

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: 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 & this
-> 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 Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	add_new.gif
Views:	2100
Size:	144.5 KB
ID:	35330   Click image for larger version

Name:	agreed_rules.gif
Views:	3292
Size:	76.9 KB
ID:	35331   Click image for larger version

Name:	edit_rules.gif
Views:	1925
Size:	46.5 KB
ID:	35332   Click image for larger version

Name:	posting.gif
Views:	2976
Size:	61.0 KB
ID:	35333  

Show Your Support

  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Rules and User Agreement Hack uae vBulletin 3.0 Full Releases 79 09 Nov 2008 11:07
BLS - addon to RULES AND USER AGREEMENT HACK: rules to selected forum Bolas vBulletin 3.0 Full Releases 21 25 Nov 2006 15:16
BLS - addon to RULES AND USER AGREEMENT HACK: rules to child forum Bolas vBulletin 3.0 Full Releases 0 13 Apr 2005 23:35

  #271  
Old 13 Feb 2007, 04:03
DPSR's Avatar
DPSR DPSR is offline
 
Join Date: Aug 2006
Originally Posted by Black Widow View Post
i fixed something there.
download and upload again.
Working just fine on my vb3.6.4

Thanks a lot Black Widow
Reply With Quote
  #272  
Old 13 Feb 2007, 14:55
stwilson stwilson is offline
 
Join Date: Dec 2006
Real name: ST
Still a no-go for me. Here is what I get when I access the Rules CP

input->clean_array_gpc('r', array('forumid' => TYPE_INT, 'title' => TYPE_STR, 'ruletext' => TYPE_STR, 'ruleurl' => TYPE_STR, 'userids' => TYPE_STR, 'usernames' => TYPE_STR, 'usergroup_all' => TYPE_INT, 'groupids' => TYPE_ARRAY_INT, 'memberids' => TYPE_ARRAY_INT, 'firstnewthread' => TYPE_INT, 'postmore' => TYPE_INT, 'postless' => TYPE_INT, 'joindateafter' => TYPE_STR, 'joindatebefore' => TYPE_STR, 'lastactiveafter' => TYPE_STR, 'lastactivebefore' => TYPE_STR, 'lastpostafter' => TYPE_STR, 'lastpostbefore' => TYPE_STR, 'active' => TYPE_INT, 'conditions' => TYPE_INT, 'action' => TYPE_STR, 'limitstart' => TYPE_INT, 'ruleid' => TYPE_INT, 'allowbbcode' => TYPE_INT, 'repeated' => TYPE_INT, 'childforum' => TYPE_INT, 'newthread' => TYPE_INT, 'newreply' => TYPE_INT, 'viewforum' => TYPE_INT, 'fileurl' => TYPE_STR, 'exactmatch' => TYPE_INT)); if ($vbulletin->GPC['action'] != 'kill') print_cp_header(); if ($_REQUEST['do'] == 'rule') { print_cp_header($vbphrase['ruleshack_rules_manager']); print_form_header('rulesagreement', 'submitrule'); construct_hidden_code('action', 'newrule'); print_table_header($vbphrase['ruleshack_rules_add']); print_input_row($vbphrase['ruleshack_rules_title'], 'title'); print_textarea_row($vbphrase['ruleshack_rules_text'], 'ruletext', ''); print_input_row($vbphrase['ruleshack_rules_url'], 'ruleurl', ''); print_description_row('', 0, 2, 'thead'); print_yes_no_row($vbphrase['allow_bbcode'], 'allowbbcode', 0); print_yes_no_row($vbphrase['ruleshack_rules_repeated'], 'repeated', 0); print_yes_no_row($vbphrase['ruleshack_rules_active'], 'active', 1);
__________________
ST
Reply With Quote
  #273  
Old 13 Feb 2007, 14:56
stwilson stwilson is offline
 
Join Date: Dec 2006
Real name: ST
Almost forgot. I am on MySQL 5 and 3.6.4. Basically, I uninstalled, reinstalled and got the above error.
__________________
ST
Reply With Quote
  #274  
Old 13 Feb 2007, 16:15
s0lidgr0und's Avatar
s0lidgr0und s0lidgr0und is offline
 
Join Date: Dec 2006
Real name: Bill
Any thoughts?
Database error in vBulletin 3.6.4:

Invalid SQL:
INSERT INTO cron (weekday, day, hour, minute, filename, loglevel, title )
VALUES (-1, -1, 0, 'a:1:{i:0;i:-1;}', './includes/cron/cron_ruleshack.php', 1,
'Rules and User Agreement Hack Reset');

MySQL Error : Unknown column 'title' in 'field list'
Error Number : 1054
Date : Tuesday, February 13th 2007 @ 10:10:39 AM
Reply With Quote
  #275  
Old 13 Feb 2007, 17:41
dutchbb dutchbb is offline
 
Join Date: Dec 2003
Originally Posted by Black Widow View Post
i fixed something there.
download and upload again.
Thanks! Nog bugs or problems so far with this one
Reply With Quote
  #276  
Old 14 Feb 2007, 14:32
poprulz poprulz is offline
 
Join Date: Oct 2005
I am using vB 3.6.1

I tried installing the original version attached with this thread and it gave me a itle filed eror. So i downloaded the patched 1 with variable name.

When i import product. nothing happens...the bar remains as such and nothing seems to work.

Please provide me with a working version for 3.6.1.
__________________
Mallu Pride : Malayalam music community.
Reply With Quote
  #277  
Old 14 Feb 2007, 14:47
butty butty is offline
 
Join Date: Nov 2001
thanks to uae for the hack and thanks to black widow for posting the patch for 3.6.4 got it working perfectly great stuff
Reply With Quote
  #278  
Old 21 Feb 2007, 06:37
BigJimTheLug BigJimTheLug is offline
 
Join Date: Nov 2006
So this does work on 3.6.4?
Reply With Quote
  #279  
Old 28 Feb 2007, 18:53
f!nal f!nal is offline
 
Join Date: Feb 2007
I have a problem , i have vb version 3.6.4 and when i import the xml file, i become a error:

Invalid argument supplied for foreach() in /includes/functions_cron.php (line 95)

i have the german forum is this the problem?
Reply With Quote
  #280  
Old 28 Feb 2007, 23:00
jadkar jadkar is offline
 
Join Date: Mar 2006
Originally Posted by jadkar View Post
I installed vBSEO after this hack has been running for about a year and now it's dead. Does anyone have any expirence using this with vBSEO??

My problem is that as soon as a user agrees to the rules and clicks submit it bounces them back to the main forum index page.

This hack was instrumental on my site if this can't work does anyone know of a similar one??

Please help
Nobody has an answer to this......please!!
Reply With Quote
  #281  
Old 01 Mar 2007, 05:29
jadkar jadkar is offline
 
Join Date: Mar 2006
Angry

OK I tried again with another port of this producr called 2.0. Still the same exact thing. I'm runnig CMPS and whenever the rule pops up an I ageee to it I get sent back to my main CMPS screen. Then once more if I try to except the rule it doe the same thing.... boncing me back to my min CMPS screen

I find it hard to believe that his doen't happen to anyone else. Any help with this would be much appreciated. I'm suprised people on these forums don;t use this hack mre ofter.
Reply With Quote
  #282  
Old 18 Mar 2007, 00:02
AngusMacGyver AngusMacGyver is offline
 
Join Date: Aug 2006
I installed the hack and it works almost fine on 3.6.5. Only one issue does't work.
If I choose one usergroup which should see the message, all users of all usergroups see the message. What is wrong in my installation or with my parameters.
Reply With Quote
  #283  
Old 18 Mar 2007, 01:23
Sax on the Web Sax on the Web is offline
 
Join Date: Feb 2006
Installed and got a database error

Installed and got a database error. Cannot get to admincp now. Please help!

==========================================
Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT * FROM ruleshack
WHERE (fileurl LIKE 'http://forum.saxontheweb.net/index.php' AND exactmatch = 1 )
OR (fileurl LIKE 'http://forum.saxontheweb.net/index.php%' AND exactmatch = 0 ) AND active = 1 ORDER BY ruleid;

MySQL Error : Table 'tmp.ruleshack' doesn't exist
Error Number : 1146
Date : Saturday, March 17th 2007 @ 05:17:30 PM
Script : http://forum.saxontheweb.net/
Reply With Quote
  #284  
Old 21 Mar 2007, 02:45
Rickeo's Avatar
Rickeo Rickeo is offline
 
Join Date: Jan 2007
Real name: Richard
Amazing hack
Reply With Quote
  #285  
Old 28 Mar 2007, 17:59
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Originally Posted by Mr_Snob View Post
i have this one ported for 3.6.4 and many features added if you would i release it at vb.org

Could you please release. Or PM a copy something? I know your work is good I can only imagine what OTHER features you have made. Thank you
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 05:41.

Layout Options | Width: Wide Color: