I have recently published the first part in a new series of tutorials which will look at integrating FUDforum into an existing site. Part 1 looks at how to create FUD accounts for existing users, and how to ‘notify’ FUD about things happening on your site. Basically introducing your site to FUD.
Back Story
It seems forums have sort of lost their luster for many; I remember when having a website meant having a forum. At that time it seemed every contract I landed, some portion of the job consisted of integrating a forum into a site. I always hated this job, because at the time PHPBB was the forum of choice and it seemed that there was no ‘right’ way to do it, I had simply developed a bunch of hacks which needed to be scattered around the PHPBB code base and even when complete it was still just a bunch of hacks.
As time moved on, the demand for forums became less and less and I had not done a forum integration in many years. That was until I went to my local PHP users group and ended up with a contract to do a forum integration. I really was not looking forward to the project, but it was a part of a larger job and I’m not one to turn down work.
Luckily the other members of the group convinced the client to use FUDforum developed by Ilia Alshanetsky. I had looked into FUDforum before, had used it as a member of different sites, and assumed the code to be a higher quality simply because of who wrote it, but had never written any code to interact with it.
On Wednesday, the night before I was to do the forum integration I began reading the documentation and planning how I was going to accomplish this task as easily and painlessly as possible. Looking at the sidebar navigation on the documentation wiki, I was surprised to see the heading ‘Integration‘ two clicks later, a quick scan of two different pages, and I knew exactly what needed to be done.
After a few hours of work Thursday morning I had written a script which created accounts in the forums for existing members, I also altered the sign up, login, and logout code of the main site. With these changes the forums were basically integrated into the site, which brings me to the new tutorial series I will be posting over the next week.



PDF













