The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Anyone know what the correct variable for a user's profile field?
For instance, I can get $userinfo[username] or $userinfo[userid] to work just fine but what is the $userinfo for a particular profile field? I've tried $userinfo[profilefieldid1] and $userinfo[field1] I'm not looking for $post[field1] or $bbuserinfo[field1] but the variable that goes with $userinfo Thanks for any help. |
#2
|
|||
|
|||
![]()
Bump... i am looking for this too.. I was given $userinfo['fieldx'] but it is not working either,
|
#3
|
||||
|
||||
![]()
Depends on the location you want to use this.
For template MEMBERINFO for example it should be $userinfo[fieldx]. |
#4
|
|||
|
|||
![]()
How about show groups?
More specificaly showgroups_usergroupbit |
#5
|
||||
|
||||
![]()
For Template showgroups_usergroupbit it is most likely $user['fieldx']
|
#6
|
|||
|
|||
![]()
That doesn;t work either LOL (tried it) I thought of that too, but it does the same thing. Leaves it all blank.
As it currently stands I have it as HTML Code:
<if condition="$user['field6'] == '2'"> <img src="/forums/afterdark/misc/aadiv.gif" alt="Americas Army" /> </if> <if condition="$user['field6'] == '1'"> <img src="/forums/afterdark/misc/czdiv.gif" alt="Condition Zero" /> </if> <if condition="$user['field6']== '3'"> <img src="/forums/afterdark/misc/czdiv.gif" alt="Condition Zero" /><img src="/forums/afterdark/misc/aadiv.gif" alt="Americas Army" /> </if> <if condition="$user['field6'] == ''"> </if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|