I'm not sure if there's a post about this I do however know Brogan made a Hide Members Lists to guests but mine is for the users online.
If you're like me and want to stop guests seeing who is viewing what on your forum you can use this simple code.
Go to templates:
Appearance > Styles > Default > StyleTemplates > online_list
Replace all the code in template with:
If they are a member and logged in:
Else they are a guest they see:
Handy for me and probably for you too if you like the VBulletin idea. Easy edit for a beginner like me
If you're like me and want to stop guests seeing who is viewing what on your forum you can use this simple code.
Go to templates:
Appearance > Styles > Default > StyleTemplates > online_list
Replace all the code in template with:
Code:
[/FONT][/COLOR]<xen:if is="{$visitor.user_id}"><xen:title>{xen:phrase current_visitors}</xen:title>
<xen:description>{xen:phrase this_is_list_of_all_visitors_currently_browsing_x, 'board_title={$xenOptions.boardTitle}'}</xen:description>
<xen:require css="member_list.css" />
<xen:require css="xenforo_member_list_item.css" />
<div class="pageNavLinkGroup">
<xen:pagenav link="online" page="{$page}" perpage="{$usersPerPage}" total="{$totalOnlineUsers}" />
</div>
<ol class="section memberList">
<xen:foreach loop="$onlineUsers" value="$user">
<xen:include template="member_list_item">
<xen:set var="$extraTemplate">
<xen:if is="{$canViewIps}">
<a href="{xen:if '{$user.user_id}', {xen:link online/user-ip, $user}, {xen:link online/guest-ip, '', 'ip={$user.ip}'}}" class="OverlayTrigger ip"><span>{xen:phrase ip}</span></a>
</xen:if>
</xen:set>
<xen:set var="$contentTemplate">
<xen:if is="{$user.activityDescription}">
{$user.activityDescription}
<xen:if is="{$user.activityItemTitle}">
<em><a href="{$user.activityItemUrl}"{xen:if '{$user.activityItemPreviewUrl}', ' class="PreviewTooltip" data-previewUrl="{$user.activityItemPreviewUrl}"'}>{$user.activityItemTitle}</a></em>
</xen:if>
<xen:else />
{xen:phrase viewing_unknown_page}
</xen:if>
<xen:datetime time="$user.view_date" class="muted" />
</xen:set>
</xen:include>
</xen:foreach>
</ol>
<xen:include template="preview_tooltip" />
<div class="pageNavLinkGroup">
<xen:pagenav link="online" page="{$page}" perpage="{$usersPerPage}" total="{$totalOnlineUsers}" />
</div>
<xen:sidebar>
<div class="section">
<div class="secondaryContent statsList" id="boardStats">
<h3>{xen:phrase online_statistics}</h3>
<div class="pairsJustified">
<dl class="memberCount"><dt>{xen:phrase members_online}:</dt>
<dd>{xen:number $onlineTotals.members}</dd></dl>
<dl class="guestCount"><dt>{xen:phrase guests_online}:</dt>
<dd>{xen:number $onlineTotals.guests}</dd></dl>
<dl class="visitorCount"><dt>{xen:phrase total_visitors}:</dt>
<dd>{xen:number $onlineTotals.total}</dd></dl>
</div>
<div class="footnote">{xen:phrase totals_may_include_hidden_visitors}</div>
</div>
</div>
</xen:sidebar>
<xen:else />
<xen:title>{xen:phrase error}</xen:title>
<xen:h1>{$xenOptions.boardTitle} - {xen:phrase error}</xen:h1>
<xen:if is="{$visitor.user_id}">{xen:raw $text}</xen:if>
<xen:include template="helper_login_form" />
</xen:if>[COLOR=#141414][FONT=Georgia]
If they are a member and logged in:
Else they are a guest they see:
Handy for me and probably for you too if you like the VBulletin idea. Easy edit for a beginner like me