The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I am using the data manager to create a new user:
Code:
$newuser =& datamanager_init('User', $vbulletin, ERRTYPE_ARRAY);
$newuser->set('username', $userInfo->first_name . ' ' . $userInfo->last_name);
$newuser->set('email', $userInfo->email);
$newuser->set('password', fetch_random_password(8));
$newuser->set('usergroupid', 2);
$newuser->pre_save();
if (empty($newuser->errors)) {
$userId = $newuser->save();
}
Code:
Your user name may be same as your email address. To avoid leaking your email address. I am not able to find this message in the code so I suspect this message is stored in the db somewhere. What is the proper way to create a new user without this message showing up upon login? Sorry I am very new to vbulletin programming. |
|
#2
|
||||
|
||||
|
Bet'cha a dollar that is a phrase.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|