MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Integration with YetAnotherForum.Net (Closed) (Mono Support )

Viewed 32803 time(s), 9 post(s) 9/23/2008 4:37:44 PMby denis
denis

denis

6/2/2011 9:51:32 AM
YetAnotherForum.Net can be fully integrated with the MonoX by using the configuration files that are attached to this post. Please modify the LocalSqlServer connection string in db.config according to your local environment.

Note: this web.config is used with the YAF version 1.9.3
This content has not been rated yet. 
7207 Reputation 956 Total posts
GTWelsh

GTWelsh

6/6/2011 12:36:02 AM
Hello please can you elaborate on this, I'm quite new and would like to learn how to do this. Do I install both things then put the files in the YAF installation ?
This content has not been rated yet. 
25 Reputation 4 Total posts
denis

denis

6/6/2011 3:46:34 PM
Hi,
The attached zip file contains only the modified version of the web.config and db.config for YAF. Note that this is a very old post and I didn't check YAF since than since we introduced our own forum system, so you will have to manually modify your version. The procedure is simple - you just have to download both MonoX and YAF, install MonoX, than install YAF in a virtual folder below MonoX installation. At this point the two packages will work independently - web.config modifications allow YAF to start using MonoX users and roles. 

As for the config files in YAF, the files attached can still serve as a blueprint. Just add MonoX DB connection string to YAF db.config (just as it was done in the attached file) so it can access MonoX database. You will have to comment out some of the config sections in the YAF web.config since they are already declared in MonoX. After that, make sure that a validation key and a decryption key for the machineKey are copied from MonoX web.config. Name attribute of the forms node should also be the same in both apps so YAF could pick MonoX' authentication cookie. Add MonoX role and membership provider, remove the httpHandlers and httmModules that are not needed in YAF, and that should be it.
This content has not been rated yet. 
7207 Reputation 956 Total posts
GTWelsh

GTWelsh

6/6/2011 4:37:10 PM
Your forum system is very nice, but is there any way to re-order the forums and sticky some threads ? If that would be possible I wouldn't need to use any other forum system. Because the monoX forum does look very nice.

Also thank your or the in-depth reply, will be very helpful if/when I decide to go ahead and try do it.
This content has not been rated yet. 
25 Reputation 4 Total posts
denis

denis

6/6/2011 4:45:47 PM
Not at this time, but both features are planned for the next major release.
This content has not been rated yet. 
7207 Reputation 956 Total posts
GTWelsh

GTWelsh

6/6/2011 4:50:11 PM
Okay, really love the MonoX package and will continue to use it, after trying out, almost all other CMS systems, this one just looked like the best, and after setting up my website to an OK basic level in a couple of days, it's far better than I could do with other CMS systems. Very well done !
This content has not been rated yet. 
25 Reputation 4 Total posts
denis

denis

6/6/2011 5:18:35 PM
Thank you very much. Do not hesitate to contact us if you need any help with the customization process.
This content has not been rated yet. 
7207 Reputation 956 Total posts
jacky-uber

jacky-uber

5/9/2012 3:16:47 AM
Hi Denis,

i just installed with MonoX v4.1.2742.40 and YAF 1.9.5 RC1
try to replace the config files attached, but not working

YAF is store into subfolder of MonoX.
error message on Webconfig when accessing YAF contents.

<machineKey validationKey="432F2F845871EE74036D6FA75A7994EE77E2236634DC2C16AE71FC1EC5E482E80E9D0F2ACC281C7EE90BC5427F9FEBB1EE1E1E6B7AD05D2D2FB5FC6EA95843E4" decryptionKey="011D8C69D3102FE12A4AD59D79F6F976706553F1CD9D069A" validation="SHA1"/>
This content has not been rated yet. 
5 Reputation 1 Total posts
denis

denis

5/9/2012 4:31:35 PM
What is the exact error message?Can you open a separate thread for your questions, this one is rather old.
This content has not been rated yet. 
7207 Reputation 956 Total posts