1
JamesSAEP
Extra mysql insert during registration
  • 2006/10/27 16:43

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


I assume that the register.php file needs to be backed for this, but I'm not sure...

When a person registers, I want to insert the email address, password, username into an additional table in the same database.

What would the code look like to do this?

Thanks.

2
JamesSAEP
Re: Extra mysql insert during registration
  • 2006/10/30 17:40

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


bump :) anyone?

3
scoobster
Re: Extra mysql insert during registration
  • 2006/11/28 15:11

  • scoobster

  • Just popping in

  • Posts: 28

  • Since: 2005/2/5 1


Hi James

I believe you need to edit the /kernel/user.php file to add another table insert after the XOOPS user table has been modified. The function is called insert and it's around line 510 depending on what other hacks you've already done!

Hope this helps.

scoobster

Login

Who's Online

223 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 223


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits