My goal is simple. I need a PHP class which can interface with my external CMS in the following way:
1) create an article in CMS.
2) on completion of CMS submission, call a PHP function from my custom class (probably via HTTP request) which will insert a new thread into a dedicated vb forum, using the title and body of the new article - and returning to the calling app the id of the newly created forum thread.
3) provide a function which can be called from the CMS each time the page loads to get the number of replies.
I have so far found one discussion of this, here:
https://vborg.vbsupport.ru/showthread.php?t=181689
But the code sample is tantalisingly incomplete... I would love to see a full working example rather than just a snippet.
I would have thought this problem would have been solved a hundred times over by now?
Any pointers?
thanks.