Automatically make new album hidden

j-miller

Joined: 2009-03-24
Posts: 2
Posted: Tue, 2009-03-24 09:12

I'm trying to set it up so if you are of a certain usergroup, any new albums you create will be automatically hidden (using the Hidden module).

I am good with PHP & MySQL, but am fairly new to Gallery2 and am reviewing the code for how everything works. It seems with PHP I can look up their usergroup and then insert the album ID into the ItemHiddenMap table. Can anyone help guide me in the right direction to do this? Thanks a bunch!