phpBB Anonymous registers as a User FIXED. phpBB Anonymous registers as a User FIXED.
 

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

Main Menu

phpBB Anonymous registers as a User FIXED.

Started by krkeegan, August 02, 2005, 07:39:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

krkeegan

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
define('USER_ID', $USER_DATA['user_id']);

Add above the previous line the following code
if($USER_DATA['user_name'] == "Anonymous"){
     $this->load_guest_data();
}


This will cause coppermine to associate the username Anonymous as not logged in.
There are no stupid questions, only stupid people. -Mr. Mackey, South Park

Joachim Müller

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.

Nibbler