Home
To use this you should compile MP solution with extra projects added.
YetAnotherForum.NET - is your future distribution folder.
If your use a codeplex version: Mercurial Clone URL: https://hg01.codeplex.com/yafnet
In distribution source code like YAF-v1.9.6-BETA1-SRC http://yafnet.codeplex.com/releases/72897/download/278004
In folder FilesToReplaceInYAFFiles there are files which you should replace in YAF source code. The folder YAF.Providers contains profile provider code tweaks and /YAF/install/mssql/providers contains sql scripts for it. You can use your custom profile provider - but it should not be bound to Membership provider or bound to MojoPortal Membership only. In this case you don't need the files.
Now can compile and install it and make sure that it works with a test standalone installation.
After you compiled YAF and are sure that everything works.
The folder YetAnotherForum.NET should be renamed to 'YAF' by module config default settings.
Later you can change the folder name in .config. Put the new 'YAF' folder into MP 'Web' folder. Don't add it to MP solution!
- YAF solution
- Renamed folder in YAF solution
- Relocated folder in MP solution
Ready.
Warning! Dont include YAF folder into MP solution.
- look for example working config in the folder (Web.sample.config). Just replace you connection strings. For further details go to MP site. Fix merged web.config
Set this value in web.config
It will be required to enter while you install YAF. Change connection strings (1 for YAF and the second for MP) Don't use user.config in the folder - it's for reference only.
Remove old YAF Web.config, db.config and app.config from the folder. Move all assemblies from bin folder to MP bin folder and remove YAF bin folder and other things to not publish unused files.
Add new projects to MP solution and fix assemblies references of your projects in MP solution - they should point to assemblies in MP bin folder. Compile it.
YAF stores passwords encripted - make it for MP admin too before install just in case.
9. Now you can simply add the module to MP as usual module, when you first time go to module setting it'll redirect you to YAF install page. You should install YAF.
*Be careful with Admin name which you shoud enter while installing. You should remember you MP host admin email which should be an existing MP admin name. Use existing user name when required. Like admin@admin.com, don't create a new admin user. After install you login under the name in MP again. Now you're YAF host admin.
Click on Host on the upper panel. Check Enable Display Name: on Features tab.
Don't put 2 YAF modules on a page. It's useless. Don't use 2 modules and many YAF boards so far - it's not tested well so far.