![]() |
Live Forum Statistics on All Pages in Forum Header
Live Forum Statistics on All Pages in Header Template
Plugin Keywords: Member info,Statistics, Members, New Members, Forum, Statistics, Member Info, Forum, Stats, Please Don't Forget to Click Install Requested by : Myself :devious: Context : Searched through vb.org but could not find a similar plugin/hack. I wanted to show all vital forum stats like total posts, total threads, total members and newest member on each page of my forum as well as vBa CMPS, in header template and this plugin performs exactly the same function. What this plugin does ? This plugin uses the 'global_start' hook and stores the desired information from your forum database into php variables and when called in 'header 'template, produces the desired results. Utility : Imagine... an unregistered/guest visits your website for the first time via a search engine link (95% of times its not the homepage that is found via a search engines link) and the first thing s/he notices is the forum header information and says wow!! this forum has got xxxx members, xxxxx threads, xxxxxx posts, why not get registered with this community and see what this forum has got in store for me. LOL!! quite true actually. ;) Demo : http://www.sikhphilosophy.net Any Screenshots : Demo is self-explanatory. Warning : This plugin executes 5 queries per pageload. Installation Instructions : (Also attached alongwith the plugin.) Code:
Step by Step Instructions: 9. And, now finally you are done! :) Enjoy!! Please Don't Forget to Click Install |
Looks very cool, would be nice for big forums :)
|
installed >>>>>>>
|
there are much better ways to accomplish this without having 5 extra queries per page.
|
<font color="SeaGreen">*Installed*</font>
|
Thanks.
|
Quote:
Quite strange :rolleyes: |
Get to work, Tim ;)
Quote:
|
oh! i would love that if queries could be eliminated in live update of statistics... :) Thanks.
|
hmmm why do you need to requery for this information when it is already done by vb? cant you just pull those variables into the header? that was they only need to be done once and will not add queries to show the same information twice.
just an idea. |
I am yet to find ways to show that information in the header... if we could do that it would fine. :)
|
May be using a cron each X Minutes to store the variables?
|
Only thing I did not like on this one is that it put the info on my main forums page also which I didn't want. Anyway to out on all pages but the main front page?
|
Quote:
Code:
<if condition="THIS_SCRIPT != 'forumhome'"> |
I'm trying to get your hack to work on phpportals, do you have any idea how to?
|
Very nice Installed 3.64 vb
|
This is a great hack. I installed it but the counts don't match up to my VB stats. It looks like it is counting hidden and deleted posts too. Is there a way around this or a fix in the future.
I will uninstall till then, if fixed will click installed. |
Very nice ... one minor bug though ... when i click on " New Posts "
the information becomes blank on that page .... weird |
One tiny bug - it shows softly deleted messages and topics in static.
|
thanks man this is just sweet!! works for 3.6.4 perfectly
installed :D |
Sardar Jee, tussi great ho :)
|
good good good
|
screen shoots please?
|
Quote:
|
This just like makes your forum look so awesome! :D i made a link to WHOS ONLINE for the Online: :p looks awesome! thank you!!
|
cheers nice mod
|
Have you tried using different fonts with this yet to see if it's compatible as far as it's table dimensions with other fonts?
Or does your plug in allow us to modify the dimensions of the Stats table as well? |
how come the stats on another vb page are different than my default stats on the forumhome.
|
any screenshots available ? running also on 3.7 ?
|
Hello, your mod seems to extra, but can we use it with the 3.6.8 and 3.7 version of vB ? Thanks.
|
Read this topic for you understand how to save that five querys of your plugin.
|
Create new plugin:
Hook Location: init_startup Plugin PHP Code: $datastore_fetch[] = "'userstats'"; And done, all variables enable in any template with ZERO new query. |
thanks
|
Quote:
Quote:
|
Quote:
How do I call "userstats"? $totalthreads $totalposts $numbermembers etc doesnt show anything. Thanks |
i love u man
|
to show pictures total in any where, use this in to the same plugin
add this to admincp --> edit plugins add it above every thing PHP Code:
in template any where : Total pictures : $allpictures ;) |
All times are GMT. The time now is 03:28 AM. |
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:
|