Disable album password in user galleries Disable album password in user galleries
 

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

Disable album password in user galleries

Started by sanofi, July 24, 2006, 02:19:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sanofi

Hello,

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

sally

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.











Testing the cpg 1.4.8. at
www.MastinGallery.net/cpg145