MyBB Community Forums

Full Version: Hide PHP Condition on Registration Page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi I use the PHP Conditionals plugin to create a "guest, why register" block on my front page and I don't want it to appear on the registration page (member.php?action=register).

<if $GLOBALS['mybb']->user['usergroup'] == 1 then>
...
</if>

What can I do to hide it on the registration page? I was thinking it may be possible from the if line.