PDA

View Full Version : Today/Yesterday Time



Thunderfall
Mon 26th Aug '02, 7:45pm
On the beta forum, threads posted today and yesterday have the "Today" and "Yesterday" labels instead of the date. Please don't make this the default format. I installed that Today/Yesterday hack to my forum a while ago and most of my members disliked it. It makes the page look more ugly because the alignment is not straignt.

Besides, it's always good to have the forum remind what today's date is.

Fusion
Tue 27th Aug '02, 1:12am
I'm fairly certain this feature will be optional, as there has been some confusion with regards to how this feature overlaps.

bigmattyh
Tue 27th Aug '02, 6:34am
Do you mean that the alignment within the "last post" column is off? That is a problem with the standard hack (due to the way the standard templates handle dates), but there are ways of fixing it.

I'd like to invite you to check out the forum page of my new site: http://forum.icomix.com, and take a look at how the Yesterday/Today alignment is handled there. Of course, the posts there may not be recent enough to give you a full impression (the posting comes in waves) but feel free to post in the Guest Forum.

Fusion
Tue 27th Aug '02, 8:05am
No, I meant overlaps in a time-sense, like if someone posts at or around the stroke of midnight. The alignment is just fine. :)

PeterNRG
Tue 27th Aug '02, 11:12am
Originally posted by Fusion
No, I meant overlaps in a time-sense, like if someone posts at or around the stroke of midnight. The alignment is just fine. :)

http://beta.vbulletin.com/vb3/showthread.php?threadid=435
this post was exactly about the "Midnight issue" which people encounter and find odd. Unfortunately the developers think otherwise about this, unless we all can convince them :)

Fusion
Tue 27th Aug '02, 1:04pm
Originally posted by PeterNRG
http://beta.vbulletin.com/vb3/showthread.php?threadid=435
this post was exactly about the "Midnight issue" which people encounter and find odd. Unfortunately the developers think otherwise about this, unless we all can convince them :) ..which is why I expect it to end up as optional. :p

Thunderfall
Tue 27th Aug '02, 2:46pm
Originally posted by bigmattyh
Do you mean that the alignment within the "last post" column is off? That is a problem with the standard hack (due to the way the standard templates handle dates), but there are ways of fixing it.

yeah, I disliked it because the dates are in 3 different lengths. I prefer the dates to have the same length so the last post column looks neater. :)

Screenshot attached:

Arkham
Tue 27th Aug '02, 4:06pm
Originally posted by HappyPike
yeah, I disliked it because the dates are in 3 different lengths. I prefer the dates to have the same length so the last post column looks neater. :)


Can't you get around that by editing the template? I don't know the specifics, but I was planning on putting the date and time on 2 lines anyway, under/over.

I agree with the suggestion that the Today display should be optional, though.

PeterNRG
Tue 27th Aug '02, 4:26pm
Originally posted by HappyPike
yeah, I disliked it because the dates are in 3 different lengths. I prefer the dates to have the same length so the last post column looks neater. :)


That is simply a template thing which can be fixed by the siteowner in many different ways (tablecells, css code, dhtml etc). So that's not the real issue at all.

Thunderfall
Tue 27th Aug '02, 5:13pm
I know it can be changed easily in the template, maybe by adding extra spaces after Today/Yesterday. I just don't want to edit the template for such small things, especially when my forum has like 6 different styles.

I have no problem with it if they make it an optional feature. :)

PeterNRG
Tue 27th Aug '02, 6:48pm
This is the ultimate date/time display feature IMHO:

http://nrg.be/1dayagovb3.gif

Just provide the $variables, so people can choose how they want the date/time to be displayed.

Arkham
Wed 28th Aug '02, 1:01pm
Originally posted by PeterNRG
This is the ultimate date/time display feature IMHO:


That's exactly the way I want to do mine. In my mock-ups I only have today/yesterday though (got tired of that specificity on IGN's UBB setup), but after looking at your example I see the light. It works well.

Great idea...

PeterNRG
Fri 30th Aug '02, 6:13pm
Thanks! At least one person I could convince :)

samtha25
Sat 31st Aug '02, 6:43pm
Originally posted by Fusion
..which is why I expect it to end up as optional. :p
I surely hope so.

Freddie Bingham
Sun 1st Sep '02, 3:13am
I changed the display (temporarily) to see what this other system works out to. It goes back to 4 weeks and then reverts to showing the normal date format.

PeterNRG
Sun 1st Sep '02, 6:38am
Originally posted by freddie
I changed the display (temporarily) to see what this other system works out to. It goes back to 4 weeks and then reverts to showing the normal date format.

Cool stuff freddie.

Here's the trick when you want to display the full date & time when you mouseover the tablecell:

<td title="$fulldatetimevariable">

Freddie Bingham
Sun 1st Sep '02, 1:42pm
Originally posted by PeterNRG
Cool stuff freddie.

Here's the trick when you want to display the full date & time when you mouseover the tablecell:

<td title="$fulldatetimevariable"> I'm just testing what it looks like. I will leave any html type things up to Kier.

XiXora
Sun 1st Sep '02, 1:54pm
if we have this option when its released could there be an alt tag thing to show the actual date and time it was posted please :)

and would be able to change it via the admin panel from 4 weeks to like one day or 1 second? \o/

PeterNRG
Thu 3rd Jul '03, 1:22pm
Sorry to bump this old thread. I know we have a detailed datestamp display option by now (thanks for that), but I would prefer to see a mixture of detailed display in combination with normal display, just like on my previous mockup:

http://nrg.be/1dayagovb3.gif

Is this still possible? How about providing us variables like $date $time $yestertoday $detailed so we can choose where we want to use certain datestamp displays?

By doing that, the datestamp option in the ACP will probably become useless, but it's giving the user all the options to creatively display datestamps :)

If variables could be provided, then I think it's also important to work out the Detailed Display option some more, to keep it uniform:
just posted! 1to59 minute(s) ago, 1to24 hour(s) ago 1to6 day(s) ago 1to4week(s) ago 1to11month(s) ago 1toXXX year(s) ago.

Marula
Wed 25th Feb '04, 7:36am
What variables did you use to get the "1 hour ago" etc? Where do I change this?