Problem with restricted user acces and phpBB Problem with restricted user acces and phpBB
 

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]

Main Menu

Problem with restricted user acces and phpBB

Started by pedens123, January 30, 2005, 11:00:14 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pedens123

Hi.

Im having some problems setting up a closed gallery / open gallery combo. I want a part of my gallery to be accessible by all visitors and another part only accessible by registered users. I've enabled private albums in the config tab, and set the Visibility drop down menu in the first album to  "Members of the 'Members' group".

But when I access the gallery, the edited album doesnt show up in the albumlist, and the only way to get it "back" is to manually edit the MySQL variable 'visibility'.

I should mention that I have installed the phpBB ad-on for Coppermine.

When I run debug mode (as a registered user) I get the following:

Notice: Undefined index: group_id in /customers/pungeforsamlingen.dk/pungeforsamlingen.dk/httpd.www/images/index.php on line 451
Notice: Undefined index: group_id in /customers/pungeforsamlingen.dk/pungeforsamlingen.dk/httpd.www/images/index.php on line 472

Debug info
USER:
Array
(
    [ID] => 908763b80270bc7fba0eba101a0438e3
    [am] => 1
)

GET :
Array
(
)

POST :
Array
(
)

I suspect that coppermine has some sort of problem of checking if the user is registered in the phpbb user db..........? Is there any way to make this work?

Thanks in advance


Joachim Müller

Quote from: pedens123 on January 30, 2005, 11:00:14 AM
I should mention that I have installed the phpBB ad-on for Coppermine.
What's that? Please post a link to where you got that from.

Joachim

pedens123

#2
QuoteWhat's that?
Sorry, meant the standard phpbb2 integration procedure.

(been awhile since i've last played with coppermine)

pedens123

No one with a possible solution?

would be much appreciated!

Joachim Müller

should work with coppermine, upgarding to most recent stable release cpg1.3.2 recommended. I'm not sure about your question in the first place.
Notices in debug mode are no matter of concern, ignore them if they don't mean anything to you.
No code modifications necessary imo, just restrcit access based on albums permissions.

Joachim

pedens123

Ok, to explain myself:

QuoteBut when I access the gallery, the edited album doesnt show up in the albumlist, and the only way to get it "back" is to manually edit the MySQL variable 'visibility'.

When I have a album set to "only visible to registered members" the album doesnt show up at all...not for guests, members, admins => no one.

To fix it I have to go to phpmyadmin and set the visibility variable to 0 like the public albums

edit: i'll try upgrading later today