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: Displaying recent images  (Read 6951 times)

0 Members and 1 Guest are viewing this topic.

LeoJr2006

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Displaying recent images
« on: August 26, 2006, 05:34:18 am »

I'm trying to display the most recent added media, but its only displaying media that I uploaded for some reason. It's not showing anything from other people's galleries.

include "../cpmfetch/cpmfetch.php";
$objCpm = new cpm("/gallery");
$objCpm->cpm_viewLastAddedMedia(1,8);

Why is it doing this? Is my format incorrect? Thanks

http://airgunbbs-usa.com
« Last Edit: August 26, 2006, 07:05:26 am by GauGau »
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Displaying recent images
« Reply #1 on: August 26, 2006, 06:03:12 am »

I'm trying to display the most recent added media, but its only displaying media that I uploaded for some reason. It's not showing anything from other people's galleries.

include "../cpmfetch/cpmfetch.php";
$objCpm = new cpm("/gallery");
$objCpm->cpm_viewLastAddedMedia(1,8);

Why is it doing this? Is my format incorrect? Thanks

http://airgunbbs-usa.com


Most likely due to being bridged...  Make sure you have the most recent development version from the http://cpmfetch.fistfullofcode.com web site.   I think it is 1.6.3 maybe?

Anyway, that version removed the code that was causing problems with bridging.

If you are not bridging cpg with your forum, let me know.  That will mean I was wrong.  So very very wrong.



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

LeoJr2006

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Displaying recent images
« Reply #2 on: August 26, 2006, 06:11:34 am »

Indeed, the upgrade fixed my issue. Thank you very much for the rapid response, Vuud.

Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Displaying recent images
« Reply #3 on: August 26, 2006, 06:13:40 am »

Indeed, the upgrade fixed my issue. Thank you very much for the rapid response, Vuud.

Insomnia is a forums greatest asset

You are welcome

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
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.