AGD-Andy
Member
I have a cron job that was on my old vBulletin forum that I want to convert. The steps in the process were like this:
* Query database for payments, ordered by date
* if there were NEW payments:
* Check Month - If there is not a thread for this month, create a new one. If there is, then create a new reply for that thread
* Mark new payments as submitted in DB
Essentially it created a new thread each month to list out payments so that everyone was always aware of payments made. Also created the thread so that users could add their own comments there.
What I don't know how to do with xenForo is how to create threads and replies via code Any starter-help would be greatly appreciated!
* Query database for payments, ordered by date
* if there were NEW payments:
* Check Month - If there is not a thread for this month, create a new one. If there is, then create a new reply for that thread
* Mark new payments as submitted in DB
Essentially it created a new thread each month to list out payments so that everyone was always aware of payments made. Also created the thread so that users could add their own comments there.
What I don't know how to do with xenForo is how to create threads and replies via code Any starter-help would be greatly appreciated!