Jump to content


Welcome to DevFuse Forums


Sign In  Log in with Facebook

Create Account
Welcome to DevFuse Forums, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of DevFuse Forums by signing in or creating an account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get email updates
  • Get your own profile page and make new friends
  • Send personal messages to other members.
 
Guest Message by DevFuse

Tutorial info Visit support topic

  • Added on: Jul 24 2010 12:24 PM
  • Views: 2662
 


Hiding the latest visitors block

A simple skin edit to remove the 'Latest Visitors' block from profiles

Posted by AndyF on Jul 24 2010 12:24 PM
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)...
<if test="latest_visitors:|:$member['pp_setting_count_visitors']">

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

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

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

That will hide it neatly. :)

Powered by Tutorials 1.5.1 © 2016, by Michael McCune