Hi all
I am trying to change the template and display the user profile fields on other pages.
I created a plugin and get the value from $vbulletin->userinfo[field*]; and register it to the template. somegthings like below. but the problem is, it works fine for text field, but for selection field, it will display a number, not the selected text data. any idea how do i display the selected text??
I am trying to change the template and display the user profile fields on other pages.
I created a plugin and get the value from $vbulletin->userinfo[field*]; and register it to the template. somegthings like below. but the problem is, it works fine for text field, but for selection field, it will display a number, not the selected text data. any idea how do i display the selected text??
PHP Code:
$postcode = $vbulletin->userinfo[field9];
vB_Template::preRegister('navbar',array('postcode' => $postcode));
Comment