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: How can I add the latest pics of a gallery in other web?  (Read 2092 times)

0 Members and 1 Guest are viewing this topic.

Steffyjonas

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
How can I add the latest pics of a gallery in other web?
« 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!
Logged

Steffyjonas

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: How can I add the latest pics of a gallery in other web?
« Reply #1 on: February 15, 2012, 05:41:40 pm »

* but did not work either.
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 947
  • +Tinyportal Support team.
Re: How can I add the latest pics of a gallery in other web?
« Reply #2 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

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
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

Steffyjonas

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: How can I add the latest pics of a gallery in other web?
« Reply #3 on: February 17, 2012, 03:27:56 pm »

thank you so much! I love you! :)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: How can I add the latest pics of a gallery in other web?
« Reply #4 on: February 24, 2012, 04:25:18 pm »

I assume this thread is solved? If so, please
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.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.