Hello,
I've written a little plugin that snags a userfield for the postbit. It worked fine on my test server, but it is dead on my real server.
I've dumbed the plugin down for troubleshooting purposes.
Is there any reason that this would work on test server but not on a live server...?
PHP Code:
global $vbulletin;
$rank_brando = $vbulletin->userinfo['field11'];
vB_Template::preRegister('postbit',array('rank_brando' => $rank_brando));
If I set $rank_brando to "pizza" it shows up fine in the postbit. It's clearly an issue with
PHP Code:
$vbulletin->userinfo['field11'];
On my test server, I was using field10 instead of field 11, but other than that I see no difference.
Any thoughts?
Solution
It turns out that my server prefers $post[field11] instead of $vbulletin->userinfo['field11']. Ridiculous.
Brandon