Kayn
10-05-2007, 05:27 PM
I'm currently doing a rebuild of my website. I'm going to use vBulletin's user system to maintain the signups (if it ain't broke, etc etc).
In order to do this, I will have to create another table that corresponds with the user table.
For example, when a user signs up, a new record is created in the user table AND in the usertextfield table. Both tables have the exact same number of records and the usertextfield doesn't seem to have a primary key; instead it has the same userid field that the user table has so that the same userid.
Now, I want to create a plugin that will do the same thing only with a different table. I really don't want to dig around in the vB source and add it like that. I know this is possible, but am not sure where to begin.
Any suggestions on where to start? :)
In order to do this, I will have to create another table that corresponds with the user table.
For example, when a user signs up, a new record is created in the user table AND in the usertextfield table. Both tables have the exact same number of records and the usertextfield doesn't seem to have a primary key; instead it has the same userid field that the user table has so that the same userid.
Now, I want to create a plugin that will do the same thing only with a different table. I really don't want to dig around in the vB source and add it like that. I know this is possible, but am not sure where to begin.
Any suggestions on where to start? :)