The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm trying to use profile fields on my forum to allow users to set their own username colour.
Initially I went about changing the username markup in the Usergroup Manager using if conditions (e.g. <if condition="$bbuserinfo[fieldX]">color:#$bbuserinfo[fieldX]</if>) However, this does not work as the markup is ran through PHP before it reaches the forum hence why it doesnt work. I therefore tried to carry out the same if condition but in templates, however, it becomes a problem on templates such as forumhome as I cannot use $bbuserinfo[musername] (as this will only display the currently logged in users markup) or $post[musername] (as only works in postbit templates). Therefore I am completely zonked on how to go about doing this. I'm posting on here to see if anyone knows of any mods/template edits that are already out there that will help me do this? Or coding advice if possible? Much appreciated. |
#2
|
|||
|
|||
![]()
Somethin similar was discussed in this thread: https://vborg.vbsupport.ru/showthread.php?t=316399
|
#3
|
|||
|
|||
![]()
Thank you so much for your help, kh99. This is exactly what I needed.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|