Advanced search  

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

Pages: [1]   Go Down

Author Topic: XP Upload Wizard - Relieve Restrictions?  (Read 4126 times)

0 Members and 1 Guest are viewing this topic.

TheKog

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
XP Upload Wizard - Relieve Restrictions?
« 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: XP Upload Wizard - Relieve Restrictions?
« Reply #1 on: October 25, 2005, 11:46:15 pm »

what's your actual question?
Logged

TheKog

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Re: XP Upload Wizard - Relieve Restrictions?
« Reply #2 on: October 25, 2005, 11:56:43 pm »

How do I modify the code to relieve the restriction?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: XP Upload Wizard - Relieve Restrictions?
« Reply #3 on: October 26, 2005, 12:10:37 am »

not at all?
Logged

TheKog

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Re: XP Upload Wizard - Relieve Restrictions?
« Reply #4 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: XP Upload Wizard - Relieve Restrictions?
« Reply #5 on: October 26, 2005, 12:30:53 am »

you tell us.
Logged

TheKog

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Re: XP Upload Wizard - Relieve Restrictions?
« Reply #6 on: October 26, 2005, 12:37:51 am »

Gee, thanks so much. *beep* do your users do to be treated with such disdain?
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.