The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Remove user manually using data manager
Need script for removing users from db.
What's wrong ? <?php define('VB_AREA', 'External'); define('SKIP_SESSIONCREATE', 1); define('SKIP_USERINFO', 1); define('CWD', '/blabla/forum'); require_once(CWD . '/includes/init.php'); $user =& datamanager_init('User', $vbulletin, ERRTYPE_ARRAY); $exist = array('userid' => 12345); // 12345 - existing user id in user table $user->set_existing($exist); var_dump($user->delete()); // $user->delete() returns int(0), nothing deleted ?> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|