Resource icon

XF 1 Tip Hide Posts From Guests

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
10,148
Points
823

Reputation:

LQD submitted a new resource:

Hide Posts From Guests - Hide Posts From Guests And Show Custom Message For Guests

This is a simple template modification which will hide the post contents from guests and show them a message instead. Which you can alter to fit your needs.

At the message template replace all the code in there with the following code:
Code:
<xen:require css="message.css" />
<xen:require css="bb_code.css" />
<li id="{$messageId}" class="message{xen:if $message.isDeleted, ' deleted'}{xen:if '{$message.is_admin} OR {$message.is_moderator}', ' staff'}" data-author="{$message.username}">...

Read more about this resource...
 
Top