Darklol
Member
Hi everyone,
First of I'm coming from phpBB where I do have some custom work done but for some reason I am looking at the XF2 build an addon example and I'm very confused.
What I am trying to do with Xenforo is when someone purchases a user upgrade I would like to write to a separate table that user information. Like username, name, user upgrade title he just purchased etc.... If per example we refund that person or remove his user upgrade it would remove the user from that table.
On phpBB, we have a custom php form where people sign up and it automatically write to the database and then I display the results but we had to manually validate if the user had paid or not. So main reason upgrading to xenforo was that user upgrade ability but I'm looking for some help to get started.
Should I just find how and where the user upgrade writes to the DB and hard code directly there but I guess any update will break my code and I'll need to redo it everytime. Is this something that needs an addon to issues with updates.
Is this something too complicated to do and is there a simple existing addon that looks similar to this that I could look at the code.
Any help will be appreciated to get me started.
Thanks
First of I'm coming from phpBB where I do have some custom work done but for some reason I am looking at the XF2 build an addon example and I'm very confused.
What I am trying to do with Xenforo is when someone purchases a user upgrade I would like to write to a separate table that user information. Like username, name, user upgrade title he just purchased etc.... If per example we refund that person or remove his user upgrade it would remove the user from that table.
On phpBB, we have a custom php form where people sign up and it automatically write to the database and then I display the results but we had to manually validate if the user had paid or not. So main reason upgrading to xenforo was that user upgrade ability but I'm looking for some help to get started.
Should I just find how and where the user upgrade writes to the DB and hard code directly there but I guess any update will break my code and I'll need to redo it everytime. Is this something that needs an addon to issues with updates.
Is this something too complicated to do and is there a simple existing addon that looks similar to this that I could look at the code.
Any help will be appreciated to get me started.
Thanks
Last edited: