forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: miqrogroove on January 13, 2009, 08:39:21 pm
-
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?
-
How to interpret total lack of response here?
-
If someone posts an updated file we will include it. If they don't we won't.
-
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.
-
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?
-
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.
-
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']);
-
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.
-
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.
-
Done.
http://svn.xmbforum.com/wsvn/XMB/hacks/trunk/coppermine-bridge/
Enjoy.
-
Well done that man.
Zipped and attached to this post.
-
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.
Done.
Great, thanks. I have added your contribution to the SVN, so it will be in cpg1.4.20
-
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.
-
Done in rev 5706, see http://coppermine.svn.sourceforge.net/viewvc/coppermine/trunk/cpg1.4.x/bridge/xmb.inc.php?view=log (http://coppermine.svn.sourceforge.net/viewvc/coppermine/trunk/cpg1.4.x/bridge/xmb.inc.php?view=log)
-
Thanks. Consider it "Solved" 8)