Clan Adverts

Hide Inactive Roster Members from Non-Clan Members

Description: This tutorial will show you how to hide inactive clan members from non-clan members using the Clan Roster template system.
Version: 1.0
Added on: 07 December 2008
Author: Floppydrivez
Difficulty Level: Very Easy
Views: 737
Detailed Profile

This is an example


Open modules/Clan_Roster/templates/default/home/index.tpl

Find (around line 60)

Code:
<tr>
<td align="center" colspan="6" class="option"><font id="hcolor">InActive Members</font>
</td></tr>


On a new line below add
Code:
{if $EDITMID neq -1}


Find (around line 106)
Code:
{/foreach}


On a new line below add
Code:
{else}
<tr><td align="center" colspan="6" id="rcolor">Inactive members are only visible to other clan members.</td></tr>
{/if}


Save and Upload.