View Single Post
Old 27 Dec 2005, 21:54
Connector's Avatar
Connector Connector is offline
Join Date: Dec 2005
Real name: nardo
Originally Posted by scott8539
I finally got a working script to add a user to vB offline. I maintain a separate Membership System. When a user registers in this separate system, an account is automatically created for them in vB.

When they register (again, this is in my own Member System -- on a different domain), I collect those variables that I need specifically (and minimally) to create an account in vB.

I then cURL those variables to a custom script (called bb_add_user.php) which resides in the root folder of the forum. The results of bb_add_user.php are printed, which are then collected in the result of the cURL. If there are errors, the Membership System takes appropriate action. If successul, then I grab the vbuserid from the cURL result and go about my business.

Although I am still proving this system on a development server, my goal will be to change all of the 'register.php' links on vBulletin and point them to the register script on my Membership System.

Here is the bb_add_user.php code.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

could someone please tell me how could we use this code ? i try it and give me error :devious:
Reply With Quote