![]() |
Posts Last X Hours
Posts Last X Hours Description: This mod shows the number of posts created in the last X hours. 'X' is user-specified in the options. Request Thread: https://vborg.vbsupport.ru/showthread.php?t=135557 Installation: All the installation information is in the package. Changes: 1 Template Edit 1 Plugin 6 Phrases Change Log: 19/09/2007 - Version 1.1 - Automatic Template Edits - Updated ReadMe 5/01/2007 - Version 1.0 - Initial Release |
/me Reserves
|
Nice! Thanks :)! I am the first, right?
|
Thanks for creating this hack. I was hoping if someone could make this. :)
|
Nice one - Installed :cool:
|
Thank you for fulfilling my request :P
|
thanks for this kool hack.
|
Thanks for this, have been looking for something like this as it can determine how much your site is being used in a way I suppose.
Thanks again |
installed
|
Works great, thank you!
|
Installed.
One question, is it possible to have it in another page e.g. online.php ? |
Yes, just do the following.
1) Change the location of the plugin 'Get Info' to global_start. 2) Add the following code where you want it displayed. Code:
<!-- Start Posts Last X Hours Hack --> |
I changed it just a little bit on my forum, so it shows something like this:
There have been x posts in the last 24 hours, which resolves in estimated average of x posts/month or x posts/year. Check it out live at: www.goldenretrieverforum.com, at the bottom of the front page. All I added was this line to xml, right above where it say: $posts_last_x_hours = construct_phrase....: PHP Code:
PHP Code:
PHP Code:
Joe |
Hack Updated!
19/09/2007 - Version 1.1 - Automatic Template Edits - Updated ReadMe |
Works in 3.7 :)
|
Thanks for a great hack Dismounted!
Could you please tell me how I could position this in another place ie. the template code edit? I'd prefer not to have it done automatically as our forum stats are custom-made to appear in the header instead with the template we are using. Cheers in advance :) |
You will need to change the plugin to run at global_start, and then place this into your header template:
Code:
<phrase 1="$posts_last_x_hours" 2="$vboptions[posts_last_x_hours_numhours]">$vbphrase[posts_last_x_hours]</phrase> |
please invent for 4.0.3!!!
|
Quote:
|
BUMP! Still waiting for a re-release for 4.0+ :)
|
All times are GMT. The time now is 04:56 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:
|