Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: How to allow only certain membergroups viewing permission with SMF intergration.  (Read 2768 times)

0 Members and 1 Guest are viewing this topic.

Waste

  • Coppermine newbie
  • Offline Offline
  • Posts: 1

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de

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
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 16 queries.