Announcement

Collapse
No announcement yet.

Conditional based upon the poster usergroup, not the viewer usergroup

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Conditional based upon the poster usergroup, not the viewer usergroup

    I can't say I've had a much more frustrating experience in the last few years than trying to find this conditional. Everything seems to be for the viewers usergroup, even if it states it is not. Then, of course, you have the fact conditionals changed from vB3 to 4 so won't work on your forum version. Woo... Hooo....

    Can anybody, please - for the love of everything that is holy - tell me how to form a conditional which goes into the postbit, which will show on the post depending upon the usergroup of the poster, NOT the person viewing the post.

    I used vB for years, then stopped during vB3, just came back and vB4 is confusing the hell out of me.

  • #2
    Found it. Wish I could get the hours back.

    Seems that when I found:
    <if condition="is_member_of($post, 6)">

    I should have somehow known to change it to:

    <vb:if condition="is_member_of($post, 6)">

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X