Hi,
i've been testing a cpg 1.4.4 bridging with Invision Power Board 1.3.1 using the following bridge already posted on this forum :
http://forum.coppermine-gallery.net/index.php?topic=24712.0everything works fine, as expected at least, but i'd like to tweak the bridge a little in order to improve my cpg integration.
Although it won't cover all my integration requirements, i guess i could sumup my problem with the simple following question :
how can i make that cpg/invision1.3 bridge to fetch additional data from my Invision board so i can use that data when building my cpg integration skin/theme ?
For example i would need to get the "avatar" data field from invision "ibf_members" table so i can use it in my custom cpg skin..
Is there a way to do that simply using the bridge functions/arrays or will i have to hack into cpg core routines to fetch that avatar data.
so far the only relevant place where i could handle field names/lists would be the "field" array, like the following one from that bridge :
// Table field names
$this->field = array(
'username' => 'name', // name of 'username' field in users table
'user_id' => 'id', // name of 'id' field in users table
'password' => 'password', // name of 'password' field in users table
'email' => 'email', // name of 'email' field in users table
'regdate' => 'joined', // name of 'registered' field in users table
'location' => 'location', // name of 'location' field in users table
'website' => 'website', // name of 'website' field in users table
'usertbl_group_id' => 'mgroup', // name of 'group id' field in users table
'grouptbl_group_id' => 'g_id', // name of 'group id' field in groups table
'grouptbl_group_name' => 'g_title' // name of 'group name' field in groups table
);
i haven't figured out where that array is used and how/if those data fields are available within cpg code.. so i dont really know if adding my avatar field there would make any sense..
I just want to make something as clean as possible, considering that avatar data has to be dynamic as members can change it whenever they want..
If cpg uses a global $CURRENT_USER array i could substitute some cpg "user_profileX" field with my invision "avatar" one and then use it throughout cpg scripts..
any idea would be appreciated
thx
.flux