The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have a script that creats a new Board username, please see code below.
The issue is that I am getting the usernametaken error, this even happens on usernames that are not taken and that meet all requirements. The strangest thing is that an account actually does get registered eventhough $userdm->save(); does not get called. Any help would be appretiated. vBulletin Version 3.8.4 PHP Code:
|
#2
|
|||
|
|||
![]()
I tried your script and it seems to work. I just get a message that says "Account Created". What you describe kind of sounds like what would happen if it were somehow getting submitted twice with the same info (and as you pointed out, there's really no way for a user to be created if you never call save() )..
|
#3
|
||||
|
||||
![]()
where this script is it called?! because if it is called inside the registration process, you forgot a return or something, and the process of reading that new username is followed by the official code that register it...
|
#4
|
|||
|
|||
![]()
Thank you for your help.
The issue has been resolved. Due to a merging issue on the calling script curl_exec was being called twice. I should have been more careful with my initial review of the code. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|