The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
i have the username update code below
Code:
$userdm =& datamanager_init('User', $vbulletin);
$userdm->set_existing(fetch_userinfo( $vbulletin->userinfo['userid']));
$userdm->set('username', unhtmlspecialchars(trim($vbulletin->GPC['uname'])));
$userdm->save();
can someone show me how to print out a message saying your username has been successfully changed and redirects to the main forum page after this code, thanks |
|
#2
|
|||
|
|||
|
is that in the admin cp or user cp?
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|