Log in

View Full Version : Remove infractions tab


squishi
07-15-2008, 08:47 AM
For users who did not receive any infractions, I don't want to have the infractions tab showing on the profile.
How can I do this?

Videx
07-16-2008, 02:38 AM
Normally it doesn't show. To regular users, anyway. If it is, then you've got some obscure user group permission set incorrectly.

RLShare
07-16-2008, 03:22 AM
AdminCP->Styles and Templates->Style Manager->Your Skin->Edit Templates-> Member Info Templates-> MEMBERINFO...


Find:
<div id="profile_tabs">
$template_hook[profile_left_first]
$blocks[visitor_messaging]
$blocks[aboutme]
$blocks[stats]
$blocks[friends]
$blocks[infractions]
$blocks[contactinfo]
$template_hook[profile_left_last]
</div>
Delete:
$blocks[infractions]