![]() |
Who's Online / Total Users
What code do I put to show Number Of Users Online / Total Users somewhere else?
Just below my Navbar, I have a code that says: We have X users online, of a total X. I need to find the code to replace the X ====== Since this post, I have... ======== Found a hack that runs the queries in the header, but phpinclude_start template does not exist in 3.7. Where else can I add: Code:
if (strpos($_SERVER['PHP_SELF'], 'index.php') == false) { |
Quote:
|
I can't seem to find Parse_Template either :S
I am using vbulletin 3.7 |
Quote:
- Create New Plugin: Now create a new plugin for the parse_templates hook location: Admin CP -> Plugins & Products -> Add New Plugin - Next: hook = parse_templates title = whatever execution order = whatever php code = the code that used to go in the phpinclude template. |
Thanks.
I have added all that into a plugin. I put $totalonline into the header but still nothing shows :| What's happening? |
Quote:
|
1 Attachment(s)
Here are the install instructions then, has extra info to complete:
*WARNING* Do not create a plugin with the data as it causes MySql errors |
1 Attachment(s)
Something like this?
|
That's exactly what I want.
How exactly did you do it? I added you on msn, could you have a look for me? |
All times are GMT. The time now is 12:02 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:
|