Hello.
I have a condition in my postbit-template (vB) that gives the posters a .gif title if they are a member of either usergroup 21 or 22. This works like a charm. However, I'm having problems making it behave like it should in Project Tools. Here is the code:
The .gif refused to show up when adding the code to template pt_issue and pt_issuenotebit_user, but I solved it by changing "$post, xx" to "$issue, xx" like this:
This seems to work for the original issue/post/report in PT, however - it seems to mess up on any comments/posts made to the original post (displays the incorrect gif on members). I think I may have to change "$issue, xx" in pt_issuenotebit_user to something else but I'm not sure to what.
Any help is much appreciated.
I have a condition in my postbit-template (vB) that gives the posters a .gif title if they are a member of either usergroup 21 or 22. This works like a charm. However, I'm having problems making it behave like it should in Project Tools. Here is the code:
Code:
<if condition="is_member_of($post, 21)"><div class="smallfont"><img src="images/forumstaff.gif" alt="Forum Staff" /></div></if> <if condition="is_member_of($post, 22)"><div class="smallfont"><img src="images/developer.gif" alt="Developer" /></div></if>
Code:
<if condition="is_member_of($issue, 21)"><div class="smallfont"><img src="images/forumstaff.gif" alt="Forum Staff" /></div></if> <if condition="is_member_of($issue, 22)"><div class="smallfont"><img src="images/developer.gif" alt="Developer" /></div></if>
Any help is much appreciated.
Comment