Topic: WRITTING integration with custom site

I have a site where I can post various articles and users can comment on them. So far the site is up and running and is doing well. The site has no authenticated users, so there is no users database.

Now, I want to add a forum to the site. The forum would not be integrated with the site. All I want is this:

Whenever I add a new article to the site, I need to also add a new topic to the forum, under a board previously added and under a user previously added. So for the forum users', this would look like a normal user on the forum adds a topic.

Do you have any idea about the easiest way to obtain this?

Re: WRITTING integration with custom site

You need to include some common Forum files and call the "add_topic" function. An example of its usage you can find in the "<FORUM_ROOT>/viewtopic.php" file.

Re: WRITTING integration with custom site

Wow! I lost any chance of getting a reply to this thread. It looks like the community it's moving here. Slowly, but moving  smile

Anyway, in the mean time, I was able to adapt SMF for my needs and I did it similarly to what you suggested. But I'm still interested in how can I do this with PunBB. So, what are those common Forum files which I need to include?