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: cpmFetch + coppermine modules  (Read 7621 times)

0 Members and 1 Guest are viewing this topic.

lordiefe

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
cpmFetch + coppermine modules
« on: April 21, 2007, 01:40:09 am »

Why I cant in my joomla home page 2 modules apply to 2 diferent galleries?

is posible config two different  modules apply to two different galleries?

I have installing and ready cpmFetch in this galleries.  but in my joomla aplication i can view this galleries at the same time?????
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: cpmFetch + coppermine modules
« Reply #1 on: April 22, 2007, 06:05:15 pm »

Why I cant in my joomla home page 2 modules apply to 2 diferent galleries?

is posible config two different  modules apply to two different galleries?

I have installing and ready cpmFetch in this galleries.  but in my joomla aplication i can view this galleries at the same time?????

You can, its just not as easy.

If you are using someones joomla plugin, you may need to modify that.

Basically:

1) Include cpmfetch.php only once in the first one you use

2) If you are connecting to another gallery use a different variable name $objCpm2 or something

Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

viajero

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
  • Webmaster and Traveller
    • Der Reisende unterwegs
Re: cpmFetch + coppermine modules
« Reply #2 on: April 23, 2007, 06:05:52 pm »

Hi Lordiefe,

as I stated in the other answer - you can do that with mod_ExtCoppermine V1.1
because you can change the name of the configuration file at the backend
I did not tested it yet at my test development, but it should work out

if you have problems visit my forum or pm me directly

saludos
André alias viajero
Logged

lordiefe

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: cpmFetch + coppermine modules
« Reply #3 on: April 23, 2007, 11:13:45 pm »

Hello

I change $objCpm for $objCpm2 but the error continue......

Fatal error: Cannot redeclare class cpm in /home/.jeris/anc/ancsports.net/photogallery/cpmfetch/cpmfetch.php on line 1698
Logged

lordiefe

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: cpmFetch + coppermine modules
« Reply #4 on: April 23, 2007, 11:28:32 pm »

Hi andre

I download your ultimate version, but this is incomplete.

Can you send me your module in my emal?

diefe@hotmail.com   thanks
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: cpmFetch + coppermine modules
« Reply #5 on: April 23, 2007, 11:58:48 pm »

Hi andre

I download your ultimate version, but this is incomplete.

Can you send me your module in my emal?

diefe@hotmail.com   thanks

Are you sure you are doing include_once and not just include?
Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

lordiefe

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: cpmFetch + coppermine modules
« Reply #6 on: April 24, 2007, 12:18:24 am »

Hi master

where insert this change?


Diego



Logged

lordiefe

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: cpmFetch + coppermine modules
« Reply #7 on: April 24, 2007, 12:39:34 am »

Master, you can sen me the instructions step by step for the changes in cpmfecht and cpg modules.

This are my galleries

http://www.ancsports.net/ancgallery/cpmfetch/screen.php

http://www.ancsports.net/photogallery/cpmfetch/screen.php

and the joomla home page.

http://www.zignoz.com/mambo/

thanks master
Logged

viajero

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
  • Webmaster and Traveller
    • Der Reisende unterwegs
Re: cpmFetch + coppermine modules
« Reply #8 on: April 24, 2007, 11:47:55 am »

Hello

I change $objCpm for $objCpm2 but the error continue......

Fatal error: Cannot redeclare class cpm in /home/.jeris/anc/ancsports.net/photogallery/cpmfetch/cpmfetch.php on line 1698

Hi Lordiefe,

I can reproduce the error - but at the moment this module was not created to view pictures from several galleries at the same page. For different pages it should work without problems. I will have a look into it, how to make this $objCpm Variable changeable from the backend. At the moment it is not priority 1 - because I am getting Papa soon and this will reduce my spare time in finding faults. Things like that you can ask in my forum - I am not too often around here :)

saludos
André
Logged

viajero

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
  • Webmaster and Traveller
    • Der Reisende unterwegs
Re: cpmFetch + coppermine modules
« Reply #9 on: April 24, 2007, 12:55:54 pm »

Hi guys,

it solved  :)
and all is already there, you just have to do it !

as you have already stated - you have cpmFetch installed twice in both galleries - means you have already 2 config files: cpmfetch_config.php
1. you copy and rename the cpmfetch_config.php from the second gallery installation into the cpmfetch folder of your first gallery installation
2. point in the module at the backend to the renamed config file
3. ready
4. it works on my site !


saludos
André
Logged

lordiefe

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: cpmFetch + coppermine modules
« Reply #10 on: April 24, 2007, 09:34:53 pm »

Logged

lordiefe

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: cpmFetch + coppermine modules
« Reply #11 on: April 24, 2007, 10:00:39 pm »

how redirect path and root in the pmfetch_config1.php (this is a file for the second gallery)
Logged

lordiefe

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: cpmFetch + coppermine modules
« Reply #12 on: April 24, 2007, 10:05:27 pm »

Do you can send me a example code_ please.
Logged

viajero

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
  • Webmaster and Traveller
    • Der Reisende unterwegs
Re: cpmFetch + coppermine modules
« Reply #13 on: April 25, 2007, 03:43:25 pm »

Hi lordiefe,

I can just repeat, what I wrote, maybe I am not too patient  ???

if you have already installed joomla + coppermine gallery1 + gallery2 and cpmFetch for each gallery then you are able to do it

both cpmFetch installations contain by standard the cpmfetch_config.php file - and both are containing the different settings for each gallery.
So far you copy the cpmfetch_config.php from gallery1/cpmfetch/ to gallery2/cpmfetch/ and for sure rename it before.
in the module mod_Extcoppermine I included a field, where you can enter the cpmfetch_config.php filename
now you should have under gallery1/cpmfetch/  - 2 config files, to which you can point at the backend

Sorry, I cant do it for you, cause of restricted time
learning by selfdoing :)

saludos
André alias viajero

Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 15 queries.