Automatic allow user to upload to new galleries Automatic allow user to upload to new galleries
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Automatic allow user to upload to new galleries

Started by youth4j, March 03, 2007, 03:41:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

youth4j

How can I set all new galleries that are created to automatically have permissions set so all the users will be able to upload photos into any sections gallery that they want. And then disable this feature for the galleryies that I don't want user to upload in.


I want users to upload in any gallery that users want. Except into other user's galleries

youth4j

Maby this is going to be more clear,

1. When my users use xp_publish to create galleries and upload photos, The default is that when a new gallery is created, the public can't upload photos in that gallery. I want to setup so when a new gallery is created, the default is that public can upload photos there and if I don't want users to upload there, I would just go and disallow public from uploading in that gallery.

2. Is there a way to give upload access to certain groups that are intergrated with vbulletin forum.
Lets say that Auto Dealers group on vbulletin group would have upload access to Auto Dealers category/sub-galleries on coppermine and the users that are not part of Auto Dealers group would only have view privelages.

Is there a way to do this?

Nibbler

Edit xp_publish.php

    $query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title, uploads, pos) VALUES ('$category', '" . addslashes($_POST['new_alb_name']) . "', 'NO',  '0')";


Change the NO to YES.