Link Vote up/down statistics always appears on my navigation menu.

I tried to disable this on menu (admin/build/menu) administration. It works only on this menu administration page only.
On other pages the menu link still appears.

Regards

CommentFileSizeAuthor
#6 vote_up_down_menu.patch1.07 KBbrenda003

Comments

eggthing’s picture

I've got the same problem.

eggthing’s picture

Come 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.

eggthing’s picture

I guess we can keep the menu item hidden by disallowing statistics in the access rules.

Meg Lee Chin
http://megleechin.com

pramudya81’s picture

How you solve this? I'm afraid I don't get you well.

pramudya81’s picture

The 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

brenda003’s picture

Status: Active » Needs review
StatusFileSize
new1.07 KB

Here's a patch that fixes this. It turns it into a MENU_SUGGESTED_ITEM instead.

pramudya81’s picture

Hi brenda003,

The menu link still appears for authenticate and anonymous users. It works fine for admin only.

Regards

brenda003’s picture

In 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.

pramudya81’s picture

That'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

brenda003’s picture

I think you should stop updating your comment. :P

Anyway, I don't understand because I'm able to do just as you describe.

pramudya81’s picture

Sorry 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

brenda003’s picture

Status: Needs review » Needs work

Please 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.

pramudya81’s picture

Sorry 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

marvil07’s picture

Status: Needs work » Closed (won't fix)

Please take a look to the update on the project page, now 5.x is not-really-maintained.