![]() |
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. |
I aint sure either how to change the 2 phrases to Global
|
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 |
There is a sticky thread in the how-to and tutorials forum about debug mode.
|
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:
|
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.
|
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) { Code:
if (is_null($vbulletin->userinfo['contracts']) or $vbulletin->userinfo['contracts']=="") { 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 |
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 Code:
$vbphrase[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 |
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] |
Pleeeeeeeeeeeease tell me this hack is 3.6.x compatible? Please..
|
Any chance this will be updated???
It is REALLY usefull. MrFixit:confused: |
Quote:
|
what do i do if i want them to sign a contract before reading an indivitual forum or thread
|
I would love to see this update to work on 3.6.8 .
|
This mod is JUST what I need!!!
|
Does this work on 3.6.8?
|
I could use a addon like this too for 3.6.8
|
for some reason, the text next to the check box is missing. anyone know why?
|
anyone?
|
hellllllllllllllo!!!!
|
would be nice if this one came for vb 3.6.8 patchlevel2
|
Quote:
Quote:
Quote:
Quote:
|
its been about a month. lol. anyone wanna answer my question?
|
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?
|
Quote:
Jim |
Quote:
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|