make entire gallery members of the 'registered' group make entire gallery members of the 'registered' group
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

make entire gallery members of the 'registered' group

Started by scottking, November 05, 2005, 01:03:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

scottking

I was wondering if there is a quick way of changing my entire gallery from Everybody (public) to members of the 'registered' group. I have 166 albums and find it a slow process to click on each individual album and make the permission changes this way. Is there a way to change permissions for each category?

Thanks
Scott

Abbas Ali

If you want all albums to be only viewable by registered group then run the following query on the database. Use phpMyAdmin or other tool to do so. (Replace cpgPrefix with prefix you have used.)


UPDATE cpgPrefix_albums SET visibility='2'


Note: This will affect all the albums in one shot. Be careful. Also do take a backup before doing so.
Chief Geek at Ranium Systems

Joachim Müller