Hard Light Productions Forums

Site Management => Site Support / Feedback => Topic started by: m!m on March 10, 2018, 08:04:54 am

Title: Request: Add API for creating new posts
Post by: m!m on March 10, 2018, 08:04:54 am
The reason I would like this feature is that the nightly build script fails to create the build thread because the browser it uses fails for some reason. In the past it submitted the create thread post by submitting the "Start new topic" form with the appropriate values but that broke when the forum version was upgraded.

I would like to ask if it is possible to provide a stable way of creating the nightly post (maybe only available to the SirKnightly account) that doesn't break as easily as the current nightly script code. I found a page on the SMF Wiki (https://wiki.simplemachines.org/smf/SMF_API) about a REST API but I am not sure if it is possible to add this to the forum software currently used by HLP.

Thank you.
Title: Re: Request: Add API for creating new posts
Post by: Goober5000 on March 18, 2018, 06:38:24 pm
I found the same mod, but unfortunately, the API changed (https://www.simplemachines.org/community/index.php?topic=458832.msg3931804#msg3931804) in the SMF 2.0.14 version, and we are on 2.0.15.  The original author hasn't been active in some time so there aren't any updates to work with the new login method.

If someone is able to update the code to work with SMF 2.0.15, I'll happily add it to our installation.