The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Show text in postbit if user profile field is enabled?
Hi,
I have a problem. I want to show a small text in the postbit if the user of this post has enabled a radio button based user profile field. For example: I have an additional profile field: Show my secondary usergroup: yes/no Then the postbit should show a small text, let's say "Premium Member", below the username. How can I show this text based on the settings every user made in his profile. Thanks in advance for any help. rgds, Roland |
#2
|
|||
|
|||
Pop this in your postbit where you want it to show
Code:
<if condition="$post[field[high]X[/high]]=='yes'">stuff for yes<else />stuff for no</if> if you do not wish anything to show up if the answer is no, then use Code:
<if condition="$post[field[high]X[/high]]=='yes'">stuff for yes</if> |
#3
|
|||
|
|||
Thank you. It works. Great help!
Can you help me one more time? For this feature I need a user profile field which only users can modify who are in a specific usergroup. This field should not be visible during registration and viewing the profile of other users. Just a radio button based user profile field visible at the options page. Thanks in advance. |
#4
|
|||
|
|||
That's not within the scope of standard features, so it will require some modifications to make it possible.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|