Great but needs a bit improvement. eg What if registrstions have turn off? To solve this issue modify the code in header template:
Code:
<vb:if condition="$show['registerbutton']">
..........here goes the other code that you already use.............
</vb:if>
Those who are familiars with coding they can combine the condition like:
Code:
<vb:if condition="$show['registerbutton'] AND THIS_SCRIPT != 'register'">
.....or any other condition(s)....
For those who want to hide it in mobile styles they can modify their condition like:
Code:
<vb:if condition="!IS_MOBILE_STYLE AND ..... here the other condition...">
In simple words add: !IS_MOBILE_STYLE AND before your current condition.