![]() |
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 |
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> |
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. |
That's not within the scope of standard features, so it will require some modifications to make it possible.
|
All times are GMT. The time now is 11:18 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|