The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Modifying phrasegroup array from plug-in
I'm working on a product that has a custom phrase group and will present menu items in the User CP menu using this phrase group. The phrase group isn't loaded into the global phrase group so I would like to cause it to be added to the phrasegroups used for UserCP using a plugin. In the usercp.php code phrasegroups are loaded as:
PHP Code:
PHP Code:
PHP Code:
I've also tried the following without success: PHP Code:
Thanks for any assistance you can provide! Mark |
#2
|
||||
|
||||
Any luck with this? Im having the same problems...
|
#3
|
||||
|
||||
Phrases are built pretty early in global.php, the only hook I think you could use is init_startup.
|
#4
|
||||
|
||||
Quote:
|
#5
|
||||
|
||||
That works great Paul, thanks.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|