coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: LeoJr2006 on August 26, 2006, 05:34:18 AM

Title: Displaying recent images
Post by: 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
Title: Re: Displaying recent images
Post by: vuud on August 26, 2006, 06:03:12 AM
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.



Title: Re: Displaying recent images
Post by: LeoJr2006 on August 26, 2006, 06:11:34 AM
Indeed, the upgrade fixed my issue. Thank you very much for the rapid response, Vuud.

Title: Re: Displaying recent images
Post by: vuud on August 26, 2006, 06:13:40 AM
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