It looks like you're new here. If you want to get involved, click one of these buttons!
Hi! I'm putting together a forum for a client, and they need to add 5 or 6 fields that will be required (zipcode, city, state, etc). I added them to the user database, and found all the files I need to edit in /entry. However, I would like to make this into a plugin so I don't have to worry about all my changes being overwritten when upgrading.
I am new to Vanilla and am having trouble wrapping my head around it. How do I override the UserModel to add new fields when inserting and validating? Should I just copy the usermodel code into a new model in my plugin somehow? I thought maybe just copying the entire entry folder into a plugin would be the way to go, but then I'm not sure how to create a different URL (something like mysite.com/signup). Is this the write way to go? I have no idea! Struggling for a week or two with this. Any help is appreciated!
PS: this is for Vanilla 2.