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.If your website is developed in .NET Technology then one of the best option for you is Yet Another Forum (http://www.yetanotherforum.net), 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
Target Audience :Webmasters,Web Project Managers and .NET Developers
Steps to install YAF on your server:
- Download YAF from http://www.yetanotherforum.net. 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.
- 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.
- 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).
- 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.
- Setup a valid connection string in db.config as per the format provided by YAF.
- Configure the SMTP settings in mail.config as per your hosting environment and as per the format provided by YAF.
- 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.
- 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.
- Then you need to copy your installation folder to the root of your website.
- 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.
- 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's website but that is specific to the website and differs widely from application to application.
However, If you find any issue in code customization,feel free to drop a line to me.
You can find my contact Details by clicking my blog link below.
About the Author