Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Problem with restricted user acces and phpBB  (Read 5173 times)

0 Members and 1 Guest are viewing this topic.

pedens123

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Problem with restricted user acces and phpBB
« on: January 30, 2005, 11:00:14 am »

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
 
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with restricted user acces and phpBB
« Reply #1 on: January 30, 2005, 01:30:45 pm »

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
Logged

pedens123

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Problem with restricted user acces and phpBB
« Reply #2 on: January 30, 2005, 02:11:51 pm »

Quote
What's that?
Sorry, meant the standard phpbb2 integration procedure.

(been awhile since i've last played with coppermine)
« Last Edit: January 30, 2005, 02:26:47 pm by pedens123 »
Logged

pedens123

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Problem with restricted user acces and phpBB
« Reply #3 on: January 31, 2005, 08:39:19 pm »

No one with a possible solution?

would be much appreciated!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with restricted user acces and phpBB
« Reply #4 on: February 01, 2005, 06:48:22 am »

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
Logged

pedens123

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Problem with restricted user acces and phpBB
« Reply #5 on: February 01, 2005, 09:52:36 am »

Ok, to explain myself:

Quote
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'.

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

Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 18 queries.