I am adding a field to user table in db. So everytime when the user makes a post, I would like to increment the number in that field. So how do I increment it when that person is making a post?
Is there some kind of hook or something like that so that I can execute this query?
This might seems stupid as my experience with Xenforo adgon creation is really limited!
public static function tpoh_installr()
$dw = XenForo_DataWriter::create('XenForo_DataWriter_UserField');
So the following would be my code to be run while installation of the addon?
Also so when the user want to edit it next time, will the custom profile field get saved automatically?
public static function installer($existingAddOn)
I am working on an addon in which I need to add a text box to personal details in UCP.
I know adding is not the hard part but saving it is. I don't have any idea on how to save it to the database, can some one please help me on this?