vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=215930

Show Phrase Variable Names
by Andreas
11 Jun 2009 18:43

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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


HolyKiller 11 Jun 2012 08:02

Any way how to do this on vB 4.x ?

Thx

kh99 12 Jun 2012 23:20

Try using hook global_bootstrap_complete (use style_fetch, see below) and add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


to the beginning of the code.

HolyKiller 13 Jun 2012 11:59

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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2] Create new plugin
Hook Location: style_fetch
Code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Refresh forum (it can take a while)


Credits to Andreas and kh99 :]


All times are GMT. The time now is 08:07.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.