![]() |
Quote:
|
I saw a similar hack on another forum software and when the user would add
additional text to a post... |
*user posted 2 minutes later
It would put something like that between them. Is it possible to do that with this hack also? |
post seperator can be whatever you want it to be, that's why i added that one into the option array :)
|
Yes I saw that, but im stuck on the time display thingy :P
I'm not much of a code so I guess I'm asking what code I would stick there to produce that :) If you could tell me that I would be one happy camper :D I just read that getting the times in there would require much modification I have a phpbb hack that does this and there code is HUGE in comparisson and many table queries where logs /records are created, obviously to manage or calculate times bewteen merges. anyways, if someone could show me how to get the users name into the line I would be happy. ex: *JohnBee has added shortly after... |
In your includes/functions_newpost.php, find the following:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
WOW!
Dude it works!:thumbsup: I needs a little formating but WOW! this is exactly like the phpBB hack except its 1000 lines shorter LMAO! One thing that I noticed is it posts a highly accurate time stamp :) like *User posted 1.222343424 mins later. it doesnt do it all the time but quite often. WHat kind of text formating can I apply to this, I didn't t see any html in the newpost.php anywheres so im assuming it uses something else, I noticed the /n is a cr equivalent or something, so I will research it, I want to make it smaller and dark blue... once again thank you for your great support everyone ;) |
Change:
PHP Code:
PHP Code:
|
Thank you MarcoH64
The fixed the .2122223332 problem, it seems of of round it off to the minute. is there a way to round it off to the min.second ? ex: *User has posted 1 minutes 42 seconds later or *User has posted 1.23 minutes later either or would work nicely :) |
Ok, change that line to:
PHP Code:
PHP Code:
|
All times are GMT. The time now is 01:35 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|