Jump to the post that solved this thread.
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 11 Years, 7 Months ago Disable Signatures for Guests (IF statement inside templates)
#19
Solved: 11 Years, 7 Months ago
Try this:
<if in_array($GLOBALS['mybb']->user['usergroup'], array(1,7)) then>
// code for guests
</if>

For guests and banned (who cares what they see?), if it shows that error again, maybe Template Conditionals (the one I use) and PHP In Templates works different.
Jump to the post that solved this thread.


Messages In This Thread
RE: Disable Signatures for Guests (IF statement inside templates) - by Omar G. - 2011-09-02, 04:56 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)