Closed (duplicate)
Project:
User Points
Version:
6.x-1.x-dev
Component:
Code: userpoints
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2008 at 08:39 UTC
Updated:
14 Dec 2011 at 15:33 UTC
I see that when users have points a "My Points" menu item shows up as a child item of "My account".
Can this menu item be moved somewhere else? If so, how?
I would either want to set it so it is not a child of "My Account" or move it to another menu.
If it can't be moved, can it be removed?
Comments
Comment #1
kbahey commentedTry changing userpoints.module for this item from MENU_NORMAL_ITEM to MENU_SUGGESTED_ITEM, then clear all caches (admin/settings/performance) and see if you can now move it elsewhere.
If that does what you want, please report back so I fix it for everyone.
Comment #2
OneTwoTait commentedI don't think it worked..
There isn't even a visible menu item for "My points" on admin/build/menu-customize/navigation anyways so I don't know how I would move it. The menu item just automatically appears for users with points
After I made the change you mentioned the "Points settings" menu item was disabled, then I re-eneabled it.
Comment #3
kbahey commentedAre you sure you changed the correct menu item?
Make sure that you changed the correct item, then clear all caches, then go to admin/build/menu and enable the suggested item.
Comment #4
OneTwoTait commentedI see now that for the "My Points" item to show up in admin/build/menu-customize/navigation for user #1, user #1 has to have points.
So, it would be nice if the menu item always showed up for user #1 or, better yet, just always showed up on admin/build/menu-customize/navigation .
Comment #5
kenorb commentedI have the same problem.
My Points doesn't show up in Navigation menu from the admin.
Maybe because I've excluded admin role from getting points.
But anyway it should show up in Navigation menu list for all users which have menu administrator permission.
Comment #6
atelier commentedI also bumped into this problem. I wanted to move the "My Points" menu item from the Navigation menu to another one I use for members. But, I wasn't able to see the item until I granted at least one point to the admin account.
From a usability standpoint, I'd suggest changing the visibility criterion of this menu item for at least the superadmin account.
Comment #7
berdirI've just commited a patch to show that menu item when the user doesn't have any points yet.
Comment #8
superfedya commentedHow I can remove/disable My Points from Menu?
I changed (for $items['myuserpoints']) MENU_NORMAL_ITEM to MENU_SUGGESTED_ITEM and disable it in the admin/build/menu-customize/navigation. But it's always appeared in the menu :(
Thanks
Comment #9
erik seifert commentedCreate a module
my_module.module
Flush Menu Cache