Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Show Phrase Variable Names
Andreas
Join Date: Jan 2004
Posts: 6,863

Germany
by Andreas Andreas is offline 11 Jun 2009

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.

Views: 3007
Reply With Quote
Comments
  #2  
Old 11 Jun 2012, 07:02
HolyKiller HolyKiller is offline
 
Join Date: Dec 2006
Any way how to do this on vB 4.x ?

Thx
Reply With Quote
  #3  
Old 12 Jun 2012, 22:20
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
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.

Last edited by kh99; 13 Jun 2012 at 12:08.
Reply With Quote
  #4  
Old 13 Jun 2012, 10:59
HolyKiller HolyKiller is offline
 
Join Date: Dec 2006
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 :]

Last edited by HolyKiller; 13 Jun 2012 at 11:05.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:26.

Layout Options | Width: Wide Color: