Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: XMB Bridge Obsolete  (Read 43812 times)

0 Members and 1 Guest are viewing this topic.

miqrogroove

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
  • XMB Developer
XMB Bridge Obsolete
« 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?
Logged

miqrogroove

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
  • XMB Developer
Re: XMB Bridge Obsolete
« Reply #1 on: January 21, 2009, 09:12:12 pm »

How to interpret total lack of response here?
Logged

Nibbler

  • Guest
Re: XMB Bridge Obsolete
« Reply #2 on: January 21, 2009, 09:21:07 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: XMB Bridge Obsolete
« Reply #3 on: January 22, 2009, 09:16:21 am »

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.
Logged

miqrogroove

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
  • XMB Developer
Re: XMB Bridge Obsolete
« Reply #4 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.  Since I only know the XMB system, how can I possibly contribute to this?
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: XMB Bridge Obsolete
« Reply #5 on: January 23, 2009, 11:25:40 pm »

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.

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

miqrogroove

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
  • XMB Developer
Re: XMB Bridge Obsolete
« Reply #6 on: January 26, 2009, 12:44:21 am »

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?

Code: [Select]
$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']);
Logged

justal

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 46
Re: XMB Bridge Obsolete
« Reply #7 on: January 27, 2009, 02:59:20 pm »

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.
Logged

miqrogroove

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
  • XMB Developer
Re: XMB Bridge Obsolete
« Reply #8 on: January 28, 2009, 12:17:35 am »

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.
Logged

miqrogroove

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
  • XMB Developer
Re: XMB Bridge Obsolete
« Reply #9 on: January 28, 2009, 08:22:15 am »

Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: XMB Bridge Obsolete
« Reply #10 on: January 28, 2009, 08:37:37 am »

Well done that man.

Zipped and attached to this post.
« Last Edit: January 28, 2009, 08:44:12 am by Phill Luckhurst »
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: XMB Bridge Obsolete
« Reply #11 on: January 28, 2009, 10:45:57 am »

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
Logged

miqrogroove

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
  • XMB Developer
Re: XMB Bridge Obsolete
« Reply #12 on: January 28, 2009, 08:33:41 pm »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

miqrogroove

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
  • XMB Developer
Re: XMB Bridge Obsolete
« Reply #14 on: January 30, 2009, 12:24:33 am »

Thanks.  Consider it "Solved"  8)
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 20 queries.