Hide content to guests (and bots)
-
Description
-
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
-
Last updated Mon Jun 27, 2022 6:28 am
-
Rating
(3)
-
Categories Misc
Public performance attribution has been waived.
Settings
- BBCode Usage: Select all
[members]{TEXT}[/members]
- HTML Replacement: 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>
- Help Line: Select all
This BBCode allows you to hide content to guests and bots: [members]Members only content[/members]