Quote:
Originally Posted by Sarcoth
Alright, now that is impressive! Can you tell me the code I would need to do a query on the profilefields (i.e. field8)? I'd like to pull that field and then just have it added to the form without the user having to enter it again.
|
No need for a query for that, it is already cached in vBulletin userinfo
1. Create 'Custom' question
2. Use following php Code:
PHP Code:
$answer = '<input class="textbox" type="text" readonly="readonly" id="q_' . $formbit[id] . '" name="' . $formbit[id] . '" value="' . $vbulletin->userinfo[field8] . '" />';