The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
Do you mean in the footer on all pages? I think the issue there is that the data in $vbulletin->userstats and maxloggedin won't be there unless that page is loading those as "special templates". What you can do is make an additional plugin using hook location init_startup and code like this:
Code:
$new_datastore_fetch = array_unique(array_merge($new_datastore_fetch, array('userstats', 'maxloggedin'))); |
#22
|
|||
|
|||
Quote:
Ok we getting there for a donation. The code works but not showing the total post and total threads; they show "0". |
#23
|
|||
|
|||
I think you need to add a call to cache the forums, like:
Code:
// get total threads & posts from the forumcache $totalthreads = 0; $totalposts = 0; cache_ordered_forums(1, 1, $vbulletin->userinfo['userid']); if (is_array($vbulletin->forumcache)) { |
#24
|
|||
|
|||
Thanks again. That worked. I have noticed few things. Whenever the plugin in enabled I get this on few pages:
Code:
Fatal error: Call to undefined function fetch_online_status() in .../html/includes/class_bootstrap.php(430) : eval()'d code on line 105 PHP Code:
I know I have been asking for your continued support but I must give you a donation at the end. You can respond when you are ready. |
#25
|
|||
|
|||
Quote:
Quote:
Quote:
|
#26
|
|||
|
|||
Don't know what to say! Everything is working perfectly. Not sure how to thank you but thank you very, very much!
My site: here. The footer will be changed to look beautiful. The Store template is a different story so that issue is with the developer of the Store Im using. Kevin, once again, thank you and you will reach very far in life BTW, if I come back here that means a user of the forum found an issue lol |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|