Advanced search  

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]

Pages: [1]   Go Down

Author Topic: User Gallery Permissions - Everything in the open -not private or passworded  (Read 3436 times)

0 Members and 1 Guest are viewing this topic.

bbouton

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 10
  • Commit a random act of kindness.
    • The Member Showcase at TheBoutons.com Home of All Things Graphical

Hi,

I have CPG1.4.5 installed and bridged to Joomla 1.08 with the bridge found at http://www.mehdiplugins.com/misc.
I am using the 2bornot2b template. I want registered users to be able to create a gallery, but I don't want them to be able to make it private or password protected. I want all User Gallery images out in the open.

I set Albums can be private (Note: if you switch from 'yes' to 'no' any current private albums will become public) to NO, but that still allows registered users to set Album passwords and hints in the Permissions fro this album section found in Modify my albums/Update album.

Is there some way to do this?
Is there any way to do this and let users with access privs higher than Registered have private or password protected galleries?

The site is not finished yet, maybe tomorrow; but you can see it by choosing Member Showcase from the menu at http:/theboutons.com/index.php or http://www.theboutons.com/membergallery/
.

Any help would be appreciated.
Barbara B
« Last Edit: May 19, 2006, 04:44:11 pm by GauGau »
Logged
bbouton
At http://TheBoutons.com download free bonus chapters from Gary's newest book, Photoshop Elements AIO Desk Reference for Dummies. Register, and show your best work in TheBoutons.com Member Showcase.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de

the switch you mention doesn't toggle the album password field. I recommend removing the album password field from the code if you don't want it to be available. Edit modifyalb.php, find
Code: [Select]
    array($lang_modifyalb_php['alb_password'].$help_album_password, 'alb_password', 6),
    array($lang_modifyalb_php['alb_password_hint'].$help_album_password, 'alb_password_hint', 7),
and comment out by replacing with
Code: [Select]
    //array($lang_modifyalb_php['alb_password'].$help_album_password, 'alb_password', 6),
    //array($lang_modifyalb_php['alb_password_hint'].$help_album_password, 'alb_password_hint', 7),
I haven't tested this though, please report if it works.
Logged

bbouton

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 10
  • Commit a random act of kindness.
    • The Member Showcase at TheBoutons.com Home of All Things Graphical

Thank you Gau Gau, commenting out these lines

Code: [Select]
    //array($lang_modifyalb_php['alb_password'].$help_album_password, 'alb_password', 6),
    //array($lang_modifyalb_php['alb_password_hint'].$help_album_password, 'alb_password_hint', 7),

in modifyalb.php, as you suggested does the job.

It would be nice if this were something that could be enabled or disabled according to group -- here's hoping for a new feature next rev.

BarbaraB
Logged
bbouton
At http://TheBoutons.com download free bonus chapters from Gary's newest book, Photoshop Elements AIO Desk Reference for Dummies. Register, and show your best work in TheBoutons.com Member Showcase.
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 19 queries.