Introducing DotNetFunda.com on mobile http://m.dotnetfunda.com ! Be with DotNetFunda.com on the go !
Go to DotNetFunda.com
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 8117 |  Welcome, Guest!   Register  Login
Home > Articles > CMS > How to install and Integrate YET Another Forum to Your Website.

How to install and Integrate YET Another Forum to Your Website.

1 vote(s)
Rating: 5 out of 5
Article posted by Dhiraj5079 on 8/23/2010 | Views: 10104 | Category: CMS | Level: Advance | Points: 150 red flag


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
existing website.

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

Steps to install YAF on your server:


  1. 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.
  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.  

Conclusion


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.

If you like this article, subscribe to our RSS Feed. You can also subscribe via email to our Interview Questions, Codes and Forums section.

Page copy protected against web site content infringement by Copyscape
Found interesting? Add this to:



Please Sign In to vote for this post.

About Dhiraj Kumar

Experience:8 year(s)
Home page:http://dhiraj5079.blogspot.com/
Member since:Wednesday, March 10, 2010
Level:Starter
Status: [Member]
Biography:Dhiraj Kumar is a passionate .NET enthusiast and Microsoft Certified Technology Specialist.
Currently working at What's on India,Mumbai , India.
 Responses
Posted by: Bhanubysani | Posted on: 20 Jun 2011 07:43:31 AM | Points: 25

iam facing error in testing Mail (SMPT) Sending Test...plz provide changings in mail.config file......

Posted by: Yemulss | Posted on: 21 Nov 2011 12:24:56 AM | Points: 25

Hello,

We are developing a forum website in asp.net 2008 SP1 (.Net Framework 3.5 SP1) through yet

another forum (yaf) version 1.9.5.5. We want to customize the registration steps i.e. we

want to add an additional steps like given below steps:

1. Get User Information (fname,lname) etc.
2. Make online payment
3. Register with the Site

We were trying the customize the page "register.ascx" inside "pages" directory but we couldn't. We were also commented the whole code behind the register page but instead it works fine. We couldn't be able to code in debug mode. We are not getting any idea from were it is initiating.

Regards
sham yemul, www.Intellisoft.co.in

>> Write Response - Respond to this post and get points
About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you found plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/21/2012 8:32:26 AM