vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Rules and User Agreement Hack (https://vborg.vbsupport.ru/showthread.php?t=77666)

uae 03-06-2005 10:00 PM

Rules and User Agreement Hack
 
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.

wwesn1 03-07-2005 05:39 PM

can you make them agree to the rules before they can even enter the section of the forum?

uae 03-07-2005 05:45 PM

Quote:

Originally Posted by wwesn1
can you make them agree to the rules before they can even enter the section of the forum?

No, they have got to click on the New Thread Button.

Basicly, it's Posting New Thread Agreement, not Viewing fourm Agreement.

Allan 03-07-2005 05:51 PM

Nice hack :)

Red Blaze 03-07-2005 07:00 PM

Sweet, I like this one. :) I'll install this ASAP.

ChrisBaktis 03-07-2005 07:22 PM

I will assume that once a member accepts the rules they will no longer see them. Correct?

Polo 03-07-2005 08:16 PM

Nice :) thanks for sharing ;)

uae 03-08-2005 02:08 AM

Quote:

Originally Posted by ChrisBaktis
I will assume that once a member accepts the rules they will no longer see them. Correct?

That is correct :smoke:

Alien 03-08-2005 10:58 AM

Absolutely killer! I'll give this a whirl on one of my sites!

yoyoyoyo 03-08-2005 11:46 AM

Thanks!


All times are GMT. The time now is 03:09 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01092 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete