I successfully managed to post messages into the forum by including WordPress in my php script and calling bbp_insert_topic
.
However, it seems like when I call bbp_insert_reply
bbPress actually inserts a topic parented to another topic and these appear like replies in the site itself.
Tried repairing the forums and it didn’t work.
Any idea why?
The parent ID value was okay.
Running the repair tool didn’t help.
Isn’t there an API to help with the issue I’m having?
I used the ID
field of the parent topic (in table wp_posts).
I suspect that I’ll have to mess with the wp_postmeta
table as well (though at first I didn’t see a direct connection to the messages not appearing on the forum).