The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
<param name="Nickname" value="$bbuserinfo[username]" />
We have our own chatcontrol and we using that to work from the vb username, How can I make it work from custom profile, eg so they enter Chatnickname : here and it uses that and not there normal nickname. This is what i have in the User Profile Field Manager Chat Nickname Single-Line Text Box Editable, Searchable, Members List field6 Sorry! I think i just posted this in the wrong forum. new to this site :nervous: |
|
#2
|
||||
|
||||
|
Umm, are you trying to show there chatname in there postbit? Or are you just trying to make it a choice in there profile?
~Curt If you want it to show up in postbit do Code:
<if condition="$post['fieldX']"> $post[fieldX] </if> Make sure you replace the bold places with what field your profile field is, and put that code anywhere you want it to show up in postbit and postbit_legacy ~Curt |
|
#3
|
|||
|
|||
|
Really just wanted to know how to work out how profile fields work so i can get info from them ( like sdk on ipb)
<param name="Nickname" value="$bbuserinfo[field5]" /> works but can u add a "if" so if it cant find the 1st it goes to <param name="Nickname" value="$bbuserinfo[username]" /> |
|
#4
|
|||
|
|||
|
Code:
<if condition="$bbuserinfo[field5]"> <param name="Nickname" value="$bbuserinfo[field5]" /> <else /> <param name="Nickname" value="$bbuserinfo[username]" /> </if> |
|
#5
|
|||
|
|||
|
Thank you so much
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|