The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
subscription in postbit or memberlists?
About 150 of my members have paid through How do I put a paid subscription image or text in the postbit and or in the member list? I can't recall or find the info.
The user group id is 10, how do I add that in? Thanks! |
#2
|
||||
|
||||
Open your postbit or postbit_legacy template and find:
HTML Code:
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> HTML Code:
<if condition="$bbuserinfo[usergroupid] == 'id'"><div class="smallfont">Paid Subscription</div></if> |
#3
|
|||
|
|||
Thank you!!!
|
#4
|
||||
|
||||
That should be $post['usergroupid'] not $bbuserinfo.
|
#5
|
|||
|
|||
oh dear, it won't work. The user group id is 10, how do I add that in?
|
#6
|
||||
|
||||
Code:
<if condition="$post['usergroupid'] == 10"> |
#7
|
||||
|
||||
I am so sorry, I confused it with the current user.
|
#8
|
|||
|
|||
i did this and nothing will show up.
--------------- Added at 14:51 --------------- actually it only works for "primary user ranks" not secondary. is there a way to fix this? |
#9
|
||||
|
||||
Code:
<if condition="is_member_of($post, 10)"> |
#10
|
|||
|
|||
add that after the other code? or replace this? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|