In addition to merging web.config settings it's required to update all links starting with "~/"
e.g. links to master pages, links in site map files etc.
Also I've faced the case when my master page and site map file have identical names with punbb ones.
I've just renamed them.
Generally it would be nice to have some parameter in appsettings section like "PathPrefix" with value pointing to the punbb forum location. And this parameter should be added to all links.
Re: Publish PunBB.NET in a web application subfolder (3 replies, posted in PunBB.NET discussion)
Ok, seems its not so hard,
- I've placed the PunBB.NET in my app subfolder
- changed links to master pages and links in sitemap's files
- merged web.config's
- set the default membership provider in web.config to my app membership provider
Now when I login in my app login form, - I can enter the forum and it recognizes me as already logged in user.
I can even create topics, but they are not shown in the topics list, probably because of they are stored in the database without UserId, which has a different type in the base membership table (uniqueidentifier vs varchar(200)).
But this should not be a big problem to fix it.
We need exactly the same thing, we have already an application with membership database (about 60000 users)
and we would like to add PunBB.Net and make it to use our membership database.
What if we just replace its Users table with our membership table and of course correct some code in the PunMembershipProvider.cs file?
Thanks for your work!