Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 01-16-2005, 07:09 AM
usafdcc's Avatar
usafdcc Offline
pp regular
 
Join Date: Jan 2005
Location: New Mexico, USA
Posts: 36
calendar archive showing future posts

Link: http://www.collins-house.us/iseeitli...p?x=calarchive

I like to post a group of future post so a can take care of a whole weeks of entries in one day. My problem is that even though my future posts will not show on my home page, the thumbnails will show on the calendar. Does anyone know a trick that will prevent the thumbnails for future post from showing in the calendar archive. thanks
__________________
Steve@ISeeItLikeThis.com
Reply With Quote
  #2  
Old 01-16-2005, 09:08 AM
Connie
Guest
 
Posts: n/a
which Pixelpost-version are you using?

In version 1.3 it is already integrated, but you can fix it yourself as well:

that is not a big problem, you must modify the index.php somehow

open the index.php in an editor and look for the lines around

Code:
if($_GET['x'] == "browse") {
if the following query shows up like this

Code:
    $query = mysql_query("select id,headline,image from ".$pixelpost_db_prefix."pixelpost $where order by datetime desc");
change it to this line:
Code:
   $query = mysql_query("select id,headline,image from ".$pixelpost_db_prefix."pixelpost where (datetime<='$cdate') $where order by datetime desc");
and you will not have the future-postings displayed!
Reply With Quote
  #3  
Old 01-16-2005, 02:53 PM
usafdcc's Avatar
usafdcc Offline
pp regular
 
Join Date: Jan 2005
Location: New Mexico, USA
Posts: 36
Thank you for your help. I am really liking this program
__________________
Steve@ISeeItLikeThis.com
Reply With Quote
  #4  
Old 02-15-2005, 02:43 PM
winklebleck Offline
pp regular
 
Join Date: Dec 2004
Posts: 26
change days

Is there a way to start the week with Sunday rather than Monday? I changed the
$days = array
to start with Sunday, but all that does is change the top, not the actual days.

(i posted this before, but found this to be more current)
__________________
| pixelpost |
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 08:27 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs