View Full Version : Put the time in a quote.
sjaakie
06-06-2004, 07:50 AM
Hello,
When I get my forum online I want that posts that are quoted get the time of that post in the quote. something like this:
Posted by: Sjaakie @ 14:34 12 june 2004
Yeah yeah yeah
How can this be done?
Xenon
06-06-2004, 11:57 AM
well, actually it woud just need a very tiny edit of newreply.php
BUT: the time would be stored hardcoded into the post's pagetext, that means, if you have different timezone users on your board, it will always show the wrong time for a part of your users..
sjaakie
06-06-2004, 12:33 PM
All of our users are in the same timezone, so that's not a problem. (Only dutch people. :))
sjaakie
06-09-2004, 09:56 AM
*kick*
Someone has an idea?
sjaakie
06-20-2004, 09:37 AM
One more kick, i'm very interested in this.. :)
Xenon
06-20-2004, 06:54 PM
actually it's easier than i thought ^^
just edit the newpost_quote template and add $posttime and or $postdate into it ;)
Boofo
06-21-2004, 05:07 AM
actually it's easier than i thought ^^
just edit the newpost_quote template and add $posttime and or $postdate into it ;)
That works great unless you have a multi-quote hack installed. ;)
sjaakie
06-21-2004, 11:49 AM
Okay, thanks! :) So I have to take some care when I want to install the multi-quote hack? Well, I rather like to have the time into the quote. ;)
Boofo
06-21-2004, 11:59 AM
Okay, thanks! :) So I have to take some care when I want to install the multi-quote hack? Well, I rather like to have the time into the quote. ;)
It's an easy fix to work with the multi-quote hack. To lines of code added to the hack and it works fine with it. ;)
Xenon
06-21-2004, 02:30 PM
you're welcome :)
@bob: maybe you should tell the author what to to ;)
sjaakie
06-22-2004, 06:52 AM
you're welcome :)
@bob: maybe you should tell the author what to to ;)
That would be nice yes. :up:
Boofo
07-04-2004, 07:46 AM
Stefan, that doesn't show up right in pms. What would you need to put for pms?
colicab-d
07-04-2004, 08:30 AM
now this is interesting :) hope you guys figure it out :)
why-not
07-04-2004, 09:25 AM
Hi
My idea would be to make it dynamic, this way the time is alway shown in the current users time. It would work for ant type of multi quote system too! More importantly it would not allow the person quoting a post to change the time of the original poster! Which would really defeat the purpose of having time in the quote in the first place!
I wrote like this for a client sometime ago. It used something like 'multi quote', but with not using cookies and it also has checkboxes for 'multi quote'...
The code side of it effect...
new_reply, newpm templates!
It adds (1) hidden field with the (time) of each quote....
Then in the include (bb code phrase) it has a simple function to convert the time in the users current time!
F!
Boofo
07-04-2004, 09:56 AM
Hi
My idea would be to make it dynamic, this way the time is alway shown in the current users time. It would work for ant type of multi quote system too! More importantly it would not allow the person quoting a post to change the time of the original poster! Which would really defeat the purpose of having time in the quote in the first place!
I wrote like this for a client sometime ago. It used something like 'multi quote', but with not using cookies and it also has checkboxes for 'multi quote'...
The code side of it effect...
new_reply, newpm templates!
It adds (1) hidden field with the (time) of each quote....
Then in the include (bb code phrase) it has a simple function to convert the time in the users current time!
F!
I already did a hack for the original poster's current time in the postbit. I am talking about the time the message was posted that is being qouted in pms. ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.