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: phpBB Anonymous registers as a User FIXED.  (Read 3928 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.015 seconds with 18 queries.