coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: DaxMan on September 03, 2005, 10:06:28 PM

Title: IPB 2.0.4 : Ecard function doesn´t work
Post by: DaxMan on September 03, 2005, 10:06:28 PM
Hi,

Im trying to send Ecard but it fails.
Before the integration on IPB 2.0.4 it worked.
Im importing usergroups from my Data Base and i changed in the IPB bridge file
$sql = "SELECT id as user_id, name as user_name, mgroup " . "FROM " . $UDB_DB_NAME_PREFIX . IB_TABLE_PREFIX . IB_USER_TABLE . " " . "WHERE id='$cookie_uid' AND password='$cookie_pass'";

to

$sql = "SELECT id as user_id, name as user_name, mgroup " . "FROM " . $UDB_DB_NAME_PREFIX . IB_TABLE_PREFIX . IB_USER_TABLE . " " . "WHERE id='$cookie_uid' AND member_login_key='$cookie_pass'";

and now the Ecard function doesn´t work :(

Here is the error message:

While executing query "SELECT name as user_name, mgroup, email as user_email, joined as user_regdate, location as user_location, interests as user_interests, website as user_website FROM `forum`.ibf_members WHERE id = '1'" on 0

mySQL error: unknown column 'location' i field list


USER:
------------------
Array
(
    [ID] => 53c83d4821ab0b3e21c5bdf69ab03006
    [am] => 1
    [liv] => Array
        (
           
Title: Re: IPB 2.0.4 : Ecard function doesn´t work
Post by: Nibbler on September 03, 2005, 10:08:52 PM
Are you using the 2.0 version of the IPB bridge file ?
Title: Re: IPB 2.0.4 : Ecard function doesn´t work
Post by: DaxMan on September 03, 2005, 10:11:54 PM
Quote from: Nibbler on September 03, 2005, 10:08:52 PM
Are you using the 2.0 version of the IPB bridge file ?

Im using this file ( info from the header )
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2005 Coppermine Dev Team
  v1.1 originaly written by Gregory DEMAR

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
  ********************************************
  Coppermine version: 1.3.4
  $Source: /cvsroot/coppermine/stable/bridge/invisionboard.inc.php,v $
  $Revision: 1.10 $
  $Author: gaugau $
  $Date: 2005/08/19 07:08:25 $
**********************************************/
Title: Re: IPB 2.0.4 : Ecard function doesn´t work
Post by: Nibbler on September 03, 2005, 10:13:54 PM
Right, that file is for IPB 1.3. You need to grab the file for IPB 2 from the mods board.
Title: Re: IPB 2.0.4 : Ecard function doesn´t work
Post by: DaxMan on September 03, 2005, 10:17:05 PM
Quote from: Nibbler on September 03, 2005, 10:13:54 PM
Right, that file is for IPB 1.3. You need to grab the file for IPB 2 from the mods board.

Ok...sorry to be a noob here ( it my first day ) where can i find this "mods board"

//DaxMan
Title: Re: IPB 2.0.4 : Ecard function doesn´t work
Post by: Nibbler on September 03, 2005, 10:39:13 PM
Modifications/Add-Ons/Hacks (http://forum.coppermine-gallery.net/index.php?board=8.0)