Log in

View Full Version : postbit info for 'certain' usergroup only


Aeolian
12-30-2006, 09:33 PM
Hello all!!!

Recently i added 2 extra profile fields in my forum, though the main idea was to make it available to "special" usergroup but most of the members did fill in those fields.

So now i wish to display these fields in postbit BUT ONLY for the SPECIAL usergroup.

And now i would appreciate if someone can enlighten me with the if condition i would use in the postbit.


Thanks in advance...

Happy New Year.

Nudda
12-30-2006, 10:41 PM
try this

<if condition="is_member_of($post, usergroup#)"><if condition="$post['field#']"><div>$vbphrase[customphraseofcustomfield]: $post[field#]</div></if></if>

$vbphrase[customphraseofcustomfield] = create a new custom phrase of what the title will be, or just replace it with the title itself

Aeolian
12-31-2006, 04:12 AM
many THANKS!!

u r may hero!