How to allow only certain membergroups viewing permission with SMF intergration. How to allow only certain membergroups viewing permission with SMF intergration.
 

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

How to allow only certain membergroups viewing permission with SMF intergration.

Started by Waste, March 05, 2005, 12:00:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Waste

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.

Joachim Müller

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