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
  #12  
Old 03-08-2005, 03:04 PM
shadiguy1 shadiguy1 is offline
 
Join Date: Jul 2004
Location: Delco,Pa
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

install flawlessley on Vb 3.0.3 Patche to 07
Reply With Quote
  #13  
Old 03-08-2005, 03:07 PM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack
Reply With Quote
  #14  
Old 03-09-2005, 12:05 AM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK installed and working as far as i can tell but can we make it so it goes for a reply also and not just a new thread?

Also i have just noticed my agreed rules dont show up in the members profile page, any idea why?
Reply With Quote
  #15  
Old 03-09-2005, 06:03 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 SnowBot
OK installed and working as far as i can tell but can we make it so it goes for a reply also and not just a new thread?

Also i have just noticed my agreed rules dont show up in the members profile page, any idea why?
Adding the Agreement page to the new reply link will need many modifications in files and templates, since there is a quick reply and normal reply page, and I didn't want to do that.
but maybe in a future release

I didn't want to have all agreed rules listed in member profile page by default unless you have included a url with that rule when you created it, cos I know there are many administrator "like myself" are going to use this hack for some other purpose, maybe an announcemnt or HowTo's, or just displaying a warning, ..etc, message to someone befor allowing them to post, and I don't think I want to list these "not reall rules" as an agreed rules in that member's profile page.

you can go around it by adding a url there, maybe your website url!
Reply With Quote
  #16  
Old 03-09-2005, 04:57 PM
xtreme-mobile xtreme-mobile is offline
 
Join Date: Jul 2004
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this work onn vb 3.0.6?

cheers

dean
Reply With Quote
  #17  
Old 03-09-2005, 05:40 PM
SilverBoy SilverBoy is offline
 
Join Date: Feb 2002
Location: Libya
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alsalam Alikum

nice work borther

I will install it in my site Inshallah

By the way I have some quesions

I wana use this hack, but want to let my users to see the main rules always maybe I will add a link to it in nave bar, so can I link to a specific rule directly? maybe it sounds like strange, but I really didn't test it yet, so maybe I'll found it stubid question

Good Luck brother
Reply With Quote
  #18  
Old 03-11-2005, 04:23 PM
uae's Avatar
uae uae is offline
 
Join Date: Jul 2002
Location: Irvine, California
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xtreme-mobile
does this work onn vb 3.0.6?

cheers

dean
It should.
Reply With Quote
  #19  
Old 03-12-2005, 10:07 AM
uae-style uae-style is offline
 
Join Date: Jan 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

exactly what im looking 4

thank u bro
Reply With Quote
  #20  
Old 03-12-2005, 05:16 PM
xtreme-mobile xtreme-mobile is offline
 
Join Date: Jul 2004
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great cheers mate
Reply With Quote
  #21  
Old 03-12-2005, 11:26 PM
Teegtahn Teegtahn is offline
 
Join Date: Feb 2005
Location: Toronto, ON
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to see (in a future version) a link in the profile that pops up a window that reads out the rule they have agreed to... Javascript if it could be, to avoid most popup blockers.

As well as the evaluation of BB code (I'm sure its simple, i will look into it myself), as i use BBcode as a replacement for HTML on my forums. (BBCode shortcuts are simpler).

Oh, and I just installed it on 3.0.7 - Works like a dream.

Other then that... *clicks install*
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 02:34 PM.


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.10260 seconds
  • Memory Usage 2,306KB
  • 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
  • (2)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
  • (3)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