J James Well-known member Nov 15, 2012 #2 Cron entries can be assigned to an add-on, so that they are exported with the XML. Custom fields must be added manually or added in an install function to be executed on installation of your add-on.
Cron entries can be assigned to an add-on, so that they are exported with the XML. Custom fields must be added manually or added in an install function to be executed on installation of your add-on.
Renari Member Nov 15, 2012 #3 James said: Cron entries can be assigned to an add-on, so that they are exported with the XML. Click to expand... Ah, thanks didn't notice that. Custom fields must be added manually or added in an install function to be executed on installation of your add-on. Click to expand... By running a query adding them to the table correct?
James said: Cron entries can be assigned to an add-on, so that they are exported with the XML. Click to expand... Ah, thanks didn't notice that. Custom fields must be added manually or added in an install function to be executed on installation of your add-on. Click to expand... By running a query adding them to the table correct?
J James Well-known member Nov 15, 2012 #4 Renari said: Ah, thanks didn't notice that. By running a query adding them to the table correct? Click to expand... Not necessarily running a raw query, you should be able to hook into the UserField Model and create them that way. Nevertheless, it will be directly adding them to the DB as an end result.
Renari said: Ah, thanks didn't notice that. By running a query adding them to the table correct? Click to expand... Not necessarily running a raw query, you should be able to hook into the UserField Model and create them that way. Nevertheless, it will be directly adding them to the DB as an end result.
J James Well-known member Nov 15, 2012 #6 Look at XenForo_ControllerAdmin_UserField function actionAdd()