option set to yes
GUEST and ADMIN view
FORUM HOME
REGISTER NOW
option set to no
GUEST view
FORUM HOME
REGISTER NOW
ADMIN view
none
registered members will never see it
--------------- Added [DATE]1456516446[/DATE] at [TIME]1456516446[/TIME] ---------------
Code:
<if condition="$show['registerbutton'] OR ($vboptions[someOption] == 1 AND $show['admin'])">
im not seeing the missing )
but the code would be
Code:
<if condition="$show['registerbutton'] OR ($vboptions[someOption] == 1 AND $show['admin'])">
<DIV> BUTTON</DIV>
</if>
--------------- Added [DATE]1456516692[/DATE] at [TIME]1456516692[/TIME] ---------------
i used
Code:
<if condition="$show['registerbutton'] OR ($vboptions[someOption] == 1 OR ($vboptions[someOption] == 1 AND $show['admin']))">
but normal members can still see the content...