![]() |
Last Post: XX Minutes Ago
Requested by: Unknown553 here
Description: Small hack to display the time since the last post in forumdisplay. I did it pretty fast and there could be some bugs, so please, send some feedback. Thanks. |
LOL..
7 minutes before me congrats.. :) I thought you might want to take a look at my code too.. :classic: |
Cool hack man! I like your code. :) Thanks!
|
Heh, that was quick ;)
I will probably install it with some modifications to work with index.php (to show time since last post period). ;) |
Can I have a screenshot?
|
|
Oh, sweet. I think I'll be installing this. :)
|
Wow, that was fast! Thanks, both of you. Now, which of the two should I use? hehehe...
|
I went with logician's version, only b/c I already have a lot of his hacks installed, but both are good, and I love stat hacks of all kinds!! Thank you both for your time and effort ;)
|
Quote:
|
Very cool small hack
/me installs |
Quote:
|
Ok I went with your hack, Logician, for the same reason as kmfdm_kid2000's. I already have a lot of your hacks installed so I trust you. Hack works 100% for me, so this doesn't belong in Beta Hacks ;)
|
nice hack but I had to take it off. Not sure why a small hack like this used so much CPU. I have an average of 800 online (4mbit average)and the site slowed way down and the load average went up to 4 instead of the average 1.
|
Hi Dado... did you tried the Logician version of this hack? Try it and see how it goes.
|
fantastic simple hack, weldone. Thanks
|
Hey.. How bad is the queries and server load with Logician's hack exactly? :)
-Jason |
Anyone? :) I'm almost done with all my new hacks, and would like to get this one in if the load or queries won't be crummy...
-Jason |
Both hacks add 1 query to forumdisplay page. No big deal, go with any version you like..
|
Thanks, Logician. I'll probably give yours a whirl.
-Jason |
Logician: When viewing the two hacks, would your queries become lesser if you added your newly added template to the $templatesused line in forumdisplay? Just curious. :)
-Jason |
that is right Alien..
|
Great.. So would this change actually make yours 0 queries? Or still 1? :D
|
0 I hope? :D
|
1 :)
|
Shucks. :P
Okay, installing! |
I installed it on 2.30 and it does nothing. What is wrong?
|
If you are sure you followed the steps properly you should probably make sure you don't have multiple styles and didn't add the templates into a style you no longer use. It's a common problem when making new templates.
|
I have only one style.
|
Then you must redo your steps as you didn't do it properly. Make sure you didn't do the wrong $templatesused part because often they look very similar.
EDIT: Don't install this if you have alarge forum with lots of posts. If you do, your server will become overloaded and, if you're the size of WEForums, that isn't good at all. I only get like 1200 e-mails about it being down...and this hack is the cause. |
Thanks to delux (someone who is involved with the WEForums server), he fixed the problem.
Instead of: PHP Code:
PHP Code:
|
Thanks, I've updated the file
|
All times are GMT. The time now is 04:44 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:
|