coppermine 1.4.17 and joomla 1.5.2 help please !!!!! coppermine 1.4.17 and joomla 1.5.2 help please !!!!!
 

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

coppermine 1.4.17 and joomla 1.5.2 help please !!!!!

Started by hangnguyen, April 13, 2008, 08:45:03 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

hangnguyen

Hi
The bridge done already (http://www.mehdiplugins.com/misc/), but have small proplem, they did bridge for joomla 1.5.2 and coppermine 1.4.16, not 1.4.17
QuoteNow in the include subfolder , edit the file functions.inc.php . Look for the line:
Quote$template = fread(fopen($template_file, 'r'), filesize($template_file));
Replace it with the following lines:
Quote//-----------------------------------------------------------------------     
        global $BRIDGE;
     
        $integrateTest= false;
        $shortN=$BRIDGE['short_name'];
        if($shortN=='joomla' || $shortN=='joomla15')
        $integrateTest=file_exists("bridge/". $shortN .".integ.php");                     
        if($integrateTest) include ("bridge/". $shortN .".integ.php"); //integrate.php will affect $template var       
       else {
            $template = fread($fileres = fopen($template_file, 'r'), filesize($template_file));
            fclose($fileres);
       }      
        //----------------------------------------------------------------------

but I did not see the line
Quote$template = fread(fopen($template_file, 'r'), filesize($template_file));
in the file functions.inc.php, so which line of fine functions.inc.php so I remove (coppermine 14.17) ???

thanks for your time !

Joachim Müller

There is no support here for the Mehdi bridge. As far as we're concerned, the Mehdi stuff is not a bridge, but a hack. Ask Mehdi.

bukavu

what is the best bridge for joomla and coppermine please

Joachim Müller


bukavu

I managed to hack coppermine into my joomla website http://www.wisdomhouseint.net/coppermine/index.php the problem is that the gallery is not respecting the menu i set it too and appearing in the content space of my website, what can i do?

sorry if this is the wrong place to ask for that kind of help  :'(

Joachim Müller

This is the wrong place - we don't know Joomla. Ask on Joomla-support-boards (or better search and only asked if this hasn't been asked before).

phill104

Quote from: bukavu on May 09, 2008, 02:14:49 PM
I managed to hack coppermine into my joomla website http://www.wisdomhouseint.net/coppermine/index.php the problem is that the gallery is not respecting the menu i set it too and appearing in the content space of my website, what can i do?

sorry if this is the wrong place to ask for that kind of help  :'(

I really should know better than to respond to someone who has hijacked a thread but if you simply remove the poll module from just that page then your gallery will display properly as your theme is too wide for the area you are trying to fit it in.

If you do not know hoe to remove that module from that page read the joomla docs.

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