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: phpBB Anonymous registers as a User FIXED.  (Read 3669 times)

0 Members and 1 Guest are viewing this topic.

krkeegan

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 53
  • ahh the life...
    • Kevin's Photos
phpBB Anonymous registers as a User FIXED.
« on: August 02, 2005, 07:39:20 am »

I am not sure if this was ever solved I have seen a number of questions but no real answer.

The Problem
Bridging Coppermine with phpBB causes coppermine to think that all guests are logged in as Anonymous and will not display the Login option.

Quick Solution
Edit udb_base.inc.php

Find
Code: [Select]
define('USER_ID', $USER_DATA['user_id']);
Add above the previous line the following code
Code: [Select]
if($USER_DATA['user_name'] == "Anonymous"){
     $this->load_guest_data();
}

This will cause coppermine to associate the username Anonymous as not logged in.
« Last Edit: August 02, 2005, 03:19:21 pm by Nibbler »
Logged
There are no stupid questions, only stupid people. -Mr. Mackey, South Park

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: phpBB Anonymous registers as a User FIXED.
« Reply #1 on: August 02, 2005, 09:46:19 am »

udb_base.inc.php only exists in cpg1.4.x, not in cpg1.3.x, so your posting shouldn't have gone into "CPG 1.3 Standalone Support". Moving accordingly.
Logged

Nibbler

  • Guest
Re: phpBB Anonymous registers as a User FIXED.
« Reply #2 on: August 02, 2005, 03:18:40 pm »

Already fixed in CVS. Update your gallery.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.