The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Live Forum Statistics on All Pages in Header Details »» | |||||||||||||||||||||||||||
Live Forum Statistics on All Pages in Header
Developer Last Online: Feb 2016
Plugin Keywords: Forum, Stats, Statistics, Members, New Members, Forum, Statistics, Member Info
Please Don't Forget to Click --> Requested by : Myself :devious: Context : Searched through vb.org but could not find a similar plugin/hack for vB3.5/vB3.0.x. 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.sikhism.us Any Screenshots : Demo is self-explanatory. Warning : This plugin executes 5 queries per page. Installation Instructions : (Also attached alongwith the plugin.) Code:
Step by Step Instructions: 1. Ofcourse, download the Plugin. 2. Go to 'Plugin System' module in vb admin panel and click 'Download/Upload Plugins'. 3. Towards the botton of next screen, you will see a box table - 'Import Plugin Definitions XML File'. Click the 'Browse' button and select the Plugin Definitions XML File downloaded and saved somewhere on your computer. Click the 'Import' button and well... you are not quite yet done. LOL!! 4. Ok, Now go to Styles & Tempalte --> 'Styles Manager' and select the 'Common Templates' option from drop down menu and click the 'Go' button. 5. In the header template: Find: (ususally at the end of the template file) <!-- content table --> $spacer_open $_phpinclude_output Add Above: <!-- Forum Stats in Header Template --> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <div align="left"><span class="smallfont">| <b>Discussions:</b> $totalthreads | <b>Messages:</b> $totalposts | <b>Members: </b>$numbermembers | <b>Online: </b>$totalonline </b> | <b>Newest :</b> <a href="$vboptions[bburl]/member.php?u=$newuserid"><b>$newusername</b></a> (Welcome!) </span></div> </td> </tr> </table> <!-- Forum Stats in Header Template --> Ofcourse you can customise this code to suit your website setup. ;) 9. And, now finally you are done! :) Please Don't Forget to Click --> INSTALLED Show Your Support
|
Comments |
#12
|
|||
|
|||
Wow your site looks very much like www.webhostingtalk.com !
|
#13
|
||||
|
||||
Quote:
http://www.webhostingtalk.com/ |
#14
|
|||
|
|||
This comes up when i install it:
There seems to have been a problem with the Test Forums database. Please try again by clicking the Refresh button in your web browser. An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists. We apologise for any inconvenience. Code:
Database error in vBulletin 3.5.0 Release Candidate 2: Invalid SQL: SELECT COUNT(DISTINCT(userid)) AS count FROM testboardsession WHERE session.userid>0 AND session.lastactivity>1127143369; MySQL Error : Unknown table 'session' in where clause Error Number : 1109 |
#15
|
||||
|
||||
ı made some code modifications about this and ı change the table
ı think it was very beatiful and changable all colours replace the codes below wiht your old codes and ı put this codes to myforumhome template under $navbar code.You can see the example in attachment PHP Code:
you can change colours yourself |
#16
|
||||
|
||||
Quote:
Nice work HaYLaZ !! |
#17
|
||||
|
||||
Quote:
|
#18
|
||||
|
||||
Database error in vBulletin 3.5.0:
Invalid SQL: SELECT COUNT(DISTINCT(userid)) AS count FROM x_session WHERE session.userid>0 AND session.lastactivity>11288029; MySQL Error : Unknown table 'session' in where clause Error Number : 1109 Date : Sunday, October 9th 2005 @ 04:17:09 AM Script : http://www.thesite.com/ Referrer : IP Address : x.x.x.x Username : Chad Classname : vb_database |
#19
|
||||
|
||||
Quote:
|
#20
|
||||
|
||||
? anyone
|
#21
|
||||
|
||||
Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|