The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Configuring a new field via usercp (user)
I'm having a bit of trouble.
I'm writing a mod where I'd like to alter a new field in the user table via the edit user page of the admincp. I added the relevant phrases and then added this to the useradmin_edit_column2 hook: Code:
print_table_break('', $INNERTABLEWIDTH); print_table_header($vbphrase['ae_header']); print_yes_no_row($vbphrase['ae_user_exempt_option'], 'user[mloginexempt]', $user['mloginexempt']); Quote:
I tried adding this to useradmin_edit_start: Code:
$user = array_merge($user, array('mloginexempt' => 0)); Does anyone know what the missing piece of code might be, and the hook where I should place it? This could be useful for anyone else who tries to add an additional option to the edit user function of the admincp. Mark |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|