View Full Version : How 'global' is $prepared[] ?
I've seen stuff like $prepared[musername] which would output...the user's name in a template. (I think I noticed it in the profile templates, but may be elsewhere).
I'm just wondering if anyone knows offhand if this should work in all the templates, or if its going to be specific to certain ones.
Zachery
03-28-2014, 01:00 AM
I can't think of anywhere I've even seen $prepared[musername] in the templates before.
But, you can try, it'll work or it wont :)
Its in MEMBERINFO for sure...
along with a bunch of other $prepared[] stuff.
ozzy47
03-28-2014, 01:50 AM
It will only work in any of the member info templates, most likely these:
MEMBERINFO
memberinfo_block_aboutme
memberinfo_block_contactinfo
memberinfo_block_friends
memberinfo_block_friends_mini
memberinfo_block_groups
memberinfo_block_ministats
memberinfo_block_profilepicture
memberinfo_block_statistics
memberinfo_block_visitormessaging
ozzy47
03-28-2014, 02:36 AM
Not a problem. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.