The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Deleting Users Programmatically
We have a SSO script that creates and logs users in, but I am have having trouble with the delete aspect of it. I found in the docs there is a delete method available, but when I try to use it, I get the following error thrown:
Code:
[["auth_required"]] Any help would be appreciated. |
#2
|
||||
|
||||
checkHasAdminPermission() is checking for a valid control panel session. You will probably need to write a new class without the admin check and use that instead.
|
#3
|
|||
|
|||
Thanks Replicant. We ended up going with a different route. We added this code right before we run the delete call:
Code:
$api->callApi('user', 'login', array($admin_username, $admin_password)); |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|