Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8174399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:26:56+00:00 2026-06-06T22:26:56+00:00

first sorry if its a stupid question but im lost a bit. So when

  • 0

first sorry if its a stupid question but im lost a bit.

So when i use ion auth register function, and the register is ok, inserts the user data in the users table, and inserts the users id in to the groups table too.

Im a bit lost at this part, i would like to insert the user id in to the user profile table, and user settings table, after the registration is complete.

And i dont really know which function to modify. I was looking at the model and library searching for how the group is added into the database but couldnt really find any hint in the code.

So could someone please help me out on this? Pointing to a tutorial maybe or just giving me a hint where to start the modify

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T22:26:58+00:00Added an answer on June 6, 2026 at 10:26 pm

    In models/ion_auth_model.php at line 733 starts the register function.

    You can extend somewhere on line 793, after the line that gets the id of the user $id = $this->db->insert_id(); just add your custom data you wish to insert:

    $mdata = array(
        'user_id' => $id,
        // ... your other data here
    );
    $this->db->insert('my_table', $mdata);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello first sorry if its a stupid question, but I amm a beginner, and
First sorry if its a stupid guestion but im a really big beginner. I
First of all sorry if its a noob question. But is it posibble to
First of all I am sorry for the stupid question I am going to
Sorry for the noob question, but I'm starting to use structs in objective-c for
I'm sorry to make my first question here a bit of a simple one
Sorry if this is a stupid question, but it's something that I'm curious about.
First I am sorry about the length of this post, but I wanted to
Well, first of all sorry about this question it must be pretty straight forward
First of I'm very sorry but this questions is not so so specific. All

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.