Installing Yet Another Forums.net Beta 0.97 into a DNN 2.0.3 portal Yet Another Forums.net (YAF) is an ASP.NET forums application that can be easily modified to integrate with DotNetNuke. I think these forums are so good that in my view the www.dotnetnuke.com
website should start using them instead of these forums! Below are the steps that I took to get this forum working with my DNN 2.0.3 portals. It may or may not be the best approach, but it works well.
Download the files: Go to www.yetanotherforum.net and click on the link to download the forums. You will be taken to a Sourceforge page. You want the following files: * yafbin-0.9.7.zip * yaf_dnn-2.0.3.zip
Configure the SQL Database I chose to use a separate database for YAF to reduce the risk of it messing with any DNN tables. I am not sure if this is really necessary so it is up to you if you want to do this part of the procedure or not. 1. Using SQL
Enterprise Manager or another tool create a new database called YAF 2. Assign the same user as you use for your DNN database as a Database User and give it the
dbo_owner Role. Extracting the files and integrating with DNN 1.
Create a folder named YetAnotherForum.net in your DotNetNuke\DesktopModules folder 2.
Extract the contents of yafbin-0.9.7.zip into the YetAnotherForum.net folder 3.
Extract the contents of yaf_dnn-2.0.3.zip into the YetAnotherForum.net folder, you will be
overwriting some files with newer versions that will make this all work 4.
IMPORTANT: Delete or rename the web.config that is in the YetAnotherForum.net folder 5.
Copy all the files from YetAnotherForum.net\bin to your DotNetNuke\bin folder 6.
Modify the web.config.dotnetnuke to point to the database you created above. You need to change the section labelled
as follows: * data source= Server or PC name (instance) where the database resides (e.g. localhost) * initial catalog= Database name (e.g. YAF) * user= Database user * password= password configured for the database user 7. If the folder name that you are using is not
YetAnotherForum.net then you will need to modify the and sections accordingly 8.
Merge this file with your DotNetNuke\web.config file. To do this copy the lines in-between
and and paste them into the same section in the web.config. Then copy the section that starts with
< !-- Yet Another Forum.net configuration --> and ends with and paste into the similar spot in your
DotNetNuke\web.configInstalling the Forums This is the step that was not clearly explained in the ZIP file. You need to get the forums to install and populate the database, etc. How I did this was to run the
install.aspx file in the YetAnotherForum.net folder from a web browser like this:
http://myserver/dotnetnuke/DesktopModules/YetAnotherForum.net/install.aspx You will be presented with a wizard, just step through it and the database should be setup and your forums all ready to go.
IMPORTANT: When it asks for a forum administrator, use the same name as the Host or Administrator for your DotNetNuke portal.
Configuring the DNN YAF Forums Module 1. Login as your portal host 2. Select Host ->
Module Definitions 3. Select Add a New Module Definition. Type in the
Module Name: YetAnotherForum.net Then click on Update 4. Type in a
New Definition: YetAnotherForum.net. Click on Add Definition 5. Click on
Add Control: Select the Source: DesktopModules/YetAnotherForum.net/DotNetNukeModule.aspx. Select the
Type: View. Click on Update If everything went smoothly you should now be able to add the Forums the same as any other module. Then you can configure the forums and start using them. Good Luck! Please let me know if I have missed anything
or if I need to change something to make it clearer.
There was another post about this integration with a live site to view at www.netyogi.com. The impressive thing for me about yaf is that it integrates with dnn user authentication which is important. Good explanation above by the way. Regards
Nice instruction. One thing I want to make sure before I go ahead integrating the YAF into my intranet is that: Does YAF support attachments to the post? This will be very helpful for sharing documents in our intranet. Anybody has any idea about this? Many
thans in advance.
I got the following error message. anybody of you have any idea of that? A critical error has occurred. The virtual path '/desktopmodules/yetanotherforum.net/pages/forum.ascx' maps to another application, which is not allowed.
The only small problem I have noticed so far is that the DotNetNuke Solpart menu font changes when I navigate to the tab containing my YAF forum - at most I imagine this will involve a little CSS editing. Otherwise, the install went very smoothly on my development
PC. I am very impressed, the YAF team should be applauded for making this forum so easy to use for DotNetNukers. I think it would be difficult for me to justify sticking with Adverageous forums with YAF on the scene - well done. FYI - all the YAF tables are
prefixed with "yaf_" if you do not already have tables with this prefix in your DotNetNuke database then using the same database should be fine.
I got an error sending a PM to myself, but was able to send to different users OK. The product is still beta so I there are still bugs and inconsistancies, but I want to get as many people using it as possible so we can "encourage" the developer to fix these
and improve the product.
Thanks for the feedback on the instructions, it's worth the effort when I know it helps people out. As to the error about mapping to another application, can you give details on your configuration (O/S, IIS version, database type, etc.) Thinking that it sounds
like you have YAF configured as an application in IIS already and it doesn't like it (are you using Windows 2003?). Also what is giving the error, is it IIS or DNN?
Money Penny
Member
445 Points
89 Posts
Details on how to integrate Yet Another Forums.net with DNN 2.0.3
Mar 27, 2004 04:51 AM|LINK
* initial catalog= Database name (e.g. YAF)
* user= Database user
* password= password configured for the database user 7. If the folder name that you are using is not YetAnotherForum.net then you will need to modify the and sections accordingly 8. Merge this file with your DotNetNuke\web.config file. To do this copy the lines in-between and and paste them into the same section in the web.config. Then copy the section that starts with < !-- Yet Another Forum.net configuration --> and ends with and paste into the similar spot in your DotNetNuke\web.config Installing the Forums This is the step that was not clearly explained in the ZIP file. You need to get the forums to install and populate the database, etc. How I did this was to run the install.aspx file in the YetAnotherForum.net folder from a web browser like this: http://myserver/dotnetnuke/DesktopModules/YetAnotherForum.net/install.aspx You will be presented with a wizard, just step through it and the database should be setup and your forums all ready to go. IMPORTANT: When it asks for a forum administrator, use the same name as the Host or Administrator for your DotNetNuke portal. Configuring the DNN YAF Forums Module 1. Login as your portal host 2. Select Host -> Module Definitions 3. Select Add a New Module Definition. Type in the Module Name: YetAnotherForum.net Then click on Update 4. Type in a New Definition: YetAnotherForum.net. Click on Add Definition 5. Click on Add Control: Select the Source: DesktopModules/YetAnotherForum.net/DotNetNukeModule.aspx. Select the Type: View. Click on Update If everything went smoothly you should now be able to add the Forums the same as any other module. Then you can configure the forums and start using them. Good Luck! Please let me know if I have missed anything or if I need to change something to make it clearer.
rmurray
Member
285 Points
57 Posts
Re: Details on how to integrate Yet Another Forums.net with DNN 2.0.3
Mar 27, 2004 01:47 PM|LINK
nbc
Contributor
7345 Points
1469 Posts
Re: Details on how to integrate Yet Another Forums.net with DNN 2.0.3
Mar 27, 2004 04:33 PM|LINK
Free Css Skins! | nuke.nickclements.net
colab
Member
35 Points
7 Posts
Re: Details on how to integrate Yet Another Forums.net with DNN 2.0.3
Mar 27, 2004 09:16 PM|LINK
colab
Member
35 Points
7 Posts
Re: Details on how to integrate Yet Another Forums.net with DNN 2.0.3
Mar 27, 2004 10:08 PM|LINK
nbc
Contributor
7345 Points
1469 Posts
Re: Details on how to integrate Yet Another Forums.net with DNN 2.0.3
Mar 27, 2004 11:37 PM|LINK
Free Css Skins! | nuke.nickclements.net
gsc4
Participant
965 Points
193 Posts
Re: Details on how to integrate Yet Another Forums.net with DNN 2.0.3
Mar 28, 2004 01:11 AM|LINK
gsc4
Participant
965 Points
193 Posts
Re: Details on how to integrate Yet Another Forums.net with DNN 2.0.3
Mar 28, 2004 01:46 AM|LINK
Money Penny
Member
445 Points
89 Posts
Re: Details on how to integrate Yet Another Forums.net with DNN 2.0.3
Mar 28, 2004 03:02 AM|LINK
Money Penny
Member
445 Points
89 Posts
Re: Details on how to integrate Yet Another Forums.net with DNN 2.0.3
Mar 28, 2004 03:04 AM|LINK