Hi,
I`d like to show some information in the postbit template if the poster is a member of the additional usergroup 45 and has chosen to display the title of group 45 in his profile.
works but ignores the displaygroupid-setting. The information is displayed as soon as group 45 is selected as additional group no matter what is selected in the "display usergroup" select-box above.
doesn`t work at all.
Can anyone tell me how to access the displaygroupid setting of a poster in a condition?
thank you - all the best,
Sacha
I`d like to show some information in the postbit template if the poster is a member of the additional usergroup 45 and has chosen to display the title of group 45 in his profile.
Code:
<vb:if condition="is_member_of($post,45)"> member of group 45 </vb:if>
Code:
<vb:if condition="$post['displaygroupid'] == 45"> member of group 45 and displaygroupid set to 45 </vb:if>
Can anyone tell me how to access the displaygroupid setting of a poster in a condition?
thank you - all the best,
Sacha
Comment