Displaying recent images Displaying recent images
 

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

Displaying recent images

Started by LeoJr2006, August 26, 2006, 05:34:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LeoJr2006

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

vuud

Quote from: LeoJr2006 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


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.



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

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


vuud

Quote from: LeoJr2006 on August 26, 2006, 06:11:34 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

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