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

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

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