users can create new albums in all categories users can create new albums in all categories
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

users can create new albums in all categories

Started by galadrin, July 17, 2008, 01:53:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

galadrin

a little hack for give the right to all the users to create new albums

in file albmgr.php :

line 345 to 346 , comment the folowing lines :
} elseif (USER_ADMIN_MODE) {
    $result = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = " . (USER_ID + FIRST_USER_CAT) . " ORDER BY pos ASC");


line 363 and 343, replace the folowing lines :
if (GALLERY_ADMIN_MODE) {
by
if (USER_ADMIN_MODE) {

Nibbler


GerX

Is there a hack that make it possible in a proper way? Create albums and delete his own uploads,  in all categoriesand albums for a registred user?

Joachim Müller

No. Has been asked and answered often already. Will be a feature in cpg1.5.x (not released yet, no scheduled release date, no backport of that feature planned). Butt out of this thread. The thread starter proposed a hack and even advertized for it in some other threads, yet he hasn't replied on Nibbler's question. We don't want another discussion here about the "missing feature", as it has been discussed in many, many threads already. The only thing we want in this thread are actual contributions or at least some words from the original thread starter.

@galadrin: please review and reply.

drgonzo120


Joachim Müller

No, there is no simple solution. This has been asked and answered very often already. If it would be that simple, the feature would have been added long ago.