Background:I have integrated WWF with the article system on one of our websites. How it works is that the articles are posted in an articles table, and the discussion of each article is a forum thread. There is a field in the articles table that associates the thread with the article.
In the forum, I added a mod that looks to see if there are related articles for the thread and then displays a link and summary if there is.
Example:
http://www.caribbeanchoice.com/forums/forum_posts.asp?TID=76890And on the article page itself, I link to the discussion and show the latest posts (although I am thinking of changing how it looks).
Example:
http://www.caribbeanchoice.com/travel/content.asp?article=988(if you are logged in you can see the quick reply box)
What I Want to Do:What I am having difficultly with is adding a reply box to the article page. I would like to add a reply box so that people can post directly from the article page. I've got it partially working (for those logged in), but it does not work 100% yet, and the CAPTCHA for Guests doesn't work yet.
I would also like:
- Guest Posting Allowed (or not... depending on forum permissions)
- CAPTCHA for Guests only
- The post gets processed through the forums posting mechanism, so that it goes through forum security checks.
I've gotten it to work for people who are logged in, by making many mods, but am having problems with the CAPTCHA working, which I suppose I will have to mod as well. So I haven't gotten it to work for Guests yet.
The problem is that the reply box and CAPTCHA assume that the code is in the forum directory, so the paths are all wrong if you try to include the code on a page outside the forum directory.
I will probably just have to go modify all the paths and go through eveything.
I was just curious if anyone else has done this and if so, would they be willing to share the code or pointers on how to do the easily.
I'd also like to appeal to Borg to make it so that it is possible to include code on pages outside the forum directory without having to modify all the paths to get it to work.
Thanks.