vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Require Users to Sign a Contract Before Posting in an Individual Forum (https://vborg.vbsupport.ru/showthread.php?t=91867)

shoot1st 03-22-2006 07:22 AM

Nice work!
The hack works well other than "to_proceed_must_agree and read_agree_abide_by_rules" phrase isn't listed at all. I added the phrase manually and it still doesn't show up next to the checkbox.

Any thoughts here? I am a bit of a VB noob, so the answer is not so obvious to me.

Thanks in advance to any who might point me in the right direction.

stutefc 03-22-2006 09:23 AM

I aint sure either how to change the 2 phrases to Global

shoot1st 03-22-2006 05:41 PM

OK, found the right phrases but.........
"To do this, you must be in DEBUG mode." <--How do I do this? I am not sure if my host has PHP debug on or installed.

Thanks

amykhar 03-22-2006 05:44 PM

There is a sticky thread in the how-to and tutorials forum about debug mode.

shoot1st 03-22-2006 11:08 PM

Thanks, will have a look. Looked around before I asked in here but couldn't seem to find a thread on the topic. Thank again:cool:

coRtALoS 09-10-2006 07:19 PM

I installed everything correctly I believe, however, I changed the hook location from posts to forum view (Due to the quick reply error). I don't see any sign of a ticket system. Everything else works correctly though.

whodah 10-25-2006 05:18 PM

hi!

we use the same contract text on all of our forums.

so we wanted it so that if they agree to the contract once, they can post on any forum requiring a contract. this is a simple one line fix in two hooks.

modify hook: newreply_start and newthread_start
near the bottom, replace:
Code:

if (!$contractsigned) {
with:
Code:

  if (is_null($vbulletin->userinfo['contracts']) or $vbulletin->userinfo['contracts']=="") {
basically, once they agree to any contract, that userinfo['contracts'] field is populated (with that forum number). so - this simply checks to see if userinfo['contracts'] is populated w/ *anything*. if so, the site-wide contract has been fullfilled.

you still have to enable the contract on each and every forum though...

you could make this a bit more effecient yet, but here's a KISS method that doesn't cause too much overhead by ommitting unnecessary code when not checking for specific forum contract acceptances.

hope someone finds this usefull! :D

whodah 10-25-2006 05:41 PM

secondly, they wanted the same contracttext to show up for all forums. i.e. they did not want to copy/paste the contract text into each and every one of their 20 forums and then have to do it again upon a text change.

we did this by another 1-line edit and 1 phrase creation.

create a phrase: master_contract_text
put into it whatever rules you want or whatever verbage you want displayed.

edit template: forum_contract

replace:
Code:

$rules
with:
Code:

$vbphrase[master_contract_text]
now no matter what each forum's individual contract rules are set to, it will display the text in master_contract_text.

it should be noted that you could skip the phrase setup and just replace $rules w/ the verbage you want as well. but you won't have to hunt around for the text in the template each time you want to make a text change if you do it via creating a phrase.

lastly, thank you Amy for a nifty plugin! :D :D :D

Greek Wizard 11-01-2006 12:10 PM

Does anyone know if there is something similar to this for 3.6?

[edit]Never mind found this one that seems to be working:

https://vborg.vbsupport.ru/showthread.php?t=97699[/edit]

Eagle Creek 02-11-2007 06:28 PM

Pleeeeeeeeeeeease tell me this hack is 3.6.x compatible? Please..

OregonGreenFree 08-31-2007 11:39 PM

Any chance this will be updated???
It is REALLY usefull.
MrFixit
:confused:

Bubble #5 08-31-2007 11:46 PM

Quote:

Originally Posted by OregonGreenFree (Post 1329831)
Any chance this will be updated???
It is REALLY usefull.
:confused:

I think another author has a better working version, and YES, it is great to have for forums where you need to control the crowd.

mystic10 11-12-2007 09:04 PM

what do i do if i want them to sign a contract before reading an indivitual forum or thread

dtv100 11-14-2007 07:42 AM

I would love to see this update to work on 3.6.8 .

Wifey 11-16-2007 06:46 PM

This mod is JUST what I need!!!

PinkDaisy 11-17-2007 04:06 PM

Does this work on 3.6.8?

redspider 11-18-2007 12:07 AM

I could use a addon like this too for 3.6.8

dplevy 01-06-2008 10:57 PM

for some reason, the text next to the check box is missing. anyone know why?

dplevy 01-07-2008 10:27 PM

anyone?

dplevy 01-23-2008 08:34 PM

hellllllllllllllo!!!!

gbox master 01-29-2008 01:31 PM

would be nice if this one came for vb 3.6.8 patchlevel2

Bubble #5 01-29-2008 04:52 PM

Quote:

Originally Posted by dtv100 (Post 1382234)
I would love to see this update to work on 3.6.8 .

Quote:

Originally Posted by ashkarita (Post 1383916)
This mod is JUST what I need!!!

Quote:

Originally Posted by redspider (Post 1384685)
I could use a addon like this too for 3.6.8

Quote:

Originally Posted by gbox master (Post 1431669)
would be nice if this one came for vb 3.6.8 patchlevel2

Amy, your public awaits you. We understand that you are busy, but this would be an 'upgrade' and not a hack developed from scratch. If it's at all possible, please try to update this hack. Many people love it and could honestly make good use of it. Thanks :)

dplevy 01-29-2008 09:59 PM

its been about a month. lol. anyone wanna answer my question?

dplevy 02-05-2008 10:55 PM

wow. im so shocked by how helpful everyone is. in post 98, one month ago, i asked a question. still waiting for an answer. can anyone help me here or am i just pissing in the wind?

jim6763nva 02-17-2008 10:40 PM

Quote:

Originally Posted by dplevy (Post 1437077)
wow. im so shocked by how helpful everyone is. in post 98, one month ago, i asked a question. still waiting for an answer. can anyone help me here or am i just pissing in the wind?

Sounds like you're pissing in the wind.. LOL :) I wouldn't mind having something like this for 3.6.8 as well. :)

Jim

joe1989 05-02-2008 03:30 AM

Quote:

Originally Posted by jim6763nva
I wouldn't mind having something like this for 3.6.8 as well.

Agreed. Someone should make something like this for 3.7.0, since that new version has finally been released!!


All times are GMT. The time now is 07:13 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.01380 seconds
  • Memory Usage 1,767KB
  • 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
  • (4)bbcode_code_printable
  • (7)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
  • (26)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