Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Rules and User Agreement Hack Details »»
Rules and User Agreement Hack
Version: 1.0.0, by uae uae is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 03-06-2005 Last Update: Never Installs: 53
DB Changes
 
No support by the author.

Rules and User Agreement Hack
-------------------------------------
Hack Version: 1.0.0
vB-version: 3.0.7
Developer: WwW.UAEWEB.CoM
Install-difficulty: Easy


Introduction:

Rules and User Agreement Hack Is an agreement rules systems, that requires user to agree to each individual forum rules within the whole board community ?if applicable? prior to permission them to post a new thread.
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.
  • List All Rules that user has agreed to from his/her profile page "if a url is provided".
  • Set to show a rule(s) agreement in any selected forum IF:
- User's Usergroup 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.
  • Installer that will install all of the templates, phrases, and all database modifications.
  • Uninstaller included.
Settings in the Admin CP:
  • List Rule(s).
  • Add New Rule(s).
  • Edit / Delete Rule(s).
  • Activate and Inactivate Rule(s)
Screenshots:

See attachments.


Hack Installation Details:

New files for this Hack: 2
/admincp/newthreadrules.php
/admincp/newthread_install_1_00.php (Delete After Install)
/includes/functions_threadrules.php

New templates for this Hack: 2
forum_newthreadrules
forum_newthreadrules_bit

File-edits: 3
/admincp/index.php
/member.php
/newthread.php

Template-edits: 1
MEMBERINFO

New DB tables for this Hack: 1
threadrules

DB Tables modified for this Hack: 1
user

ADD ON:
1- https://vborg.vbsupport.ru/showthread.php?t=79798
Rules will be applied to (showpost.php, newpost.php, newthread.php, forumdisplay.php, showthread.php) on a selected forum.
2- https://vborg.vbsupport.ru/showthread.php?t=79892
RULES AND USER AGREEMENT HACK so rules will be applied to selected forum and ALSO on CHILD forums.
By Bolas



PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN!


If you like this hack, please be kind and click on "Install this Modification" Link.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 07-11-2005, 04:06 PM
slim cutty slim cutty is offline
 
Join Date: May 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think that did it thanks to you, you must have had this similar problem? Was it a bug in the uninstall file? He should have updated that file. Because of it my Database crashed and gave my webhosts hell...lol (not really in a laughing matter though).

Thank you very much though
Reply With Quote
  #43  
Old 07-11-2005, 04:13 PM
Milchi Milchi is offline
 
Join Date: Jun 2005
Location: Nueremberg
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by slim cutty
I think that did it thanks to you, you must have had this similar problem? Was it a bug in the uninstall file? He should have updated that file. Because of it my Database crashed and gave my webhosts hell...lol (not really in a laughing matter though).

Thank you very much though
Hi no problem at all.

Didn't uninstall the hack till now but i will review the uninstall script

Update: yes it IS a bug in uninstall Script. If the First User returned from the statement down there has already agreed rules, then it won't work:

Code:
$xx = $DB_site->query_first("select * from " .  TABLE_PREFIX . "user");
if ($xx[agreedrule]=='')
$DB_site->query("ALTER TABLE " .  TABLE_PREFIX . "user DROP agreedrule");
It should be a check for all columns in the table and a search vor "agreedrule" column. Sorry i am not familiar with mysql syntax for this
Reply With Quote
  #44  
Old 07-11-2005, 07:29 PM
Wetcanvas! Wetcanvas! is offline
 
Join Date: Jul 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We have been up for a while and need to change our user agreement for existing users. We need all existing users who log in to re-read and agree to the new rules of the site before they can continue to do anything. Can this hack be used for this?
Reply With Quote
  #45  
Old 07-12-2005, 07:00 AM
Milchi Milchi is offline
 
Join Date: Jun 2005
Location: Nueremberg
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wetcanvas!
We have been up for a while and need to change our user agreement for existing users. We need all existing users who log in to re-read and agree to the new rules of the site before they can continue to do anything. Can this hack be used for this?
This hack isn't designed for "Forum Rules" it's for rules specific to some of your Forums.

But use search u will find something u could use
Reply With Quote
  #46  
Old 07-14-2005, 12:57 AM
dai-kun dai-kun is offline
 
Join Date: Jul 2005
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Topics are in ABC Order This forum is for Hosted LINKS only and also, it can be for other services similar to this. THIS IS HOW IT WORKS The Subject of the post MUST contain only 1 (one) subject.
This is how the rules show up.
I want it to look like this though from the screen shots:

Quote:
Topics are in ABC order.

This forum is for Hosted LINKS only and also, it can be for other services similar to this.

THIS IS HOW IT WORKS The Subject of the post MUST contain only 1 (one) subject
Im using another theme, can that be a problem?
Reply With Quote
  #47  
Old 07-14-2005, 06:06 PM
Milchi Milchi is offline
 
Join Date: Jun 2005
Location: Nueremberg
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dai-kun
This is how the rules show up.
I want it to look like this though from the screen shots:



Im using another theme, can that be a problem?
hm ... insert "< br/ >" into the rules? (without spaces)

You have to enter them in HTML Code
Reply With Quote
  #48  
Old 07-20-2005, 09:07 AM
csidlernet csidlernet is offline
 
Join Date: Apr 2003
Location: sydney
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thankyou very much
Reply With Quote
  #49  
Old 08-06-2005, 08:15 AM
Baylyns Baylyns is offline
 
Join Date: Mar 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, I installed this hack which functions very well, a thing nevertheless it is that maintaining when the profile of the members is looked at I have a white page and thus more infos. solution? Thank you
Reply With Quote
  #50  
Old 08-06-2005, 08:31 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you planning to upgrade to 3.5 RC2?
Reply With Quote
  #51  
Old 08-06-2005, 09:35 AM
uae's Avatar
uae uae is offline
 
Join Date: Jul 2002
Location: Irvine, California
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Snake
Are you planning to upgrade to 3.5 RC2?
Sure.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 05:32 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05201 seconds
  • Memory Usage 2,318KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete