PDA

View Full Version : Adding additional profile info into new table: user option on profile page


TheMusicMan
03-24-2007, 07:25 AM
Hi All

I am thinking about adding a new table to the vB MySQL database that will store additional information about a user outside of the standard vB profile data and the vB Custom Profile Fields. I would like to present this as a button on the profile pages (somewhere) that the user can click on to take them to this new profile data page.

This new page will then present the additional field information to the user who can populate this page with whatever information they choose to add.

I will then use that data for my requirements.

I want to be able to add the PHP code containing the info for the new data profile fields into a vB plugin called from a hook on the profile page. Is this possible? Is there a hook at that point?

MarkPW
03-24-2007, 03:33 PM
This is all pretty straight forward.

If you simply want to add some extra profile data to the standard profiles, use the hook: "member_complete".

TheMusicMan
03-24-2007, 03:56 PM
Yup, by and large that's all I want to do. I want to do lot's with that data, but adding additional data to the members profile is all I want to do in this part of the script.

Once it's there, and allowing for members to update and amend this data, I want to manipulate it in certain ways obviously - but that will be the subject of another thread if I need help on that (which I am sure to!!)

Thanks Mark.