PDA

View Full Version : Date for photos not displayed after upgrade to 5.2


boatdesign
October 8th, 2005, 11:30 AM
Upgraded to photopost to 5.2 the other day, and now I notice one problem: the date under the photos is no longer displayed.

See: http://www.boatdesign.net/gallery/showgallery.php/cat/505
or
http://www.boatdesign.net/gallery/showphoto.php/photo/3913/cat/505

Any ideas?

Chuck S
October 8th, 2005, 12:07 PM
Please ensure you have all the proper files uploaded especially showgallery.tmpl and showgallery.php

{$gallery['ppdate'][$x]} is indeed the correct variable.

boatdesign
October 8th, 2005, 12:47 PM
Reuploaded to be sure, but no change.
Note that the date is also blank on showphoto.php now :(

Chuck S
October 8th, 2005, 01:12 PM
well going to my install the date surely shows.

Do you have show date set to off by chance?

boatdesign
October 8th, 2005, 01:21 PM
If I change it to "off" then neither the date nor "date:" shows.

If I change it to "on" then only "date:" shows but there is no actual date displayed.

I upgraded last week from 4.8d (where everything was working fine.) No erros in any of the steps from 4.8->5.2, and the only problem seems to be that the date is not displaying under each photo now with 5.2.

Chuck S
October 8th, 2005, 01:33 PM
Well I dont know what to suggest other than to make sure your files are correct as I show no issue with this

Maybe when your ftping them the file is not being overwritten

Try deleting showgallery.php and templates/vb3enhanced/showgallery.tmpl and reupload them

boatdesign
October 8th, 2005, 01:54 PM
Deleted /templates/vb3enhanced/showgallery.tmpl

Uploaded the showgallery.tmpl file dated 2005-09-27 containing:

if ( $Globals['dispdate'] == "yes" ) {
echo<<<PPPRINT
<tr>
<td class="{$Style['tddetails']}" align="left">
<span class="{$Style['small']}">{$Globals['pp_lang']['date']}:</span>
</td>
<td class="{$Style['tddetails']}" align="left">
<span class="{$Style['small']}">{$gallery['ppdate'][$x]}</span>
</td>
</tr>
PPPRINT;
}

Yet when I view the gallery or photo in a browser still the date is not displayed. Photopost is only generating:
<tr>
<td class="alt1" align="left">
<span class="smallfont">Date:</span>
</td>
<td class="alt1" align="left">
<span class="smallfont"> </span>
</td>

</tr>

Chuck S
October 8th, 2005, 04:36 PM
Do you have a date format entered in global options in admin section?

boatdesign
October 8th, 2005, 05:15 PM
Thank you! Thank you!

That was it. Under global options, the date format was blank in 5.2. Working perfectly now. Thanks very much!