Posting from a PHP Form?

General Discussion
  • #1

    Let's say I had a PHP form that when a user submitted it - it posts the results into the forum under a specified user into a specified forum. Where would I even start to look at doing something like this?

    With most other forums in the past I would do it as hacky as possible and just insert it into the database, but don't really want to do that with nodeBB.

  • #2

    There's a way to import posts from RSS feeds. I haven't dug into it very much, but you might want to look at that. I'll see if I can find the posts about it.

  • #3 has the basics. So you'd make your PHP form submissions dump to an RSS feed (how you do that is up to you, but the obvious method is to stick them in a database and then make a simple RSS feed that pulls from the database) and then the plugin will import them for you.

  • #4

    @Shaun Thanks but unfortunately the RSS feed plugin seems to be having some issues (at least for me), particularly with not grabbing all posts and/or duplicating them.

    I'll keep my eye on the rss thread and see if it gets any updates.

Suggested Topics

| | | |