vBulletin Modifications

Miscellaneous Hacks - Advanced Rules and User Agreement Hack v2.0.0

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > vBulletin Database System > vBulletin 3.5 / 3.6 Hack Releases

Reply
 
Thread Tools Search this Thread
Download Options
You Must Register First
To Download This Modification

Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs

Advertisement
  
Not Supported
[vB 3.6.4] Miscellaneous Hacks - Advanced Rules and User Agreement Hack v2.0.0 (141)
Released: 02-01-2007, 04:52 AM
Modification Information:
Hasann's Avatar Author: Hasann
Last Online: 08-21-2008
Hack Version: 2.0.0 Installer Included: 0 Additional queries added to database: 1
New Templates: 5 Template Edits: 2 File Edits: 0
New Files: 5 New Phrases: 60 Installation Time (In Minutes): 10

Plugin
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:
  • 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 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

You must first be a registered member to view any code.
ABOVE ADD

You must first be a registered member to view any code.
******************************* IN MEMBERINFO TEMPLATE *******************************

FIND

You must first be a registered member to view any code.
ABOVE ADD


You must first be a registered member to view any code.
################################################## ###########################
############################ EDITS END #############################
################################################## ###########################


PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN!



Screenshots
Screenshots
File Type: jpg Rules_Agreement.jpg (51.0 KB, 526 views)
File Type: jpg Agreed_Rules_Memberinfo.jpg (72.7 KB, 541 views)
File Type: jpg List_Of_Rules.jpg (35.0 KB, 402 views)
File Type: jpg Viewing_Rule.jpg (38.6 KB, 376 views)
File Type: jpg Rules_Agreement_Admincp.jpg (36.3 KB, 384 views)


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Add a Comment!
Old 09-18-2007, 03:21 PM   #11
vB Newbie
Join Date: Jun 2006
rmwebs is on a distinguished road

Default

This breaks 3.6.8 -- it produces the following error on ALL front-end pages:

Quote:
Database error in vBulletin 3.6.8:

Invalid SQL:
SELECT * FROM ***_ruleshack
WHERE (fileurl LIKE 'http://www.****.com/forums/index.php' AND exactmatch = 1 )
OR (fileurl LIKE 'http://www.****.com/forums/index.php%' AND exactmatch = 0 ) AND active = 1 ORDER BY ruleid;

MySQL Error : Table '********.****_ruleshack' doesn't exist
Error Number : 1146
Date : Tuesday, September 18th 2007 @ 09:29:27 AM
Script : http://www.********.com/forums/
Referrer :
IP Address : ***.***.***.***
Username : ******
Classname : vB_Database
Disabling it fixes the problem.

Any chance of a fix for this?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 10-11-2007, 06:26 PM   #12
vB Newbie
Join Date: Oct 2007
atila_1974 is on a distinguished road

Default

No fix for vbulletin 3.6.8 and mysql 5 ??

Thanks .

Last edited by atila_1974; 10-12-2007 at 06:52 AM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-27-2008, 06:52 AM   #13
123
vB Newbie
Join Date: Sep 2005
123 is on a distinguished road

Default

where is link for download? =\




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-27-2008, 07:43 AM   #14
123
vB Newbie
Join Date: Sep 2005
123 is on a distinguished road

Default

oh, sorry. not standart forum )) thx.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-03-2008, 03:24 AM   #15
vB Newbie
Join Date: Aug 2008
BLaZ1337 is on a distinguished road

Default

ty 4this
=)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



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

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the rules and user agreement hack BigJohnny General vBulletin Support 1 08-08-2006 04:52 PM


All times are GMT -3. The time now is 05:18 PM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)