PDA

View Full Version : Supporting member


kyokushin4life
03-05-2007, 05:54 PM
I was reading this thread about how to get "supporting member" shown in postbit.
https://vborg.vbsupport.ru/showthread.php?t=71781&highlight=supporting+member

I have a vb3.60 board and basically want to get a similar thing going like shown below.
http://www.martialartsplanet.com/forums/showpost.php?p=1104875&postcount=7
In his postbit profile, there is a picture "Elite". I believe this can be done in the same way

so I tried.

my [supporting member] group ID is 60.

In postbit, I added the code below
<if condition="$post[usergroupid] == 60">Supporting Member</if>

However, this didnt work... why?

thanks.

Gray Matter
03-05-2007, 06:03 PM
In a conditional you need to have ' ' around "usergroupid." So use this:

<if condition="$post['usergroupid'] == 60">Supporting Member</if>

kyokushin4life
03-05-2007, 06:23 PM
Gray Matter, thanks./ but it's still not showing.. you know why???

in postbit,
I added the code after
<div>
<strong>$vbphrase[posts]:</strong> $post[posts]

and "Supporting member" is not showing up..

Gray Matter
03-05-2007, 06:25 PM
I suppose you could try this:

<if condition="is_member_of($post, 60)">Supporting Member</if>

If you're still having trouble after trying the second conditional I provided, could you please paste the code surrounding the "Supporting Member" section?