date does not appear date does not appear
 

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

date does not appear

Started by hozyali, March 20, 2007, 07:20:49 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

hozyali

Hi, I am using the following code to fetch gallery images on my website homepage. www.saxophonestocollect.com

Quote<?php   
include "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm('./gallery/cpmfetch/cpmfetch_config.php');
$options = array(
//'subtitle' => '%t <br> %S KB' ,
"tablestyle" => "thumbnails",
"cellstyle" => "cellwidth",
"linkstyle" => "thumb_caption",
"alttag" => "%c",
"subtitle" => "<span class=thumb_caption><b>%t </b><br>%w</span>",
"imagestyle" => "image",
"imagesize" => 'thumb');
//$objCpm->cpm_viewRandomMedia (1,4);
/*$styleguide = array(
      "linkstyle" => "photoclip",
      "alttag" => "views: %h",
      "subtitle" => "%h views",
      "imagestyle" => "photoclip",
      "imagesize" => 'thumb');
      */
$objCpm->cpm_viewLastAddedMedia (2,4,$options);
$objCpm->cpm_close();
?>

but the uploaded date is not appearing below the image title, can some one please advise what's wrong?
I am also using the same code at www.bookstocollect.com with only version difference and its working fine.

Thanks for your help.

Ali

vuud

Quote from: hozyali on March 20, 2007, 07:20:49 AM
but the uploaded date is not appearing below the image title, can some one please advise what's wrong?
I am also using the same code at www.bookstocollect.com with only version difference and its working fine.

When you say version difference, what do you mean?

CpmFetch version?  CPG version, MySQL version?

and what are the version differences...

Oh wait, try capital %W

I think the doc's are wrong on the lowercase w.





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

hozyali

I tried capital %W, Now it shows different numbers below the images, please refer to www.saxophonestocollect.com

the version is the latest version of CPMFetch I am using.

Please advise.

Ali

vuud

Quote from: hozyali on March 20, 2007, 06:02:23 PM
I tried capital %W, Now it shows different numbers below the images, please refer to www.saxophonestocollect.com

the version is the latest version of CPMFetch I am using.

Please advise.

Ali


The latest version is 1.9.12 from yesterday... Is that it?

You can try {{pCtimeFormatted}} instead of the %W or %w

That is the new way of doing things...

Let me know if that works or not...  Either way something is strange




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

hozyali

the version was 1.9.9 or .10 I think. that the versino you sent me pvt message for when I had bmp files issue with it. (I hope you remember)

Regards
Ali

hozyali

Hey, this {{pCtimeFormatted}} works great.

Thanks a lot for your help.

Regards
Ali

vuud

Quote from: hozyali on March 21, 2007, 08:03:37 AM
Hey, this {{pCtimeFormatted}} works great.

Thanks a lot for your help.

Regards
Ali


Those are the future my friend.  The old %x way of doing it was becoming a problem.  I rapidly ran out of ones that made sense, and overall was starting to run out of letters.

The releasenotes have a part that lists all the fields you can use.

I must have broke the legacy parsing connection ... it only does the % processing if it needs to now.



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