Show Phrase Variable Names
Sometimes it might be handy to see phrase variable names instead of text on frontend pages - this little plug-in does that for you (with some exceptions like error/redirect messages and dynamically loaded phrasegroups).
style_fetch PHP Code:
|
Any way how to do this on vB 4.x ?
Thx |
Try using hook [S]global_bootstrap_complete[/S] (use style_fetch, see below) and add:
Code:
global $vbulletin, $vbphrase; to the beginning of the code. |
THANKS!!! It's working now ! :]
EDIT: With that hook you suggested not all of the phrase varnames are shown, anyway style_fetch hook will do the trick on th ewhole forum. So, to have all info at one place ... 1] Edit config.cfg and add following line Code:
$config['Misc']['debug'] = true; Hook Location: style_fetch Code: Code:
global $vbulletin, $vbphrase; Credits to Andreas and kh99 :] |
All times are GMT. The time now is 11:25 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 | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|