coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: rcafp on January 15, 2004, 05:32:31 PM

Title: Users post to public albums
Post by: rcafp on January 15, 2004, 05:32:31 PM
Hey all,
When a registered user clicks on upload, the only album option there is their own personal album that they've created.
I've created/started many albums that I want users to post to.
I tried setting "(1) Uploads in a public album need admin approval" to {YES} but the album locations are still not showing up when they try to upload.
Is this script meant to upload to their own user galleries only?
Cheers.
Dawn 8)
Title: Users post to public albums
Post by: Joachim Müller on January 15, 2004, 05:38:49 PM
take a look into the documentation (http://coppermine.sourceforge.net/demo/docs/index.htm#album_prop): you'll have to edit the properties of the albums the user uploads should go to. Set "Visitors can upload pictures" to "yes" for all albums that are not within the "user gallery" category.

GauGau
Title: Users post to public albums
Post by: rcafp on January 15, 2004, 06:00:31 PM
thank you very much!
I took "visitors" to mean unregistered visitors.
Cheers  :lol:
Dawn
Title: Users post to public albums
Post by: Casper on January 15, 2004, 06:11:30 PM
No, it only allows uploads from groups who are allowed to in the group permissions.
Title: Users post to public albums
Post by: rcafp on January 15, 2004, 06:18:10 PM
Well, now I have another problem :(
When I changed album properties to let visitors post to albums......I also changed the setting to go from "everyone" to post ; to "registered" members only.
Now the link and thumbnails to all the public albums are missing....with an error pointing : Warning: Invalid argument supplied for foreach() in coppermine_dir/themes/hardwired/theme.php on line 1194
This error stays even if I change the theme.
(the default theme will not show this error but still does not show the album links therefore I cannot access properties)
I can still access these albums by clicking on one of the random pics and then clicking it's link in "picture information"
I can't get the album properties back so I can edit again. :oops:
Dawn
Title: Users post to public albums
Post by: Casper on January 15, 2004, 06:26:05 PM
Ok,
just go into config, and set 'show private icon to unlogged users' to YES.
You will now see the icon, but if you click on it, you can see the album and edit the pics. Note, unregistered will see the icon, but not the album or pics.

This is a known problem being corrected in the next release.
Title: Users post to public albums
Post by: Joachim Müller on January 15, 2004, 11:17:53 PM
Quote from: "rcafp"Well, now I have another problem :(
[...]
Now the link and thumbnails to all the public albums are missing....with an error pointing : Warning: Invalid argument supplied for foreach() in coppermine_dir/themes/hardwired/theme.php on line 1194
http://forum.coppermine-gallery.net/index.php?topic=1743

GauGau