I'm writing a plugin that takes registration data from the comprofiler and general Mambo/Joomla users table and puts it in another database. I want this plugin to trigger when a user confirms their registration.
Is there a CB or Mambo API object that refers to the mos_users and mos_comprofiler tables? I want to pass in the gid and retrieve all the data from both tables. I will then execute an insert statement that puts this data in my external database.