The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
That did it!
Interestingly enough the other plugin works only if its at global_setup_complete instead of parse_templates. Good to know. Thank you so much kh99! You're always so patient with me. |
#22
|
|||
|
|||
kh99,
Thank you for the suggestion. I modified the forum password phrase to be a warning message and have them type in 'agree' in the password box to enter the forum. However, this way currently works, but if I want to set up a warning message for a different forum, how could I do that, then? In the current warning message, I have the warning + the rules of the area, if I set a password for another forum, then they will see the warning message that is only supposed to be for that certain forum. Thanks. |
#23
|
|||
|
|||
Hmm...you could try this: create a plugin using hook error_fetch and code something like:
Code:
if (!is_array($args[0]) AND $args[0] == 'forumpasswordmissing' AND !$vbulletin->GPC['ajax']) { global $forumid; switch ($forumid) { case 1: case 2: $args[0] = 'forumrules_1_2'; break; case 3: $args[0] = 'forumrules_3'; break; // etc } } Then create the new phrases you need (by copying the original forumpasswordmissing and editing it). |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|