Sign in to follow this  
Followers 0

Hiding the latest visitors block


Description

A simple skin edit to remove the 'Latest Visitors' block from profiles
Although individual members can choose to turn this off or specify how many last visitors to show, some administrators may prefer to not give this option and wish to hide the block globally.

This is easy to achieve with a small skin edit.

ACP > Look / Feel > Skin Manager > (choose skin) > Manage Templates / CSS > Profiles > ProfileModern

Find (about 3/4 the way down)...
[code]<if test="latest_visitors:|:$member['pp_setting_count_visitors']">[/code]

Change to [code]<!--<if test="latest_visitors:|:$member['pp_setting_count_visitors']">[/code]

Scroll down a bit, find...
[code] <p class='no_messages'>{$this->lang->words['no_latest_visitors']}</p>
</if>
</div>
</if>[/code]

Change to...
[code] <p class='no_messages'>{$this->lang->words['no_latest_visitors']}</p>
</if>
</div>
</if>-->[/code]

That will hide it neatly. :)



0 Comments

There are no comments to display.