![]() |
How can I output $bbuserinfo as part of a $thing?
Ok, so the title is darned confusing. :)
Basically, I have my $nzb_greeting plugin. It gets the day of the week and according to that, outputs a message. All good. Except, if I try to define the message as 'Hello $bbuserinfo[username]' (or $vbulletin->userinfo[username]), it comes out as "Hello, [Array]" or something like that, so in the template, I have to put $nzb_greeting, $bbuserinfo[username]... which is sloppy, and leads to things like it not getting fully called on error pages, so I get a forlorn 'kall' with an empty line under it where the other greeting should be. Can anyone help me out here? |
{$GLOBALS['vbulletin']->userinfo['username']}
|
I don't know if its the caffeine, or the lack of sleep talking, but I think love you Kirby.
*bows down and begins building shrine to Kirby's knowledge* |
All times are GMT. The time now is 05:03 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:
|