XMB Bridge Obsolete XMB Bridge Obsolete
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

XMB Bridge Obsolete

Started by miqrogroove, January 13, 2009, 08:39:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

miqrogroove

We just had a Coppermine question over at xmbforum.com.  I tracked down the cpg1419/bridge/xmb.inc.php file, and it does not appear to be compatible with any version of XMB released since 2006.  Can this be updated to prevent confusion?

miqrogroove

How to interpret total lack of response here?

Nibbler

If someone posts an updated file we will include it. If they don't we won't.

Joachim Müller

Clarification: the coppermine devs usually don't develop nor maintain bridge files for exotic third-party apps. We expect bridge files to come as contributions from the corresponding communities - in this case, from the xmb community. If the community will provide a working bridge, that's fine - we'll include it with future releases. If the xmb community doesn't, we can't help this.
The bridging ability of coppermine is an extra feature that coppermine used to have first (before all of the "competing" gallery applications came up with a similar thing, more or less). Coppermine has been designed initially with bridging in mind at a very early stage.
However, the coppermine devs simply can not keep up with the progress of development for all the bridging apps: we'd need to maintain way to many testbeds and we'd have to keep way to many applications up-to-date. That's something we simply can't do.
Seen in relation to the popularity of phpBB, xmb is an exotic application. We don't have the time to look into the bridge file for xmb, sorry.
Applications that could potentially be bridged with coppermine go by the thousands: in fact, every application that has it's own user management could be used for bridging purposes, provided that someone comes up with a bridge file. There are constantly requests by users to see particular bridge files developed. The answer remains the same: the bridge file needs to come from the community. Strong communities will provide one. Not-so-strong communities can't, which is a pity, but we can't help.

miqrogroove

I saw the documentation for installing a Coppermine bridge, but I could not find any documentation for writing one.  Since I only know the XMB system, how can I possibly contribute to this?

phill104

Have you looked at the bridge files (attached to this post)?

If you know xmb well it should not be too hard to chage the file to work with the latest xmb.

As you say, you do not know coppermine. The same goes for the coppermine devs, they do not know XMB. They rely on users who know both to develop a bridge for the more exotic apps like XMB.

It is a mistake to think you can solve any major problems just with potatoes.

miqrogroove

Quote from: Phill Luckhurst on January 23, 2009, 11:25:40 PM
Have you looked at the bridge files (attached to this post)?

Yes, but like I said I don't recognize anything in there other than the XMB variable names.  Maybe you could help explain these other things?


$this->use_post_based_groups = 1;
$this->multigroups = 1;
$this->group_overrride = 1;

$this->page = array(
'register' => '/register.php',
'editusers' => '/misc.php?action=list',
'edituserprofile' => '/member.php?action=viewpro&member='
);

// Group ids
$this->admingroups = array(8,9);
$this->guestgroup = 3;

$udb_groups = array(3=>'Guests');

$udb_groups[$row['id']+100] = utf_ucfirst(utf_strtolower($row[$this->field['grouptbl_group_name']]));

return array($this->get_user_id($_COOKIE['xmbuser']), $_COOKIE['xmbpw']);

justal

I'm trying to bridge Coppermine with XMB too....

I have managed it successfully in the past with older versions of XMB, but if I enable bridging with the latest version I get a message in Coppermine saying 'Not allowed to run this file directly.'

Does anyone have any ideas how to fix this?

Thanks,
Alan.

miqrogroove

Since there doesn't seem to be any real support here, I will install Coppermine on our testing site and see if I can pick this apart by myself.

miqrogroove


phill104

#10
Well done that man.

Zipped and attached to this post.
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

Quote from: miqrogroove on January 23, 2009, 08:32:44 PM
I saw the documentation for installing a Coppermine bridge, but I could not find any documentation for writing one. 
Sorry, there is no such documentation that explains how to write a bridge.

Quote from: miqrogroove on January 28, 2009, 08:22:15 AM
Done.
Great, thanks. I have added your contribution to the SVN, so it will be in cpg1.4.20

miqrogroove

Do me a favor and add this in there

http://svn.xmbforum.com/wsvn/XMB/hacks/trunk/coppermine-bridge/xmb.inc.php?op=diff&rev=1693

I had to undo a change in the "cookie fix" part of the header.

Joachim Müller


miqrogroove

Thanks.  Consider it "Solved"  8)