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 [2]   Go Down

Author Topic: XP Publish Admin OK - Users (Only personal gallery not public)  (Read 9267 times)

0 Members and 1 Guest are viewing this topic.

sinti

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • Fotoalbum STV Lachen
Re: XP Publish Admin OK - Users (Only personal gallery not public)
« Reply #20 on: October 09, 2006, 10:11:55 am »

Now, WHAT didn't work? Please describe the behaviour!

PS: No need to quote my whole message then. Did you know, the Preview Button next to the Post Button is very useful.
Logged

BenTexas

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: XP Publish Admin OK - Users (Only personal gallery not public)
« Reply #21 on: November 24, 2006, 10:31:31 pm »

Thank You very much Sinti!  ;D
This fix works fine for my installation.
I had to change a few things though, because I use a bridged Version with PHPBB:
I have different groups enabled and the USER_GROUP constant from Sinti's Code was only containing "Registered" no matter what other group a user was in. So I took a closer look at the USER_GROUP_SET constant and found out that the different groups from PHPBB are stored inside coded with a numerical value. To find out the mapping, I created a test user, found out what number belongs to what group and then tweaked the Code to check for a certain group number. Works fine for me!
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.02 seconds with 15 queries.