forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: krkeegan on August 02, 2005, 07:39:20 am

Title: phpBB Anonymous registers as a User FIXED.
Post by: krkeegan 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.
Title: Re: phpBB Anonymous registers as a User FIXED.
Post by: Joachim Müller 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.
Title: Re: phpBB Anonymous registers as a User FIXED.
Post by: Nibbler on August 02, 2005, 03:18:40 pm
Already fixed in CVS. Update your gallery.