User Gallery Permissions - Everything in the open -not private or passworded User Gallery Permissions - Everything in the open -not private or passworded
 

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

User Gallery Permissions - Everything in the open -not private or passworded

Started by bbouton, May 19, 2006, 02:09:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bbouton

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

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

bbouton

Thank you Gau Gau, commenting out these lines

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