Download & Extend

Option to remove Badges tab on profiles

Project:User Badges
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I'm trying to remove the Badges tab on profiles, but not finding this anywhere (permissions, views).

I'm using a view to display badges in profiles, so the tab is not needed.

Comments

#1

Anybody have any ideas on removing the Badges tab on profiles?

#2

Status:active» postponed (maintainer needs more info)

That tab is also where you assign badges. Without it you won't be able to.

Doesn't the 'manage badges' permissions limit who sees the tab?

#3

I'm using rules to assign badges and/or don't mind going straight to user/xxx/badges/edit to assign them.

The manage badges permission does not limit the tab. It is visible to all, is very annoying to me and my site users, adds extra spidered/indexed pages on search engines that shouldn't be, and needs to go away.

Can anyone help?

#4

I want to do this too, but i want to remove it in the forum. It makes the author plane too tall

http://naruto.myanimespace.org/forum/what-your-favorite-naruto-outfit

#5

figured out my problem

i just deleted

<?php /* User badges */ ?>
      <?php if (!empty($user_badges)): ?>
        <div class="author-pane-line author-badges">
          <?php print $user_badges; ?>
        </div>
      <?php endif; ?>

section in "author-pane.tpl.php"

you might want to try that in one of the profile files

#6

wackywally - how did you remove the badges tab on profiles?

ie. http://naruto.myanimespace.org/users/narutokid

You only have "View", "Posts" and "Track" tabs - and no "Badges" tab.

This is what I'm trying to accomplish.

#7

Status:postponed (maintainer needs more info)» needs review

Added new permission to show the badges tab in the user profile page.
Roles without this permission won't see the badges tab.

AttachmentSize
user_badges_badges_tab_perm.patch 1.06 KB

#8

Status:needs review» reviewed & tested by the community

This works great. Thank you jcmarco!

#9

Status:reviewed & tested by the community» needs review

I'd like one more person to review this, but it will go in on my next commit anyway.

#10

Patch # 7 When I can not. Tried 6.x-1.x-dev and 6.x-1.6. Unfortunately he is not disabled. I now first with Tab Tamer. Sorry for my bad English

#11

it is now, I forgot update.php. Sorry

#12

Status:needs review» fixed

Committed to 6.x-1.x-dev

#13

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here