boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

future date

 
Post new topic   Reply to topic    boardom Forum Index -> How to ?
View previous topic :: View next topic  
Author Message
vickster



Joined: 10 Jun 2004
Posts: 2

PostPosted: Thu Jun 10, 2004 2:31 pm    Post subject: future date Reply with quote

is it possible to see post with 'future dates' as well? I installed B2, and everything works fine. my intention is to use b2 as an eventcalendar...so i edited the post date, i was exceptes, only...nothing appears...so my guess is that it will only show up on the day i inserted... can this be changed?
Back to top
View user's profile Send private message
stevem



Joined: 15 Mar 2003
Posts: 153

PostPosted: Thu Jun 10, 2004 6:21 pm    Post subject: Reply with quote

In blog.header.php look for
Code:
if ($pagenow != 'b2edit.php') {
   if ((empty($poststart)) || (empty($postend)) || !($postend > $poststart)) {
      $where .= ' AND post_date <= \''.$now.'\'';

Then comment out the last line so it looks like this
Code:
//      $where .= ' AND post_date <= \''.$now.'\'';
Back to top
View user's profile Send private message
vickster



Joined: 10 Jun 2004
Posts: 2

PostPosted: Fri Jun 11, 2004 10:03 am    Post subject: Reply with quote

Very Happy Very Happy Very Happy

that's it !!!

thank you so much!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> How to ? All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group