The Guests Only BBCode allows you to post content ONLY visible for guests.
Inspired by Cabot
BBCode usage:
Code: Select all
[guests]{TEXT}[/guests]
Code: Select all
<xsl:choose>
<xsl:when test="$S_USER_LOGGED_IN">
</xsl:when>
<xsl:otherwise>
<span style="color:red;font-weight:bold;">{TEXT}</span>
</xsl:otherwise>
</xsl:choose>
Code: Select all
This BBCode allows you to display content for guests only: [guests]Guest only content[/guests]