Bridging 2 Coppermine Installations with 1 PHPBB Forum!? Bridging 2 Coppermine Installations with 1 PHPBB Forum!?
 

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

Bridging 2 Coppermine Installations with 1 PHPBB Forum!?

Started by Phill, December 27, 2004, 07:02:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Phill

Hello. I have 2 coppermine installations one 1 server, one is bridged and the other isnt.

Is it possible to bridge the second aswell?!

If so, HOW!!!

Many thanks

From Phill

kegobeer

Just bridge the second Coppermine installation like you did the first one.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Phill

what goes in the cpg_redir.php at the phpbb forum?!

ATM its
---------------
<?php
if (!$_SERVER['HTTP_HOST']) {
  $cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
  $cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/gallery';
header("Location: http://domain.com/gallery");
exit;
?>

Joachim Müller

of course the redirector can only go to one install - you'll have to add links to your gallery's navigation to let the user go to the other install as well.
Don't get me wrong; please tell us why you'd want to set up two coppermine installs on one domain: usually people are making this hard by setting up two gallery installs although what they're up to could easily be achieved with one coppermine install.

Joachim

Phill

well they are for 2 different things, i know i could do like a diff category, but im using your SSI for the first galley, and dont want anything from the 2nd to be SSI'd if ya get me.

Plus this 2nd installation is going to have about 50 albums, so I thought it would be best 2 seperate it from my existing 10.


So theres no way this can be acoumplished, with acouple of lines of code, or a quick mod to the phpbb intgration script, to make it read cpg_redir2.php

Many thanks

From Phill

Joachim Müller

just what I thought: the approach to have two separate installs is not needed at all. You're right, ssi.mod doesn't respect permissions, but both the rss feeds and Copperminefetch mod do respect permissions; why don't you just use one of them instead of ssi.mod (I know why using ssi.mod is not recommended any more; after all I coded it)? This would solve all your problems, and you could easily group the albums into categories to make the page less cluttered. In fact I strongly recommend using only one install in your case, you'll get even more trouble later for sure if you have two installs.

Joachim

Phill

thanks for the advice mate,

do you have a URL for the rss feed mod and the Copperminefetch mod (If they arent the same thing) So I can have a test.

Also do you know if the Copperminefetch mod has problems with some random thumbnails, as I have had problems with SSI not being able to show some thumbnails, maybe something to do with a character in the file name or something, who knows.

Many thanks

From Phill

kegobeer

Quotedo you have a URL for the rss feed mod and the Copperminefetch mod (If they arent the same thing) So I can have a test.

Check the mods board, or do a search for rss and copperminefetch.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots