![]() |
So did you get it going.
Still no over here. |
[QUOTE]Originally posted by Lucky
Firefly, If I may, I would ask what you did on this board here so that the online #'s show up. The link works, but the variable to show the amount of users is not.... |
As an addition to this hack...
If you add this into the php_include code PHP Code:
Use it in your header template like: Quote:
|
Still don't work.
I add the php include and then add the headeronline to the p_themeheader and it still doesn't work. I am at a standstill with this and this is just about my favorite hack. Any help would be great. Thanks. |
Where is the p_themeheader template eval()ed? It must be called after the phpinclude template so it can use the info from there.
|
Thanks for taking the time buddy,
I have attached what both of my templates (p_themeheader, php include) look like. I am not sure where it is eval()ed. I believe it would be called upon by my root/index.php (not forums/index.php or forums/admin/index.php either) I would really love to include this to my site. If you need anything else, just let me know. Thanks. |
And is the code in the phpinclude you showed me before or after my code for this hack? Also what's with vbp_includes.php?
|
I just like to say that if you use a script like PluhNews, that works a bit like vBPortal but is far less complex and more easy to use, you can simply add $headeronline on such pages as well, without any additional hacking.
www.kurafire.com - look below the second line of buttons. :up: |
I added your phpinclude stuff before instead of after this:
-------------------------------------------------------- if (!isset($mainfile)){ include("../vbp_includes.php"); } -------------------------------------------------------- then I added $headeronlineusers in my p_themeheader. Now it works in my forum perfectly. Thanks. Now I just need it to work on my non vb index.php page. Any ideas? |
another nice one FireFly ... thanks :)
|
All times are GMT. The time now is 03:30 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:
|