coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: Steffyjonas on February 15, 2012, 05:38:31 PM

Title: How can I add the latest pics of a gallery in other web?
Post by: Steffyjonas on February 15, 2012, 05:38:31 PM
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!
Title: Re: How can I add the latest pics of a gallery in other web?
Post by: Steffyjonas on February 15, 2012, 05:41:40 PM
* but did not work either.
Title: Re: How can I add the latest pics of a gallery in other web?
Post by: lurkalot on February 15, 2012, 06:30:10 PM
I'm assuming you installed CPMFetch first?  It won't work without it.  See CPMFetch for 1.5.x (http://forum.coppermine-gallery.net/index.php/topic,65412.0.html)

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
Title: Re: How can I add the latest pics of a gallery in other web?
Post by: Steffyjonas on February 17, 2012, 03:27:56 PM
thank you so much! I love you! :)
Title: Re: How can I add the latest pics of a gallery in other web?
Post by: Αndré on February 24, 2012, 04:25:18 PM
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.