Forums

Possible to auto-create a Kunena post?

Paladin_Brewer 10 Mar, 2016
Hello,

This may seem like an odd request, but is it possible to have a form create a Kunena post in a specific forum? I know you can dump the information into an SQL database so I didn't know if I could manipulate how it goes into the DB so that it say, takes the ID "name" from the form, makes that the Subject, and pastes the application info into the post inself. Is that possible, or too much?🙂
GreyHead 10 Mar, 2016
Hi Paladin_Brewer,

This came up once before a few years ago - I don't see a solution in the forums though :-(

Technically the answer is 'Yes' you can do this. The difficult part is working out exactly what needs to be saved where in the Kunena tables so that the post is valid and nothing there is broken. If you check their docs then there may well be an existing class that you can call from a Custom Code action that will do all this for you.

Bob
Paladin_Brewer 11 Mar, 2016
I figured it was possible, I was hoping someone had done it before. I don't have much coding prowess, but I'll check their site as well. If I figure something out I'll remember to post it. The functionality will certainly be a time saver for me in the future.
This topic is locked and no more replies can be posted.