Closed (fixed)
Project:
Node Gallery
Version:
6.x-2.x-dev
Component:
Access Contrib
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Jan 2010 at 02:27 UTC
Updated:
27 Jan 2010 at 08:30 UTC
I need some guinea pigs testers to help me test the new Node Gallery Access module that is completely separate from the contribs.
There weren't many changes at all to the new module from the old contrib, save for the integration with Views. After enabling the module, you can display the node gallery access field, and you can also filter by it (i.e., show only public galleries).
Until it's fully separated from Node Gallery core, the installation isn't exactly straightforward. If you'd like to test, here's what you need to do:
Once I get some reports of success, I'll remove the contrib version of Node Gallery Access so that installation will be straightforward.
Comments
Comment #1
dbeall commentedlooks good here http://www.davebeall.com/node-gallery5 ,oh yea, It works as expected..
Upgrade or change from contrib to node_gallery_access was error free, existing passwords work fine.
Adding it to buckeyelake.org since it works as expected...
* After things settle and move, I will work on the node_gallery handbook for changes.
* The node_gallery README will need a few changes and a README for node_gallery_access is in order.
* any feedback on this subject is always welcome...
Thank You Justintime
Comment #2
designwork commentedHi justintime,
I tested all exept views integration and it works as desired.
thanks
Dirk
Comment #3
dbeall commentedviews is working, added the filter 'exposed' to my demo page.
The page has 1 public, 1 private and 4 password galleries.
If I set permission for anonymous user to 'access private galleries', all of the password galleries are open to view without a password as well..
I don't know if that's the way it's suppose to act.?
surprise content...
EDIT #1: should I be using the new issue que yet....lol
EDIT #2: Is the filter 'optional' check box suppose to supply a 4th choice.?
lol, more surprise content
EDIT #3: If I go to the gallery list at /galleries it shows all galleries from all the pages without using a 'view'..well, the password galleries are open. (it doesn't show the one private gallery(normal)..
...I am such a trouble maker...
Comment #4
justintime commentedThat's the intended functionality. Private means 'accessible only by the author'. That permission is intended for content admins to make sure users aren't storing questionable content in their private galleries. If everyone can access your private gallery, it's not really that private anymore ;-)
Probably - once I remove the contrib module, I'll remove the "Access contrib" dropdown.
Yep, that's a bug.
That's a feature, not a bug ;-) Node Gallery uses a non-view for it's /galleries page. Personally, I think this should be changed to be a view, and we can just require Views as a module dependency - but that's something we'll have to address later in a different issue.
I'll create a new issue for the bug you found.
Comment #5
justintime commented@dbeall - I guess it's not really a bug after all: #681436: When using views, selecting "Optional" under "Expose" on Access Type doesn't add "N/A" to the options list
Comment #6
designwork commentedHi justintime,
I would suggest we make views optional. I suppose that if views is installed the /galleries page is a view, if not it stays a "normal" page. I know a lot of users wich don`t need views to be installed. Node_gallery depends allready on a few modules we schould not make more dependencies. We could make an option an the gallerie setting page to not show "private and password proteced galleries". I can write that easily. If you and kmoty agree.
Cheers
Dirk
Comment #7
justintime commentedYeah, I suppose you're right. I just hate it because Views is always installed on any of my sites.
Regarding changing the /galleries page:
I think the best answer to a user wanting a /galleries page without password protected galleries listed on it is to write up documentation that shows them how to install Views and import a view that does that for them. I could even go so far as to import one by default via NGA's installation.
Comment #8
dddave commentedTested and so far I think you can kill the access contrib.
Great work!
Comment #9
justintime commentedOkay, we're go for launch.
I wrote up a handbook section under Node Gallery that addresses Add-On Modules.
I tagged a beta2 version of node_gallery_access.
I tagged a alpha12 version of node_gallery, which includes update.php hooks to ensure the old contrib version is removed.
Now, I just hold my breath. Thanks for the help everyone!
Comment #10
dddave commentedWent smooth on my install. Thx!