OK, well, I have another one - use $bbuserinfo['ovenmitts'] instead of $ovenmitts to get rid of the scoping issue. I think $bbuserinfo is the same as $vbulletin->userinfo, and I don't know where $bbuserinfo gets set, so it's possible you might have to set $vbulletin->userinfo['ovenmitts'] in the plugin and use $bbuserinfo['ovenmitts'] in the template. (If someone wants to explain more about the use of those, I'd like to know).
Anyway, it may not be the "correct" thing to do but I think it will work (assuming scoping is the issue).
|