Display by owner name Display by owner name
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Display by owner name

Started by tpr, October 04, 2008, 04:48:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tpr

Hi,
I'm trying to use the following code :
include "../gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("../gallery/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewLastAddedMedia("owner=admin",1,4);
$objCpm->cpm_close();

with very little success.
When I remove the owner=admin the images are displayed correctly.
I check and the user admin did upload several pictures (so the gallery should not be empty) and in-fact, I can go to :
http://www.yehida.co.il/gallery/thumbnails.php?album=lastupby&uid=1
and see that images were uploaded (and that the name is admin).
Now, I'm using a bridge with vbulletin which manages the registration (however the same user is being created in coppermine so there should not be any problems).
Any ideas ?

Thanks