How can I add the latest pics of a gallery in other web? How can I add the latest pics of a gallery in other web?
 

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

How can I add the latest pics of a gallery in other web?

Started by Steffyjonas, February 15, 2012, 05:38:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Steffyjonas

Hello! I read the rules and I could not find an answer.

I want to add the latest pictures of this gallery: www.joe-jonas.net/gallery in: www.joejonasdaily.com

I want this be so: http://daniel-radcliffe.us/wp/ (my best friend made an example on her website)

She gave me this code:

<?php
  include "/home/joejnet/public_html/Gallery/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("/home/joejnet/public_html/Gallery/cpmfetch/cpmfetch_config.php");
  $objCpm->cpm_viewLastAddedMedia(2,4);
  $objCpm->cpm_close();
?>

and did not work.

(I put the code in wordpress: www.joejonasdaily.com [www.joejonasdaily.com/wp-admin])

Here also I found this code:

<?php
  include "http://joe-jonas.net/home/joejnet/public_html/Gallery/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("http://joe-jonas.net/home/joejnet/public_html/Gallery/cpmfetch/cpmfetch_config.php");
  $objCpm->cpm_viewLastAddedMedia(2,4);
  $objCpm->cpm_close();
?>

but I did not work either.

I really do not know my mistake.

I beg an answer.

from now, thank you very much!

Steffyjonas


lurkalot

I'm assuming you installed CPMFetch first?  It won't work without it.  See CPMFetch for 1.5.x

And you can download CPMFetch 2.0.0 here, attached to the bottom of the first post http://forum.coppermine-gallery.net/index.php/topic,35450.0.html
Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

Steffyjonas


Αndré

I assume this thread is solved? If so, please
Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.