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: Display by owner name  (Read 2973 times)

0 Members and 1 Guest are viewing this topic.

tpr

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Display by owner name
« on: October 04, 2008, 04:48:35 pm »

Hi,
I'm trying to use the following code :
Code: [Select]
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
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.