I know, I agree. But, that could be helpfull for fixed height. Maybe in line of thread starter but aligned to right?
It probably wouldn't be any more cluttered with an extra column. The top of the column could say "Days old.' Then only the number would show up next to each thread, instead of '# days old' showing up for every item.
Nah, perfect as it is. Thanks for it, anything that helps avoid newbies bumping up last year's threads is appreciated
That was my first choice (bottom right of the whole table cell), but then I realized all corners are used... upper right shows an attachment icon for threads with an attachment, and bottom right shows "star rating". As far as "fixed height", I don't think it should make a difference because a thread with more than one page already shows the page number links in a smaller font on that line (in fact I intentionally made it the same font/size as that).
you could make the column invisible? just something to line up all the dates though, they're kinda scattered but the idea is really good, so dont feel like i'm slamming it
I suppose could use an absolute position from the right of the table cell, but then you potentially make the whole thing wider than it really needs to be, which I don't really like.
maybe we just need to get used to it. i use a screen thats' 1680 pix wide, so everything always look skewed to me i think it'd look cool too if the date was just a shade lighter than the days old too
I know... mine is 2560 wide, so I'm with you there. Unfortunately not everyone is up there. heh Really? That sounds really odd to me.
Personally, i dont like it, could we have a way of turning it off? Maybe set a cookie or something? <? if($_COOKIE['daysold'] != "off"){ // days old code } ?> PHP: Then just a check box with a set_cookie('daysold','off', 1577854800); ??? PS: i know you what to do Shawn, i just like explaining myself fully PPS: 1577854800 == 01 / 01 / 2020
We'll see how many people don't like it... if enough people really don't like it, I'll take it off or at least give people the option to disable it under their UserCP. The only reason I'd prefer not to make it an option under the UserCP, is it becomes just one more thing that needs to tracked/stored in the database, which is already too much crap as it is.
nah, just leave it up for a few weeks at least. whenever i make changes to my board a lot of people hate it at first like when we switched from phpbb to vbulletin..now everyone loves it
This is why i suggested a cookie, then you dont have an extra thing in the database. Surely this is a viable option?
Feel free to use this if you like; it gives a more precise time difference than always using days as the measurement. You can change the bottom part to print number of days like you do now or add another switch to also put the difference in weeks. "0 days" just looks a little odd to me, like we're talking about wAreZ. function timeago($date,$short='') { $ago = time() - $date; if ($ago < 2) { $ago = "1 second ago"; } else if ($ago < 60) { $ago = $ago . " seconds ago"; } else if ($ago < 120) { $ago= "1 minute ago"; } else if ($ago < 3600) { $ago = intval($ago / 60); $ago= $ago . " minutes ago"; } else if ($ago < 7200) { $ago= "1 hour ago"; } else if ($ago < 86400) { $ago = intval($ago / 3600); $ago= $ago . " hours ago"; } else if ($ago < 172800) { $ago= "Yesterday"; } else { if ($short) { $ago = date("l",$date); } else { $ago = date("l, M. jS, Y",$date); } } return $ago; } PHP:
Hehe... yeah, I'm not too keen on the 0 days thing myself. Was thinking about making it today, yesterday or # of days (for 2 or more) already. My thoughts as well. A few people have asked for it, and maybe it will prevent people from resurrecting really old threads. But for me (personally), the only way I was going to do it was if it required no SQL queries and didn't get in the way.
I don't really think that's a problem. Usually people bump up old threads because they either found it through a SE search or because they're spamming. In either case, this new feature wont help.