The Arcive of vBulletin Modifications Site. |
|
Need site stats in the header! Details »»
|
|||||||||||||||||||||||||
Making a beautiful sidebar that is causing all sorts of headaches. Due to the way the site is being structured, this sidebar needs to be in the header. But no stats like $totalthreads, $newpm[messages] will show up!
Is there a way around this? http://www.nexusportal.net/index.php?s= Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
those stats have to be parsed before the header is parsed in global.php
so wherever your code is, it's wrong if it's not before the header parsing line
|
|
#3
|
||||
|
||||
|
So how do I get around that? Can I change the place where the header is parsed in global.php or something?*
|
|
#4
|
||||
|
||||
|
as i said just put th stats code before the header parsing.
|
|
#5
|
||||
|
||||
|
I understand the concept but I can't figure out how that's possible if the variables are actually in the header.....
Throw me some breadcrumbs here....please.
|
|
#6
|
||||
|
||||
|
Just a few crumbs...
|
|
#7
|
||||
|
||||
|
put needed code over eval("\$header = .....");
no more crumbs are possible |
|
#8
|
||||
|
||||
|
ahhh, gotcha...
|
![]() |
|
|