![]() |
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 |
Any luck with this? Im having the same problems...
|
Phrases are built pretty early in global.php, the only hook I think you could use is init_startup.
|
Quote:
|
Quote:
|
All times are GMT. The time now is 01:11 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:
|