Show Thread Age

Discussion in 'Support & Feedback' started by geniosity, Jan 26, 2006.

  1. _vlada_

    _vlada_ Peon

    Messages:
    743
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    0
    #21

    I know, I agree. But, that could be helpfull for fixed height. Maybe in line of thread starter but aligned to right? :)
     
    _vlada_, Jan 26, 2006 IP
  2. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #22
    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.
     
    Nintendo, Jan 26, 2006 IP
  3. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #23
    Nah, perfect as it is.

    Thanks for it, anything that helps avoid newbies bumping up last year's threads is appreciated
     
    fryman, Jan 26, 2006 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #24
    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).
     
    digitalpoint, Jan 26, 2006 IP
  5. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #25
    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 :)
     
    Dekker, Jan 26, 2006 IP
  6. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #26
    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.
     
    digitalpoint, Jan 26, 2006 IP
  7. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #27
    maybe we just need to get used to it. i use a screen thats' 1680 pix wide, so everything always look skewed to me :p

    i think it'd look cool too if the date was just a shade lighter than the days old too
     
    Dekker, Jan 26, 2006 IP
  8. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #28
    Sweet new feature Shawn! Thanks for the hard work you put into this site, it's much appreciated.
     
    fsmedia, Jan 26, 2006 IP
  9. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #29
    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.
     
    digitalpoint, Jan 26, 2006 IP
  10. Dread

    Dread Peon

    Messages:
    323
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #30
    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 :p

    PPS: 1577854800 == 01 / 01 / 2020
     
    Dread, Jan 26, 2006 IP
  11. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #31
    shade darker i mean :p just a few so the number is almost "bolded" but without the actual <b></b>
     
    Dekker, Jan 26, 2006 IP
  12. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #32
    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.
     
    digitalpoint, Jan 26, 2006 IP
  13. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #33
    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 :p

    like when we switched from phpbb to vbulletin..now everyone loves it
     
    Dekker, Jan 26, 2006 IP
  14. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #34
    I already tested it with the number being bold, but it looked odd.
     
    digitalpoint, Jan 26, 2006 IP
  15. Dread

    Dread Peon

    Messages:
    323
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #35
    This is why i suggested a cookie, then you dont have an extra thing in the database. Surely this is a viable option?
     
    Dread, Jan 26, 2006 IP
  16. TheHoff

    TheHoff Peon

    Messages:
    1,530
    Likes Received:
    130
    Best Answers:
    0
    Trophy Points:
    0
    #36
    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:
     
    TheHoff, Jan 26, 2006 IP
  17. Crazy_Rob

    Crazy_Rob I seen't it!

    Messages:
    13,157
    Likes Received:
    1,366
    Best Answers:
    0
    Trophy Points:
    360
    #37
    I don't, personally, see the need for it. But it's not too annoying.
     
    Crazy_Rob, Jan 26, 2006 IP
  18. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #38
    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.
     
    digitalpoint, Jan 26, 2006 IP
  19. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #39
    how bout if it's 0 days, it doesn't show up?

    or even like if it's 2-3 days old it doesn't show up?
     
    Dekker, Jan 26, 2006 IP
  20. Crazy_Rob

    Crazy_Rob I seen't it!

    Messages:
    13,157
    Likes Received:
    1,366
    Best Answers:
    0
    Trophy Points:
    360
    #40

    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.
     
    Crazy_Rob, Jan 26, 2006 IP