PDA

View Full Version : Page-By-Page-Archive future date problem


DMalty
07-01-2007, 03:10 AM
I am moving my site from an old site and did a lot of future posting. Now for the problem. The <BROWSE_MONTHLY_ARCHIVE_PAGED> tag shows the future months along with the number of pictures for that month and no thumbnails.

I also realize that it is more than just a browse problem. I have been using the post one day after last post function but it is still posting (for example, today is 6/30 and the picture for 7/5 is displaying on my page.

BTW, the page is http://www.thislldotoo.com.

Anyone have a similar problem?

jaywilliams
07-01-2007, 05:28 AM
If you are logged in as admin you see all future images.
If you logout, or browse the site on another computer, you will see that the future images are not visible to the public.

This is most likely the cause of your confusion.
Unfortunately, I was not able to verify your situation, because the link you provided above goes to a photoblog that doesn't run Pixelpost.

I hope this answers your question.

DMalty
07-01-2007, 01:13 PM
the link you provided above goes to a photoblog that doesn't run Pixelpost.

I hope this answers your question.

Opps, the link is http://www.thislldotoo.com/pixel

Thanks, you were right about the logging out. However, it seems that the date problem with the addon is still there. It lists five for July, shows only one, anong with the thumbnail for today (the first).

GeoS
07-01-2007, 02:05 PM
Tell us which version you are using because as I remember it was fixed a while ago.

DMalty
07-01-2007, 04:07 PM
Tell us which version you are using because as I remember it was fixed a while ago.


PP - 1.6.0

PHP-version 4.3.11 (Pixelpost's min requirement: PHP version: 4.3.0 )
Session save path /tmp
MySQL version 4.1.20 (Pixelpost's min requirement: MySQL: 3.23.58 )
GD-lib bundled (2.0.28 compatible) with JPEG support
File Uploads to Pixelpost site are possible.
Server Software Apache/2.0.59 (Unix)
EXIF Pixelpost is using exifer v1.5 for EXIF-information.

Page-By-Page-Archive for category and month (for PP v1.4) (paged_archive - version 1.0)

I see that it says for PP v1.4 though I don't see any more recent version.

Thanks for the help!!

GeoS
07-01-2007, 04:23 PM
paged_archive.php @243 change:
$query3 = "SELECT count(*) AS count FROM ".$pixelpost_db_prefix."pixelpost WHERE DATE_FORMAT(datetime, '%Y-%m')='".$thedate ."'";
to:
$query3 = "SELECT count(*) AS count FROM ".$pixelpost_db_prefix."pixelpost WHERE datetime<='$datetime' and DATE_FORMAT(datetime, '%Y-%m')='".$thedate ."'";

It should solve this issue. Till today I though it was done a while ago.

DMalty
07-02-2007, 01:32 AM
Thanks!! That did the trick.