![]() |
How to display stats from "What's Going On?" in navbar?
I'd like to display stats in the header from the "What's Going On?" section at the bottom of the forum, such as:
numberguest numbermembers numberregistered totalonline activemembers totalposts totalthreads try to use this option but still can't use it.. http://www.vbulletin.com/forum/forum...g-on-in-header i want do something like this see img attach i hope someone can help me to find this solution thanks |
Quote:
|
update the link!!
|
This will work. I tried it back few years or months but working.
see post no 8. http://www.vbulletin.com/forum/forum...g-on-in-header |
I am currently working on a mod/hack for using WGO stats, blog stats, article stats anywhere on the board. With no additional queries per user/page.
Instead a cron job is performed and the stats are written to the datastore and then read during general initialization of the datastore. You will be able to use these stats in announcements, notices, header, footer, postbit and all other templates. It is being designed for large boards in mind. I should be releasing an alpha version in a couple days. |
Quote:
i put this following vars on navbar template not header template {vb:raw totalonline} {vb:raw numberregistered} {vb:raw numberguest} {vb:raw numbermembers} {vb:raw activemembers} {vb:raw activeusers} {vb:raw totalposts} {vb:raw totalthreads} |
Quote:
|
Quote:
|
What version of vBulletin and PHP are you running? I might be able to give you an alpha release just for the navbar. I have not tested it on v4.2.2 or php 5.4. It is only a data-engine, actual template modifications will be up to you.
|
Server Type : Linux
Web Server : Apache v2.2.24 (cgi-fcgi) PHP : 5.3.26 VBulletin : v4.2.2 |
Quote:
|
Quote:
|
Quote:
|
still waiting your code..
|
Quote:
|
ok tq.. i am waiting good news from you
|
You can need vb advanced statistics 2.6 to do that.
|
Quote:
can you include link? |
Quote:
just asking how about my request? |
just asking how about my request?
|
You could try this: use the code at the link above, but add this at the end (after the added code):
PHP Code:
This can be done with plugins so that you don't need to modify code, but I don't have time to work that out, so this was the easiest way to tell you something that might work (hopefully there aren't any errors because I haven't tried the code). |
Quote:
|
Is it possible to see an example of this?
|
All times are GMT. The time now is 05:02 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:
|