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: Disable album password in user galleries  (Read 2540 times)

0 Members and 1 Guest are viewing this topic.

sanofi

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Disable album password in user galleries
« on: July 24, 2006, 02:19:39 am »

Hello,

How can I disable the album password feature for users in the users galleries, please ?
Logged

sally

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 14
    • Mastin Espaņol International
Re: Disable album password in user galleries
« Reply #1 on: August 08, 2006, 07:19:14 pm »

Hi sanofi,

This might solve your problem...

See 'reply1' :http://forum.coppermine-gallery.net/index.php?topic=31648.0


Quote
...removing the album password field from the code if you don't want it to be available.

Edit modifyalb.php, find

Code:

    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:

    //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)


It works fine!! -  It does off course remove the album password feature for all albums, not only user albums.











Logged
Testing the cpg 1.4.8. at
www.MastinGallery.net/cpg145
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.