Home › Forums › Lordyuanshu.com Bar › Admin request – Show posts' time stamp instead of…
- This topic has 22 replies, 6 voices, and was last updated 14 years, 1 month ago by
sonic.penguin.
-
AuthorPosts
-
January 4, 2012 at 3:02 am #5323
MeteorStrike
ParticipantHi.
So here is something that I have always found annoying, both from these boards as well as others. ( The monster rancher metropolis boards are especially bad, but in slightly different ways… )
So, if I look at a post, it says something like: "Posted 2 years ago" or "Posted 2 hours ago" but this can be quite useless when trying to figure out a timeline. For example, I was looking at Zhuge Liang's posts a while back where he got the Zeng Thong, and I was trying to figure out if he found all the items before, or after, I had originally hacked the enemy dropped items list. (
August 2009November 2009 ) But his posts just say "2 years ago" so it's difficult to tell. Similarly, sometimes I'm curious about how long ago a certain post was made ( e.g. a last post ) but it's just as difficult to tell because of this.Would it be possible if the Admins changed the boards' code to display an actual post's time stamp instead of something as vague and useless as "2 years ago" or "2 months ago" or "back in the day"? I mean, it should be easier to display an actual time stamp than an estimated elapsed time.
EDIT: Wow, I can really sound like an ass sometimes… I am in serious need of social skills and etiquette, heh? If only Liu Bei, Guan Yu, and Zhang Fei would be willing to talk back once in a while, I might not be so socially inept. :p
Also, since I mentioned monster rancher metropolis, on that site, their problem is that they don't show the -year- of the topics' latest post date, and since that board is slow, it might make it hard to figure out for people who don't frequent the board too much, to figure out if a topic was last updated in the present year or not. :p That said, having a full time stamp can be very important and useful…
Thoughts? :)
January 4, 2012 at 3:42 am #41715Zhuge Liang
ParticipantIt seems that the time I discovered those items was also the time you hacked them out. I still keep those images in my PC and when I heard your post I went to check their properties and it amazed me that they was created in 8/20/2009. What a coincidence :-)
DoaE gave birth to Huo Hu.
January 4, 2012 at 5:13 am #41716MeteorStrike
ParticipantActually, scratch that. The last-modified timestamp of the Generals.java code file for my tool when I did a backup on October 30, 2011 was August 15, 2010. So I was remembering the year wrong for the last mod time. However, I originally first stopped working on the tool on February of 2010, and I had started on around November of 2009. IIRC, I had all the dropped items lists sometime in November as it was one of the first things I wanted to hack. So if I remember those dates correctly, you still beat me to it, I guess. :p
In any case, I still think the timestamp on each message is a good idea… It can certainly come in handy. :)
January 4, 2012 at 5:40 am #41717Zhuge Liang
ParticipantHehe thanks, I spent years for tracking down them so maybe God thought that I deserved to be the one to come first, is that right? Haha just kidding :P
lordyuanshu, can you do a favor for his request? I truly think that will be convenient.
DoaE gave birth to Huo Hu.
January 4, 2012 at 7:18 am #41718Lord Yuan Shu
KeymasterQuote:EDIT: Wow, I can really sound like an ass sometimes… I am in serious need of social skills and etiquette, heh? If only Liu Bei, Guan Yu, and Zhang Fei would be willing to talk back once in a while, I might not be so socially inept.Haha. Well you are right, I've felt this way too. I don't know why it can't have exact dates. To be honest, I don't like this forum compared to the phpBB3 one we had before; less features and less support (the devs are much more interested in WordPress obviously).
ANYWAY…I'm going to check out the back-end to see if I can change how the date is shown.
Welcome to Lord Yuan Shu Walkthrough Guides ·
Huo Hu's Adventure started Destiny of an Emperor hackingJanuary 4, 2012 at 7:40 am #41719MeteorStrike
Participantlol I like how you quoted the part where I say I sound like an ass, and then you agree with me. :p ( I know what you meant [ I think ] but it still sounds funny. But on a serious note, more often than not, I will re-read something I write and realize it sounds a lot more harsh than I intended it to be… :? Yea, if I was a diplomat, my country would probably be at war with the world. lol )
Anyways, I'm guessing it shouldn't be too difficult of a change, but I wouldn't know… it would certainly be a nice change though, if it's possible to do… :)
January 4, 2012 at 8:44 am #41720MeteorStrike
ParticipantHmm I downloaded the source for bb and I wonder if you can make a change like this one to change this behavior:File:
bbpressxmlrpc.php
function prepare_post( $post )
{
…
$_post['post_time_since'] = bb_since( $_post['post_time'] );
…
}
and change that line to something like:
$_post['post_time_since'] = _bb_time_function_return( $_post['post_time'], 'timestamp' );
But I don't know if this would be the best solution ( assuming it works… )
EDIT: That was for bbpress-1.1. It looks like the latest version is considerably different in its layout. Also, this is probably not the -ideal- change, but I suppose it would work as a test too… but I'll leave the tinkering to the experts. :)
EDIT EDIT:
Gah, I found the place where it's first called. ( I think ) In the file:
bbpressbb-templateskakumeipost.php
It has:
php printf( __('Posted %s ago'), bb_get_post_time() );
and the function looks like it's defined at:
bbpressbb-includesfunctions.bb-template.php
Looking at other code, I wonder if it can be changed to:
php printf( __('Posted %s ago'), bb_get_post_time( 'id' => 0, 'format' => 'timestamp', 'more' => 0, 'localize' => true ) );
Since function _bb_parse_time_function_args has:
$defaults = array( 'id' => 0, 'format' => 'since', 'more' => 0, 'localize' => true );
But I'm not sure… This syntax is beyond my scope of understanding of php…
January 6, 2012 at 9:46 am #41721MeteorStrike
ParticipantWow, I posted a requested change suggestion and suddenly the Lord disappears, just like the Christian Lord. :p ( Hah hah get it? Unanswered prayers… ) It's funny though because I mentioned I would be disappearing again soon but it looks like he beat me to it!
January 6, 2012 at 9:54 am #41722Zhuge Liang
ParticipantI think he's still finding a way how to make that happen, he said before that this forum is harder to hack than the previous one.
DoaE gave birth to Huo Hu.
January 6, 2012 at 10:49 am #41723MeteorStrike
ParticipantHmm I would think he would have at least posted something like "hey MeteorStrike, thanks for trying to help but that's not the code my site is using, etc." or something similar to that… He's keeping me in suspense! :p
January 6, 2012 at 11:56 am #41724Zhuge Liang
ParticipantHaha he's not like you, he has a wife and a son to look after for ( just joking :p). The truth is he hasn't been active recently, I don't know the reason why but I guess it was his job that kept him busy.
DoaE gave birth to Huo Hu.
January 6, 2012 at 6:17 pm #41725MeteorStrike
ParticipantIt's OK, I know I have no life. :p I don't have family here and that gives me a freedom from certain responsibilities that I often forget most other people don't have. I was just curious because he seemed to drop by at least once a day, until I asked my question. :p
March 10, 2012 at 3:38 am #41726MeteorStrike
ParticipantAh, it looks like this might be a good time to bump this since LYS is back… tee hee…
March 10, 2012 at 5:51 am #41727Lord Yuan Shu
Keymasterlol! Holy shit this is a funny thread…
I'll see what I can do about this though, gimme a little bit. I would prefer it too.
Welcome to Lord Yuan Shu Walkthrough Guides ·
Huo Hu's Adventure started Destiny of an Emperor hackingMarch 10, 2012 at 9:38 am #41728MeteorStrike
ParticipantYea I think the part where I have "EDIT EDIT" in the above messages might have the solution, assuming you are using the same version of the software I downloaded from bbpress to look at the source. Otherwise, if it's too much of a pain in the butt, don't worry too much. It would be nice, but not a board breaker either. :)
-
AuthorPosts
- You must be logged in to reply to this topic.