Advanced search  

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]

Pages: [1]   Go Down

Author Topic: coppermine 1.4.17 and joomla 1.5.2 help please !!!!!  (Read 6431 times)

0 Members and 1 Guest are viewing this topic.

hangnguyen

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
coppermine 1.4.17 and joomla 1.5.2 help please !!!!!
« on: April 13, 2008, 08:45:03 am »

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
Quote
Now 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 !
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: coppermine 1.4.17 and joomla 1.5.2 help please !!!!!
« Reply #1 on: April 13, 2008, 04:21:37 pm »

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

bukavu

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: coppermine 1.4.17 and joomla 1.5.2 help please !!!!!
« Reply #2 on: May 08, 2008, 12:55:10 pm »

what is the best bridge for joomla and coppermine please
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: coppermine 1.4.17 and joomla 1.5.2 help please !!!!!
« Reply #3 on: May 08, 2008, 05:13:10 pm »

I have no idea - I don't use Joomla.
Logged

bukavu

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: coppermine 1.4.17 and joomla 1.5.2 help please !!!!!
« Reply #4 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  :'(
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: coppermine 1.4.17 and joomla 1.5.2 help please !!!!!
« Reply #5 on: May 09, 2008, 05:04:00 pm »

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

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: coppermine 1.4.17 and joomla 1.5.2 help please !!!!!
« Reply #6 on: May 09, 2008, 10:38:45 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.

Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.