Jump to content

Disable completely the last profil visitors block


Recommended Posts

Hello all,

I know there is already an option for a member to hide this block from their profile, but I want it completely off (gone!) for everybody.

It is pointless and can make some users feeling stalked.

If you know an easy way please let me know.

Link to comment
Share on other sites

45 minutes ago, xdrox said:

Hello all,

I know there is already an option for a member to hide this block from their profile, but I want it completely off (gone!) for everybody.

It is pointless and can make some users feeling stalked.

If you know an easy way please let me know.

At the profile template, either remove or comment out this code and save the changes.

{{if !empty( $visitors ) || \IPS\Member::loggedIn()->member_id == $member->member_id}}
						<div class='ipsWidget ipsWidget_vertical cProfileSidebarBlock ipsBox ipsBox--child ipsSpacer_bottom' data-controller='core.front.profile.toggleBlock'>
							{template="recentVisitorsBlock" group="profile" params="$member, $visitors"}
						</div>
					{{endif}}

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...