Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Plugin using mos_users and mos_comprofiler tables

  • sheqman
  • sheqman
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
18 years 9 months ago #7552 by sheqman
Hi all:

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.

What's the best way to do this?

Please Log in or Create an account to join the conversation.

  • trail
  • trail
  • OFFLINE
  • Posts: 232
  • Thanks: 21
  • Karma: 813
18 years 9 months ago #7666 by trail
You would read the plugin framework api documents and find the proper event.

Then you grab your favorite editor and start using it :)

DJ Trail.
CB Co-Founder & Test-Lead.
Plugins: My Age , Starsign Matchmaking Horoscope , My Visitor , My Highscores , My ProfileID ,
My Components: Import & Invite Karma Casino (Use Test / Test)
My Modules: Many :)

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum