Closed (fixed)
Project:
ArrayShift
Version:
6.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
30 Dec 2009 at 02:57 UTC
Updated:
18 Mar 2010 at 17:40 UTC
Jump to comment: Most recent file
So in my node-question, and node-comment, I use the the display vote_up_down widget. I also have a vote_up_down template file. In those files I check if a user is logged_in or not to display the voting buttons or not. When using this method, unless the role is selected as being able to see vote up down widget, the widget doesn't appear.
So I add the premission to authenticated, and anonymous to see the widget, I am posting a patch as well.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | voting.png | 57.97 KB | UbuntuLinuxHelp |
| #1 | arrayshift-670450.patch | 2.12 KB | voidfiles |
Comments
Comment #1
voidfiles commentedHere is the patch
Comment #2
UbuntuLinuxHelp commentedI have the same issue.
I downloaded the patch, but have no idea what to do with it.
I read here: http://drupal.org/node/60108 and tried here: http://agaric.com/note/how-apply-patch-drupal-module
But I'm still at a loss. The contents of the .patch don't look like files are changing, so I don't know if I should try patching as "relative to the Drupal root directory" or not.
Also, the Vote Up or Down does not display for Admin users either.
Any help would be appreciated.
Thank you.
Comment #3
voidfiles commentedSo that patch is for the installation profile its self. So the next time you run the install, if you apply that patch first you will get the appropriate rights. If you already have things installed you need to look into the roles, and permissions. Look at the section about vote up down.
Here is what I have
use vote down authenticated user
use vote up authenticated user
view up/down votes anonymous, and authenticated user
Comment #4
UbuntuLinuxHelp commentedHmmm....
I set up (as indicated):
use vote down authenticated user
use vote up authenticated user
view up/down votes anonymous, and authenticated user
Now everyone can see votes - Good!
Nobody (admin account or other authenticated users can vote up or down.
The option to vote (buttons?) does not display on any page.
Comment #5
UbuntuLinuxHelp commentedI think I found another bug - maybe?
While trying to find the issue for this thread, I went to my installed profile: Home › Administer › Content Management
And I only see the following Content Types:
Comment
Page
Question
Unless I'm mistaken, shouldn't there also be "Answers" on that list?
Thanks
Comment #6
UbuntuLinuxHelp commented***UPDATE***
If I go to: Home › Administer › Site configuration › Vote Up/Down configuration
I saw that "Vote widget display" was "disabled" (after a clean install of the ArrayShift profile).
When enabling it by selecting "Full-page view" (the only option that works) and also will only work if "Vote widget style" is selected as: "Default +1/-1 vote style", I will see some garbage code displayed on the page.
Please see the screenshot attached.
Thanks.
Comment #7
voidfiles commentedIn the latest version this has been fixed.