Jump to:
| Project: | IMCE_Gallery |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
A few small issues. I downloaded the latest code, and some galleries do manage to get created (seemingly ones that seemed to disappear from before I updated to the latest code). However, adding images to them seems impossible, or at least unclear? If you go into your user galleries, you can "edit" a gallery, but no operations are possible.
In addition, the attempted creation of a new gallery will usually result in this message:
* user warning: Unknown column 'g_pub_priv' in 'field list' query: INSERT INTO imce_gallery (g_name, g_description, g_pub_priv, uid) VALUES ('test', 'test', 0, 1) in /home/content/g/r/e/gregrmay/html/includes/database.mysql.inc on line 172.
* Unable to insert the specified Gallery Name: test
Finally, a small bug: the setting for number of galleries a user can create appears to be bugged. I left it blank, but instead of being unlimited as the default, it appears that 0 was the default...?
I would be happy to test this plugin, as it appears to be exactly what I am hoping for! Thanks!
Comments
#1
I wanted to update a few things. I attempted to apply the hack/fixes supplied on the previous support requests (adding braces, removing the kada... directory from all instances). I uploaded the new files, ran update.php, and nothing really happened. I still get the same error message, and I still cannot add images to the gallery. Can anyone confirm that this is working on a clean install? I will try to remove everything and hope that the "re-install" works as opposed to the quickfix method.
Also, I am using 5.1 (latest version of Drupal core), and have properly set permissions, etc.
Thanks!
#2
Update: after disabling the module, then uninstalling it, then re-enabling it... the bug with tables went away. Thus, the bracket fix worked. So, in order for the module to work, follow these steps:
1) Download the latest code- make sure you already have IMCE installed!
2) modify 3 files (.js, .install, .module) in the method discussed in the other issues bulletins
3) upload them to your server module directory, and install as normal
4) make sure that you change the permissions, and also you'll need to insert a value into the configuration section, otherwise the default appears to be 0 galleries that each user is allowed to create
5) To create a new gallery, simply click the "Create IMCE Gallery" button that should appear on the user menu
In addition, after some playing around, I figured out how to add images to a gallery! This is how.
1) Click on "My account", then "Personal Files". Note that these menu names can be changed, I believe these are the defaults though.
2) You should see a list of files that the user has uploaded. There should be a new button on the right hand side, under operations: "add to gallery".
3) That's it! Check your gallery to see if the image has been properly added.
#3
Thanks for the steps but could you point out the actual drupal issues for the fixes on step #2?
2) modify 3 files (.js, .install, .module) in the method discussed in the other issues bulletins
Thanks much.
Lsabug
#4
Sure:
Step 2: edit imce_gallery.install using info from http://drupal.org/node/122281
edit imce_gallery.js and imce_gallery.module using info from http://drupal.org/node/122282
#5
Where is the default number of galleries that a user can create set? Home » Administer » Site configuration only has the number of images on a gallery, and I can't find where the number of galleries it.
Thanks
#6
Haven't revisited this area for a while and wanted to say thanks for pointing out those posts.
Lsabug
#7
With IMCE-Gallery neither path is correct:
* with the personal files the directory of the uploaded files is truncated: instead of files/u1/... it reads files/1/... fixed this with a symbolic link 1->u1
* the navigation buttons don't appear if you install the module into the recommended location (/sites/all/modules instead of /modules). Reason: the not recommended installation path is hard coded in the imce_gallery.js ... fixed this with a symbolic link, too.
My fixes are work arounds only, can you please fix this in the code? Before finding out the errors without having the chance for a work around I have thrown the IMCE-gallery into the waste basket for three times. But with the fix, it is indeed that, what I am searching for. Great deal, but next time, more diligence, please.
#8
This module is a great idea and I can see a lot of potential in it.
I would very much like to roll it out in our production intranet but I simply cannot find the right combination of patches and hacks to make the thing work. I cannot trust this module yet.
To the author of the code: Please please please update this module for usability. There currently is no usable version and the fixes posted are not organized logically. Until that is done it cannot be said that IMCE Gallery is ready for prime time.
I will look forward to using and recommending it once a functional version is available.