forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upload => Topic started by: mark_rh on February 22, 2012, 06:17:11 pm

Title: title & description missing from upload page
Post by: mark_rh on February 22, 2012, 06:17:11 pm
Hi,

We have just updated a couple of our galleries to v1.5.18 from the old v1.4.x series but have run into a small problem with the file upload page. Basically we don't allow new user registrations but we do allow Anonymous/Guest uploads. Anonymous uploading works fine but for some reason the boxes where you would enter the picture's title, description, etc. are not visible to Guests ? (They are visible if I'm logged in to my admin account)

I looked trough the documentation but can't find any relevant settings to change.

Any help world be appreciated.

Cheers,

Mark
Title: Re: title & description missing from upload page
Post by: Αndré on February 24, 2012, 02:06:31 pm
I guess you're talking about the simple upload page? Please post a link to your gallery.
Title: Re: title & description missing from upload page
Post by: mark_rh on February 24, 2012, 04:12:19 pm
It's actually both the simple and the flash upload pages but only when you're not logged in with the admin account ?

Here's a link to one of the galleries ...
  http://www.oldcuriosityshop.net/draculas-mirror/ (http://www.oldcuriosityshop.net/draculas-mirror/)
Title: SOLVED: title & description missing from upload page
Post by: mark_rh on February 27, 2012, 04:16:52 pm
After looking through upload.php I worked out what was causing the problem.

It appears that display of the title/description boxes is governed by a setting named "allow_guests_enter_file_details" and this was set to "0" on both of our upgraded galleries. As I couldn't find anywhere to change this from the admin interface I tried manually updating the config table and it worked.

Code: [Select]
UPDATE cpgprefix_config
 SET `value` = '1'
 WHERE `name` = 'allow_guests_enter_file_details';
Title: Re: title & description missing from upload page
Post by: Αndré on March 01, 2012, 01:41:12 pm
From the docs:
Quote from: http://documentation.coppermine-gallery.net/en/known_issues.htm
If you allow guests to upload files to your gallery, they won't be able to add file details. This feature has been disabled as it's not possible to identify the user without fail (see thread). Additionally it may attract spammers to add textual content to your gallery. If you want to enable that feature anyway, find Coppermine's configuration table in the database and change the value of allow_guests_enter_file_details to '1'.


Thanks for resolving your thread. You can mark your thread as solved in our board by
clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.

I've just done that for you.