The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#3
|
|||
|
|||
![]()
Thanks for the reply, appreciate it!
So, in the template I would be using: {vb:raw $visiblestate_words[$steam_info['communityvisibilitystate']]} So I assume, in the php code: PHP Code:
I didn't include: PHP Code:
PHP Code:
if I print_r the $visiblestate_words[$steam_info['communityvisibilitystate']] code, it's working properly (shows green public at the top).. just need to find a way to add this into the template itself. EDIT: If you could give a full example in both template & PHP that work together, would be helpful. I've tried different methods and combinations, can't get it to work. Merely need something that finds template variable made in PHP that functions to search and replace.. that's about it. --------------- Added [DATE]1437205236[/DATE] at [TIME]1437205236[/TIME] --------------- To make it 'simple', as I really need some help.. I have an existing variable $steam_info['communityvisibilitystate'] that I use within templates. which gives either 1,2, or 3 as a result. I merely and simply need an array to replace 1, 2, or 3 with something else.. that's it. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|