Announcement

Collapse
No announcement yet.

infraction in postbit

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

  • infraction in postbit

    how to display user Infraction in postbit and make it visible only for Admin, Mods and user himself.

  • #2
    find the code in the postbit/postbit_leg and add the appropriate conditionals.

    If you want to show a link only to members use this:

    Code:
    <if condition="$show['member']">

    To make the link only visible to certain
    usergroups use this:

    Code:
    <if condition="is_member_of($bbuserinfo, X, Y, Z)">

    and add </if> at the end of each.

    Comment

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