The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to include additional phrasegroups in vBulletin 4.x modifications?
How to include additional phrasegroups in vBulletin 4.x modifications?
In vBulletin 3.8.* it was, for example: Code:
<plugin active="1" executionorder="4"> <title>Include Phrase Groups</title> <hookname>init_startup</hookname> <phpcode><![CDATA[ if (THIS_SCRIPT == 'showthread') { $phrasegroups[] = 'threadmanage'; } ]]></phpcode> What had changed in vBulletin 4.0.* so that method doesn't work any more? And what is the new way to include additional phrasegroups in vBulletin 4.0.*? |
#2
|
||||
|
||||
Hello, try this:
Code:
$GLOBALS['phrasegroups'][] = 'yourphrasegroup'; |
#3
|
||||
|
||||
yes, it works! :up:
Thank You very much! :up: |
#4
|
||||
|
||||
CarlitoBrigante, thanks!
|
#5
|
||||
|
||||
You are welcome!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|