Log in

View Full Version : check 2nd db before creating user


glaird
02-07-2008, 02:03 AM
I'm wanting to do a check in a secondary vBulletin database to check if a user exists before a new user account is created. Obviously vb must already does this to check if a username already has been taken. I just want to extend this so that it not only checks it's own database, but another one as well.

The reason behind this is I have two almost identicle sites for different geographical locations. Down the track I will want to merge them (amongst doing other things).

I'm guessing it will be a query placed in class_dm_user.php... is this correct?

thanks!

--------------- Added 1202366565 at 1202366565 ---------------

ok, have got it working... it was in that file... about line 345.

Opserty
02-07-2008, 10:47 AM
You should need to edit files...you can use one of the hooks on the register.php page.

I think its something like addmember_process or register_*