Closed (won't fix)
Project:
Vote Up/Down
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2008 at 09:22 UTC
Updated:
11 Jun 2010 at 08:53 UTC
Jump to comment: Most recent file
Comments
Comment #1
eggthing commentedI've got the same problem.
Comment #2
eggthing commentedCome to think of it, mine doesn't even show up in navigation, the link just doesn't show up in admin at all! But yet it is there in the navigation menu and I can't get rid of it.
Comment #3
eggthing commentedI guess we can keep the menu item hidden by disallowing statistics in the access rules.
Meg Lee Chin
http://megleechin.com
Comment #4
pramudya81 commentedHow you solve this? I'm afraid I don't get you well.
Comment #5
pramudya81 commentedThe problem still there. Disabling the vote up/down statistic will only prohibit the file being access (unauthorized). But the menu link still there. And it's quite annoying to have it there but clicking the link will give unauthorized access error.
Regards
Comment #6
brenda003Here's a patch that fixes this. It turns it into a MENU_SUGGESTED_ITEM instead.
Comment #7
pramudya81 commentedHi brenda003,
The menu link still appears for authenticate and anonymous users. It works fine for admin only.
Regards
Comment #8
brenda003In admin/user/access if "access vote statistic" is set for anon and authenticated users, then they will see it. You can disable the menu item altogether.
Comment #9
pramudya81 commentedThat's exactly what I want (personally). All users should be able to see votes statistics i.e. how many votes already for a single node. But users no need to access statistics from the menu. This is different statistics right? The first one is per node. The second one (via menu item) is per users.
So I'd like to have the first statistics but no for the second one. What do you think?
Regards
Comment #10
brenda003I think you should stop updating your comment. :P
Anyway, I don't understand because I'm able to do just as you describe.
Comment #11
pramudya81 commentedSorry if I am bothering you.
But I like this module so I really want to have it perfectly.
This is my users' access control for vote up/down for admin, anonymous and authenticated users respectively :
access up-down vote statistics: Y N N
administer up-down vote: Y N N
use up-down vote: Y N Y
view up-down vote: Y Y Y
What I have done :
- applied patch you've given
- disable vote up/down menu from http://my_site/admin/build/menu
It works well for admin users.
For authenticated and anonymous users the menu link always appear on navigation menu. (http://my_site/voteupdown)
Regardless login and logout status.
Clicking on this menu link will direct them to access denied due to access control above.
What I want is to make this menu link gone for all users. Since this is accessible from administer-logs-vote up/down statistics.
Regards
Comment #12
brenda003Please don't bump your comment on a daily basis.
Unfortunately I am no longer using this module so am unable to test this. I would suggest seeing if this still occurs in a clean install.
Good luck.
Comment #13
pramudya81 commentedSorry for updating my comment on daily basis. I dont want this issue to be frozen due to no activity.
Yes it still happens on clean install.
Never mind. Forget about this module I guess. Since nobody is maintaining it anymore.
Very buggy I need to re-consider before using this module.
Thanks
Comment #14
marvil07 commentedPlease take a look to the update on the project page, now
5.xis not-really-maintained.