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!

shadiguy1 03-08-2005 03:04 PM

install flawlessley on Vb 3.0.3 Patche to 07

SnowBot 03-08-2005 03:07 PM

Great hack :)

SnowBot 03-09-2005 12:05 AM

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?

uae 03-09-2005 06:03 AM

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!

xtreme-mobile 03-09-2005 04:57 PM

does this work onn vb 3.0.6?

cheers

dean

SilverBoy 03-09-2005 05:40 PM

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 :p

Good Luck brother

uae 03-11-2005 04:23 PM

Quote:

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

cheers

dean

It should.

uae-style 03-12-2005 10:07 AM

exactly what im looking 4

thank u bro ;)

xtreme-mobile 03-12-2005 05:16 PM

works great cheers mate

Teegtahn 03-12-2005 11:26 PM

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*

red_baron2000 04-08-2005 09:32 AM

excellent hack..thank you very much :)

xtreme-mobile 04-09-2005 07:48 AM

can the hack be set up so...

people have to agreee to the set of rules when they click to download an attachement or if not as soon they enter a particular forum for the first time?

many thanks

dean

xtreme-mobile 04-10-2005 12:02 PM

any one?

Bolas 04-10-2005 12:42 PM

I modified the hack to be active in all action in a specified forum (and not only when a thread is created).

If UAE agreed me I can send him my modification to his hack.

xtreme-mobile 04-10-2005 12:45 PM

that would be good :)

uae 04-11-2005 07:02 AM

Quote:

Originally Posted by Bolas
I modified the hack to be active in all action in a specified forum (and not only when a thread is created).

If UAE agreed me I can send him my modification to his hack.

Hey Bolas,

Sure, you can go ahead and post your modification in a new reply here, and I will link the post as an add-on to the hack in the first post.

TTG 04-11-2005 01:09 PM

Quote:

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

cheers

dean

Works with no problems on 3.0.6

Thanks for a really useful hack.

Clicked install

Bolas 04-11-2005 06:06 PM

Quote:

Originally Posted by uae
Hey Bolas,

Sure, you can go ahead and post your modification in a new reply here, and I will link the post as an add-on to the hack in the first post.

I will post it tonight, after a cinema, two beers and some girls http://www.wellage.net/images/smilies/yikes10.gif

Bolas 04-12-2005 12:21 AM

2 addon released

rules on selected forum (showthread, forumdisplay, showpost, etc..):
https://vborg.vbsupport.ru/showthread.php?t=79798

rules applied on child forum:
https://vborg.vbsupport.ru/showthread.php?t=79892



bye! https://vborg.vbsupport.ru/

akanevsky 04-13-2005 09:12 PM

Excellent hack!
/me clicks install

spaghie 05-02-2005 08:32 PM

Installed on 3.0.7 smoothly. Clicked install! great hack.

webmastershome 05-20-2005 08:13 PM

hi there,

i install this hack, and add the rule url but it's not show in memberinfo area

http://www.webmastershome.com

Regards
webmastershome

Snitz 05-22-2005 08:06 PM

so this hack will replace the agreement rules when a new users tries to register which is great
but will it add a hack page too ?

uae 05-23-2005 03:38 AM

Quote:

Originally Posted by webmastershome
hi there,
i install this hack, and add the rule url but it's not show in memberinfo area

Make sure that you have applied all the modifications correct, Then go to the ADMINCP, add a new rule with "a link", select the desired forum, and make sure that users agree to that rule, then check their profile page.

uae 05-23-2005 03:43 AM

Quote:

Originally Posted by Snitz
so this hack will replace the agreement rules when a new users tries to register which is great
but will it add a hack page too ?

Nope, this hack has nothing to do with the forum registration agreement.

Milchi 06-27-2005 04:35 PM

First, sorry for my bad english, German user u know :-)

Ok first, GREAT Hack ! Congrats for this

To my suggestion:

Would it be possible to do a "accepted rule reset" if i change a rule? We have "trade forums" and change sometimes the rules so it would be nice, if they change, to automatically have the users to re-accept them.

Milchi 07-02-2005 04:34 PM

And another Question coming. Is it possible to add One (1) rule for multiple forums which are NOT in the same Category ?

slim cutty 07-11-2005 06:58 AM

The hack was working perfectly until I noticed it missing in my admincp...
I could not get it back so I did an uninstall and I tried to upload a fresh hack again. We'll for some reason it continues to show that the hack is still installed eventhough I uninstalled the thing. Back and forth back and forth...still the install file will not let me upload the needed queries/tables and templates..

Now I am receiving Database Errors when ever I try to enter a forum... Help Please...

thanks

slim cutty 07-11-2005 07:50 AM

okay, I succeeded in uninstalling the hack entirely... now my problem is getting the hack back up again...

this message is what I continue to receive in admincp...

Welcome to the installer of Rules and User Agreement Hack for vBulletin 3.x.x by WwW.UAEWEB.CoM

Step 1: Insert Hack Phrases
Step 2: Insert Hack Templates
Step 3: Run Queries


Rules and User Agreement Hack already Installed. Plz Uninstall first!

ALREADY UNINSTALLED!@!#$!?

Milchi 07-11-2005 12:27 PM

Drop the "agreedrule" column from your user table. This should make u able to install it again.


All times are GMT. The time now is 07:51 PM.

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.01375 seconds
  • Memory Usage 1,819KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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