coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: Waste on March 05, 2005, 12:00:12 AM

Title: How to allow only certain membergroups viewing permission with SMF intergration.
Post by: Waste on March 05, 2005, 12:00:12 AM
Hi, I am trying to make my Coppermine installation allow access to only certain membergroups.
Basically, I wish for only x member group to see the galleries, and of course my crew.

Thanks in advance for any help.
Title: Re: How to allow only certain membergroups viewing permission with SMF intergrat
Post by: Joachim Müller on March 07, 2005, 10:33:51 AM
there's no solution "out of the box" to accomplish what you're requesting - you need to apply some code changes. First, go to coppermine's "groups" panel and disable everything for the groups you don't want to have access - this will keep them from uploading, rating, commenting etc.
To even disable them accessing the gallery, you have to do as suggested here (http://coppermine.sourceforge.net/faq.php#registeredUsersOnly) and add some more code around it (some if/then conditional) to check for the user group a user is in and only allow access if he/she is in the valid group.

Joachim