If you want to show something to somebody with less than 10 posts, what's the conditional for that?
|
Quote:
Code:
<vb:if condition="$vbulletin->userinfo['posts'] < 10"> |
Code:
<vb:if condition="!is_member_of($bbuserinfo, 11)"><strong><bold><font color="#FF6600"> Supporter</font color></bold> does that code look right? |
Quote:
Code:
<vb:if condition="!is_member_of($bbuserinfo, 11)"><span style="color:#FF6600;font-weight:bold;"> Supporter</span></vb:if> |
This works and should replace the non-working code given in the first post. Thank you Alp Ozdemir!
Quote:
|
hello! I want to show in some groups (1,2,3,4,5,6) postbit banner but don't know how to do it as this conditions are only to show TO groups but not FROM groups :( please help!
|
Quote:
Code:
<vb:if condition="is_member_of($bbuserinfo, 1,2,3,4)">Content here</vb:if> |
$bbuserinfo['userid']
or $vbulletin->userinfo['userid'] not work in vb4 :( |
Please post your whole conditional statement and associated references.
What template? What line number in that template? What version of vBulletin? There is no way we can determine anything from the data you have given us. :( |
Quote:
tbworld, here is example: http://www.rcgroups.com/forums/showt...16#post7877841 this is vb3 forum but... I want in postbit_legacy template for some groups add banner and change background as it's done in above forum So my code should look like: <div id="postbit_legacy_left"> avatar... info... <vb:if condition="IF USER WHO POST THIS FROM GROUPS: IDs OF PREMIUM GROUPS (1,2,3)">HERE COMES BANNER CODE</vb:if> </div> is it more clear now? Thanks ;) |
All times are GMT. The time now is 10:14 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|