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 

Date not showing on same day posts.

 
Post new topic   Reply to topic    boardom Forum Index -> Template help
View previous topic :: View next topic  
Author Message
needleboy



Joined: 23 Jul 2003
Posts: 3

PostPosted: Mon Jan 17, 2005 4:48 pm    Post subject: Date not showing on same day posts. Reply with quote

Hi, I'm having a weird problem, maybe someone can help.

I have a few posts here and there from the same date. The first post of that date will show allright, but the second, third, etc don't show the date.
For example:

Post #1 (latest):
Thursday, Oct 14th, 2004 - 16:46

Post #2 (earlier):
Thursday, - 14:25

This is the code for the date:
Code:

         <?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
         <?php permalink_anchor(); ?>
         <span style="font-size:10px;color:#FFFFFF"><b><?php the_weekday() ?>, <?php the_date("M jS, Y"); ?> - <?php the_time() ?>
</b></span><br>
         <b><span style="font-size:10px;"><?php the_title(); ?></b></span> -
         <a href="http://needleboy.net/contact.php" target="gallery"><img src="envelope.jpg" border="0" align=middle></a><br>
         <span style="font-size:10px;"><?php the_content("0"); ?></span>
         <?php link_pages("<br />Pages: ","<br />","number") ?>
         <br><br>
         <?php } ?>

Any ideas?
Back to top
View user's profile Send private message Visit poster's website
stevem



Joined: 15 Mar 2003
Posts: 369

PostPosted: Mon Jan 17, 2005 6:52 pm    Post subject: Reply with quote

That's how it is supposed to be. To change this see http://cafelog.com/board/viewtopic.php?t=5112
Back to top
View user's profile Send private message
Sigg3



Joined: 03 Jul 2003
Posts: 909
Location: Oslo, Norway

PostPosted: Mon Jan 17, 2005 10:47 pm    Post subject: Reply with quote

Can't he just replace the_date with the_time("d.m.Y @ g:i:s A")?
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center | Fight my BattleImp!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
stevem



Joined: 15 Mar 2003
Posts: 369

PostPosted: Mon Jan 17, 2005 11:42 pm    Post subject: Reply with quote

Yep, and it even says exactly that in the Readme!
Back to top
View user's profile Send private message
needleboy



Joined: 23 Jul 2003
Posts: 3

PostPosted: Tue Jan 18, 2005 8:36 am    Post subject: Reply with quote

great man!
thanks!
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Template help 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