Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#7 | user_badges_badges_tab_perm.patch | 1.06 KB | jcmarco |
Comments
Comment #1
castelar CreditAttribution: castelar commentedAnybody have any ideas on removing the Badges tab on profiles?
Comment #2
NancyDruThat 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?
Comment #3
castelar CreditAttribution: castelar commentedI'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?
Comment #4
wackywally CreditAttribution: wackywally commentedI 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
Comment #5
wackywally CreditAttribution: wackywally commentedfigured out my problem
i just deleted
section in "author-pane.tpl.php"
you might want to try that in one of the profile files
Comment #6
castelar CreditAttribution: castelar commentedwackywally - 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.
Comment #7
jcmarco CreditAttribution: jcmarco commentedAdded new permission to show the badges tab in the user profile page.
Roles without this permission won't see the badges tab.
Comment #8
castelar CreditAttribution: castelar commentedThis works great. Thank you jcmarco!
Comment #9
NancyDruI'd like one more person to review this, but it will go in on my next commit anyway.
Comment #10
fugazi CreditAttribution: fugazi commentedPatch # 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
Comment #11
fugazi CreditAttribution: fugazi commentedit is now, I forgot update.php. Sorry
Comment #12
NancyDruCommitted to 6.x-1.x-dev