Quote:
Originally Posted by Eosian
$userinfo['userid'] isn't populating from where you're calling it.
What hook did you set it on?
|
I didn't wanted to put it in a template hook but using it in my postbit_legacy.
I did put the query in a module php file for vBadvanced (already have a stats.php module file) and just rendered the variables and used them in a template.
Guess being a novice that was the wrong way to do it or at least the query was not intended to be used in a php file.