26094Dynamic Sites With PHPBBhttp://www.ajquick.com/programming/phpbb/tutorial/In this tutorial, I will show you how to make your whole site more dynamic, by including the PHPbb login to work all all the pages of your site. This tutorial will hopefully help increase your knowledge of PHP, and mySQL. With some very simple, and easy modifications, which I include here, you can easily add Birthday Announcements, Users Online, Private Messages, and Recent Discussion to any page of your site. You can also use the PHPbb login information with other custom DB forms on your site. Expanding your site into an extremely dynamic community.
This tutorial will use many hacks from http://www.phpbbhacks.com/, some were greatly changed by me, and others. I will try my best to give credit to those who wrote the code, or came up with the ideaPHP > Tips and Tutorials > Discussion BoardsOct 15, 2006
Integrating forums with your own application and user base can be a real pain in the ass. I’ve done this in the past with Vbulletin and phpBB, but it’s really not that much fun. Both involved some degree of hacking of their core code which means problems when trying to upgrade (you have to remember every tiny thing you did to make it work). As both products improve and get more advanced you’d think they’d have built nice apis to make this job easier. Apparently not yet…
Many Web sites offer message and discussion boards to attract and retain visitors. Boards have been used for everything from dating services to stock advice. They often play an important part in marketing strategies because they provide answers to pre- and post-sale questions. They are also popular on company intranets. Web developers have responded to the popularity of discussion boards, and they labor at designing their own boards from scratch.
Customizing Your Forum
Now that you have installed phpBB and gained some experience with the Administration Control Panel, you are ready to begin altering some more advanced aspects of
Learn how to make a comment/discussion board like those on this site using PHP and mySQL. there are three files: comments.php, which displays the comments, commentadd.php, which processes the comment, and commentform.html which is simply a form that can be placed in any page manually or per SSI (server side includes). I realize that it is possible to have all three components in one file, but we are using this multifile method for tutorial functionality.
There was a time a while ago, around the time of these (BBcode editor & BBcode 'parser') two articles, when I thought processing BBcode submitted by a websites users was a complex matter. I thought it required complex regular expressions and even then my solution was far from complete. In truth, as complex as I thought the problem was, in reality it was probably more complex still.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.