Hi sir, how can i hide QUOTE BB Code for unregister user (like your forum).
Thanks
Foto:
Thanks
Foto:
<vb:if condition="is_member_of($user, array(1, 3, 4)">
You are not allowed to view this
<vb:else />
(display content here)
</vb:if>
![]() ![]() |
My Amazon Affiliate Link Fast vBulletin VPS Host: This site is hosted by IONOS |
<div class="bbcode_container">
<div class="bbcode_quote">
<div class="quote_container">
<div class="bbcode_quote_container b-icon b-icon__ldquo-l--gray"></div>
<vb:if condition="$show['username']">
<div class="bbcode_postedby">
{vb:rawphrase originally_posted_by_x, {vb:raw username}}
<vb:if condition="!empty($postid)">
{vb:rawdata post, node, getQuoteFullContent, {vb:raw postid}}
<vb:if condition="!empty($post) AND empty($post['errors'])">
{vb:set post, {vb:raw post[$postid]}}
<vb:comment>If we were using an old id or the nodeid with prefix, we want to switch to nodeid</vb:comment>
{vb:set postid, {vb:raw post.nodeid}}
<vb:if condition="$post['contenttypeclass'] == 'PrivateMessage'">
{vb:set messageInfo.action, 'view'}
{vb:set messageInfo.messageid, {vb:raw post.starter}}
{vb:set messageInfo.innerPost, {vb:raw postid}}
{vb:set qs.folderid, {vb:raw $_GET.folderid}}
<a href="{vb:url 'privatemessage', {vb:raw messageInfo}, {vb:raw qs}}" rel="nofollow" title="{vb:rawphrase view_post}" class="b-icon b-icon__double-arrow-right--blue animate-scroll">{vb:rawphrase view_post}</a>
<vb:else />
{vb:set starterPost.nodeid, {vb:raw post.starter}}
{vb:set starterPost.innerPost, {vb:raw postid}}
<vb:if condition="$_GET['view'] == 'stream'">
{vb:set qs.view, 'stream'}
</vb:if>
<vb:if condition="$starterPost">
<a href="{vb:url {vb:raw post.starterroute}, {vb:raw starterPost}, {vb:raw qs}}" rel="nofollow" title="{vb:rawphrase view_post}" class="b-icon b-icon__double-arrow-right--blue animate-scroll">{vb:rawphrase view_post}</a>
</vb:if>
</vb:if>
</vb:if>
</vb:if>
</div>
<div class="message">{vb:raw message}</div>
<vb:else />
{vb:raw message}
</vb:if>
</div>
</div>
</div>
![]() ![]() |
My Amazon Affiliate Link Fast vBulletin VPS Host: This site is hosted by IONOS |

Comment