coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: TheKog on October 25, 2005, 08:48:24 PM

Title: XP Upload Wizard - Relieve Restrictions?
Post by: TheKog on October 25, 2005, 08:48:24 PM
In my CPG I want to relieve the restriction "only the gallery admins and users that can have their own albums can use this feature". I have found code around line 664 of xp_publish.php  that seems to be the check for this -- do I just need to eliminate the entire first "If" block and make the second "elseif" block an "If" block?

I only allow registered users to upload files but they do not have the ability to create their own albums -- they merely upload into albums preset by the admin.

Thanks,
Mike
Title: Re: XP Upload Wizard - Relieve Restrictions?
Post by: Joachim Müller on October 25, 2005, 11:46:15 PM
what's your actual question?
Title: Re: XP Upload Wizard - Relieve Restrictions?
Post by: TheKog on October 25, 2005, 11:56:43 PM
How do I modify the code to relieve the restriction?
Title: Re: XP Upload Wizard - Relieve Restrictions?
Post by: Joachim Müller on October 26, 2005, 12:10:37 AM
not at all?
Title: Re: XP Upload Wizard - Relieve Restrictions?
Post by: TheKog on October 26, 2005, 12:23:21 AM
It is simple. I have no problem with folks that are members of my gallery posting and have the permissions setup for that. I do not allow any of them to create albums -- they all post into preset albums.

So I want the current restriction of only allowing admins and users than can create albums to be eliminated.

How do I modify the code to allow this?
Title: Re: XP Upload Wizard - Relieve Restrictions?
Post by: Joachim Müller on October 26, 2005, 12:30:53 AM
you tell us.
Title: Re: XP Upload Wizard - Relieve Restrictions?
Post by: TheKog on October 26, 2005, 12:37:51 AM
Gee, thanks so much. *beep* do your users do to be treated with such disdain?