The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi Everybody,
I have a custom built app which records all of my customer details. As part of the process I want to "verify" all customers who just completed this weekends workshop. This includes automatically creating their user accounts in vbulletin (username and password). My programmer tells me that this is what I am looking for: We require a php function written that will allow us to add users from our current database into our forum software (vbulletin v3.6.4). The function will receive 3 paramaters. - username - password Note: The password is already MD5 encrypted (not sure how vbulletin stores its passwords) The function should return a true or false boolean value The connection information to our vbulletin database will use the following constants: $dbcnx = @mysql_connect(DBFORUM_HOST, DBFORUM_USER, DBFORUM_PASSWORD); @mysql_select_db(DBFORUM_NAME); So for your testing just set those same constants to your test db. In closing the function should be nothing more than the following: function AddUserToForms($username, $password, $email) { # connect to db $dbcnx = @mysql_connect(DBFORUM_HOST, DBFORUM_USER, DBFORUM_PASSWORD); @mysql_select_db(DBFORUM_NAME); # do what ever is needed to add user to db # return true/false return $result; } My guess is that this has done before but where should I look? I'm quite happy to pay someone to get this job done. Thanks Tony |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|