Free Jobs

Dot Net Forums: ASPNET (77) C#.NET (39) VB.NET (8) AJAX (21) Silver Light (1) WCF (10) WPF (1) WWF (1) .NET 3.5 (3) SQL SERVER (38) Other (3)

Topic: How to install and Integrate YET Another Forum to Your Website

To get the Posted Questions details daily in your mail Click Here

Share this Post on Facebook/Twitter/Orkut Bookmark and Share

User: dhiraj5079 Post Date: 06 Sep 2010 07:00

If you are a website owner or webmaster and you do not have a forum attached to the website ,then believe me ,you are compromising with your website's interactivity quotient.A forum is something which hugely influences a website popularity from SEO perspective as well.

Main Content:
If your website is developed in .NET Technology then one of the best option for you is Yet Another Forum (, here onwards referred as YAF.
In this article I will be discussing how to install YAF to your production server and Integrate it seamlessly with your
existing website.

Target Audience: Webmasters, Web Project Managers and .NET Developers

Steps to install YAF on your server:

1. Download YAF from Note that current version available is YAF 1.9.4 and my article is based on this version. For future versions the installation and Integration instructions may change.
2. Create a virtual directory in IIS pointing to D:\YAF-v1.9.4-FINAL-SRC\YetAnotherForum.NET. Above is the assumed path where you have downloaded YAF.
3. SQL Server database is required for installing the YAF. SO keep SQL Server installed on the machine. Then Create an empty SQL Server database for YAF named yafnet(say).
4. If Web.Config is not present in the forum root,copy one of the samples provided in the "webconfigs" folder into the root of the web application and rename it to web.config.
5. Setup a valid connection string in db.config as per the format provided by YAF.
6. Configure the SMTP settings in mail.config as per your hosting environment and as per the format provided by YAF.
7. Then try to open http://localhost/YetAnotherForum.NET/install/Default.aspx and install the forum as per instructions appearing on the installation wizard. It will create/update the forum database and create admin user. Note that all the passwords should have a special charector in it.
8. After the installation the URL will come something like http://localhost/yaf/default.aspx if the above page opens without any error that means your installation is complete.
9. Then you need to copy your installation folder to the root of your website.
10. Suppose you want the forum to appear on the Default.aspx Page, Then Merge the Default.aspx page from the forum with Default.aspx page from your website.Also you need the merge the web.config file from the forum to web.config file of existing website.
11. Now run the default.aspx page of the website and forum should appear on the page.

When you have completed all the above steps it is only 25% of game. The real game starts when you go for customizing the forum code to use it as per different requirements from your website. I have recently done YAF code customization for our company

About Writer:
Hi,I am IT Professional From Mumbai

Writer's Link: http://

Writer's Email:

Post Comment

Similar Articles Top ArticlesLatest Articles Other Articles by this Author Copyright © 2009-2011 | All Rights Reserved
All content of this website is protected by copyright laws and should not be reproduced in any form or by any means without written permission
(Best viewed in IE 8.0+ or Firefox 3.0+ at resolution of 1024 * 768 or higher)