In Invision Power Board 2 you could hide text in their templates by preventing it from showing to logged in users. The code looked like this:
<if="$this->ipsclass->member['id'] == 0">
Hello, guest
</if>
In IPB3 templates this didn't work at all. Instead, to limit your code to show only to guests and not to registered users use the following:
<if test="$this->memberData['member_id'] == 0">
Hello, guest
</if>
<if="$this->ipsclass->member['id'] == 0">
Hello, guest
</if>
In IPB3 templates this didn't work at all. Instead, to limit your code to show only to guests and not to registered users use the following:
<if test="$this->memberData['member_id'] == 0">
Hello, guest
</if>