The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
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? |
#2
|
||||
|
||||
![]()
{$GLOBALS['vbulletin']->userinfo['username']}
|
#3
|
||||
|
||||
![]()
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* |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|