I'm not sure exactly what you want to do, but the query to insert a user in the database is done using the user datamanager, which is in includes/class_dm_user.php (and the base class code is in class_dm.php). But you might be able to use a plugin at hook location register_addmember_complete (which is after the user has been added) or register_addmember_process (which is called before, so you could cancel the vb registration if you wanted). It's probably best to look at file register.php and search for those hook names to see what's going on.
|