This is one of the good ones, therefore the repost

This BBCode allows content to be hidden from unregistered users, a message informing of the need to be registered and logged in will be displayed to guests (and bots) instead of the content.
Author: Cabot
BBCode Usage:
Code: Select all
[members]{TEXT}[/members]
Code: Select all
<xsl:choose>
<xsl:when test="$S_REGISTERED_USER">
{TEXT}
</xsl:when>
<xsl:otherwise>
<div class="rules">The board requires you to be registered and logged in to view this content.</div>
</xsl:otherwise>
</xsl:choose>
Code: Select all
This BBCode allows you to hide content to guests and bots: [members]Members only content[/members]
This board requires you to be registered and logged in to view this content.