The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
PHP / Variable replace numbers with letters
I have a variable named "{vb:raw $steam_info['communityvisibilitystate']}" which is setup as a tab in the members profile. (template, not php)
https://vborg.vbsupport.ru/showthread.php?t=265971 It works great, but it shows up the result '3', rather than a word. In another plugin, I'm using this: PHP Code:
To replace the 3 with a word inside the legacy template with the variable "{vb:raw post.steamicon}". Which is actually working great but the above plugin and the variable in the last line only works in posts seeing it uses $post. Would be great if someone could pinpoint me to the right direction how to make it work inside eg, profiles, tabs, etc. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|