I installed gallery access as explained, set permission settings and everything, but when I create or edit a gallery there is no place to change the gallery's individual access setting. None of the galleries have asked for a password and all are available. Any help would be very helpful.
Website: www.tacomeries.com

Comments

dbeall’s picture

Just now testing since I saw this post. I get the same behavior on a wamp test server.

Drupal 6.16
Administration menu 6.x-3.0-alpha4
ImageAPI 6.x-1.8
ImageCache 6.x-2.0-beta10
Lightbox2 6.x-1.9
node_gallery 6.x-2.0-beta1
node_gallery_access 6.x-2.0-beta2
Pathauto 6.x-2.x-dev (2010-Apr-08)
Token 6.x-1.12
Transliteration 6.x-2.1
Views 6.x-2.10

No additional access modules installed...
rebuilt permissions, clear caches, run cron
still not showing access settings on gallery edit page

just a quick test, haven't looked past this test yet.

dbeall’s picture

the node_gallery_access table was created,
nid, uid, access_type and password columns
..with a row for each gallery..

justintime’s picture

Have you both set the proper content types on Set Node Gallery Access Type in NGA admin?

dbeall’s picture

yes, this was a default install
same behavior with beta and dev releases,, testing in wamp

admin > site configuration > node gallery > access settings

Set Node Gallery Access Types:
[x] node_gallery_gallery
Specify which Node Gallery types you want allow access controls for.

I might be missing something, but I have installed node gallery at least a hundred times..
still, could have over looked something,, but what.. hmmmmm

dbeall’s picture

Title: Installed per instructions... Won't let me change gallery access per gallery » Installed per instructions... gallery access setting on gallery edit page not visible
Assigned: dremy » Unassigned

update title, un-assign issue

dremy’s picture

Yea I have node gallery access types set and everything else humming along quite well. I also using node gallery access and node gallery on www.hannezak.com and I am having the same issue. Gallery Access Settings on the Gallery Edit Page are not visible.

justintime’s picture

I just tested on my dev instance, and it works for me. What user are you trying it as? Admin or someone else?

dbeall’s picture

I don't know what to say..
I tried as admin and registered user. Un-installed NGA, ran cron, clear caches, re-install NGA module, rebuild permissions, still nothing here
I guess, wait to see if anyone else can test

dbeall’s picture

I will try old release(s) of NG2 and NGA later tonight on my same Drupal install and see what happens.

justintime’s picture

My dev setup is NG2 beta2 and NGA2 beta2. Garland theme, Drupal 6.14 on MAMP. Let me know what you find - thanks dbeall.

dremy’s picture

I am trying as admin, 6.16, arthemia theme, most recent NGA/NG on site

dbeall’s picture

This test was a fresh install, Drupal 6.7, NG2-dev(June 6), NGA-beta2(Jan 12)

I have seen the access settings.. yipe!! -life is good again- Yipe!!
I did a fresh install to test the new views stuff from joachim..

after install, the access settings were not visible 'when' or 'after' creating a gallery.
all normal moves were performed.. enable NGA, rebuild permissions.. still, not showing.

Just-for-fun, went to.. admin > site config > node gallery > access settings
"re-saved the default settings" (the node type was already selected), prompted to rebuild permissions again.

WOW, There is is,,, visit the existing gallery and the access settings are now "visible".

dbeall’s picture

tested on wamp, D6.7, NG2-beta2, NGA-beta2
I don't have a good 'live server' to test with right now (this might be a problem using wamp for testing, since justintime reports it works fine on mamp)
----
same results (access settings on gallery edit page not visible)

Goto: admin > site config > node gallery > access settings
"re-save the default settings" (the node type was already selected), prompted to rebuild permissions again.

after I "re-save the default access settings", rebuild permissions again(as prompted), the access settings are "visible".
----
edit: all my 'testing' is using default Drupal(current version) with garland theme.(but everyone should know that, I hope/assume)
I generally have the basics enabled: update status, path, pathauto, token, transliteration, admin_menu, imageAPI, imagecache, ImageAPI GD2, imagecache UI, views, views UI

justintime’s picture

The only possible thing I can think of here, is that there was a module update awhile back that renamed some poorly named variables. If you hit update.php, does NGA show up in the list of modules to update?

The only other thing - is your node gallery content type named node_gallery_gallery?

dbeall’s picture

well, I try to keep everything default since I test locally. Keeps everything consistent.
Many times, I dump the whole database, reinstall Drupal and grab new copy of NG2 and NGA2 to flush any hacks i may have done for previous testing.

node_gallery is all default, gallery node type, gallery image type, imagecache(node_gallery defaults)

The 'Available Updates' page has always had NGA listed, even when the access settings were not visible.
The module is there, enabled, install(enable) all normal, prompted to rebuild permissions on install, database table created, galleries listed in the access table, the access settings tab is on the node_gallery configure screen, (all things look and act very normal).

as a non-developer, I'm looking at end user stuff, (symptoms, but not the cause).

dremy’s picture

Status: Active » Fixed

Fixed. dbeall your instructions worked like magic. Settings > Node Gallery > Access Settings... resave... rebuilt permissions... sexiness i've strived for for years lol. Thank you immensely for you alls help, timely and constant updates.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

justintime’s picture

I think I may have just found the fix for this while working on a 3.x branch. Can someone see if the latest 2.x dev build fixes it?

dbeall’s picture

The build hasn't packaged yet, but I uninstalled both node_gallery and node_gallery_access, cleared caches..

Added patch #398836
re-installed both modules,, my test worked as expected..

I followed the default install, which did direct me to rebuild permissions (as it should).
The access settings were displayed when creating the first gallery without doing any additional operations.

Reviewed and tested by the squeaky wheel.