YAFLogo

mddubs
  • mddubs
  • 100% (Exalted)
  • YAF Developer Topic Starter
13 years ago
If you want more than 1 board, using the same membership system, with a single install:

1. Each board will exist in it's own subdirectory, ~/forum1/ and ~/forum2/.

2. The YAF web.config settings will all be in the website's root web.config EXCEPT for the appsetting keys. Each forum subdirectory will contain it's own web.config and app.config file.

3. Each forum's web.config will look similar to this:

<?xml version="1.0"?>
<configuration>
  <appSettings configSource="app.config"/>
</configuration>
4. Each forum's app.config will set it's own BoardID, the Root key to the forum path (~/forum1 or ~/forum2), and will comment out the BaseUrl key.

5. Each forum subdirectory will contain all the folders/files necessary for YAF (controls, pages, resources, etc) except for BIN and APP_CODE, which will exist in the root of the website.


UserPostedImage 

www.bunkerhollow.com  | www.careercomputing.com 

When I post fp:mddubs in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Mek 🙂, who stole this off Ederon 🙂 )

Sponsor

diogo
  • diogo
  • 64.4% (Friendly)
  • YAF Forumling
12 years ago
I'm experiencing with multiboard. Are the setting MultiBoardFolders in app.config working or are just there waiting to be finish?
Mek
  • Mek
  • 100% (Exalted)
  • YAF Developer
12 years ago
MultiboardFolders is not neccessarily requied for Multiboard.

It allows you seperate the Images,Uploads,Avatars etc per board.. it does this by programatically appending the folder with the BoardID. The folders have to be created manually first though for each board.


UserPostedImage

"It's a case of RTFM.. the only problem being we don't have a manual!"

When I post FP:Mek in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Ederon 🙂 )

diogo
  • diogo
  • 64.4% (Friendly)
  • YAF Forumling
12 years ago
But is suppose to be working? I'm asking because I created the Directories and I still get errors. If they are suppose to be working then I will check more closely in Debugging mode to see what is the problem.
Mek
  • Mek
  • 100% (Exalted)
  • YAF Developer
12 years ago
Yeah it worked when I "tested" it. But I'm not at the stage in my project to make use of it yet, so will be revisiting soonish. I'll post back with suitable documentation when I get there.


UserPostedImage

"It's a case of RTFM.. the only problem being we don't have a manual!"

When I post FP:Mek in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Ederon 🙂 )

cheetahtech
12 years ago
I have to ask, was there ever a fix for the multiple boards solution?

I have a website that will be creating new boards dynamically. One day, it could go up to a million boards for example. I would rather do this programtically instead of a new folder for each board... So the question remains, did this solution ever get run to ground?


At www.SpoiledTechie.com.
doxa123
  • doxa123
  • 100% (Exalted)
  • YAF All-the-Time
12 years ago
i created multiple boards like:

http://www.dilliduduk.com  board id :1

http://yaf.dilliduduk.com  board id :3

on board 3, there is no users and my admin account hasn't admin permissions. Can you help me? i attached my app.config file.


doxa123
  • doxa123
  • 100% (Exalted)
  • YAF All-the-Time
12 years ago
i created multiple boards like:

http://www.dilliduduk.com  board id :1

http://yaf.dilliduduk.com  board id :3

on board 3, there is no users and my admin account hasn't admin permissions. Can you help me? i attached my app.config file.


doxa123
  • doxa123
  • 100% (Exalted)
  • YAF All-the-Time
doxa123
  • doxa123
  • 100% (Exalted)
  • YAF All-the-Time
vasuwin
  • vasuwin
  • 51.2% (Neutral)
  • YAF Forumling
12 years ago
Thanks Jaben, for such a wonderful message board first of all.

I am in process of creating Multiple Boards I have followed the instructions as per the topic.

1) This topic specifies to remove BaseUrl Key. I could not find one in app.config, but a BaseUrlMask with empty value is found. I have not removed it.

http://forums.site.com/hotline , what am I supposed to do for doing this.

In my second forum, there are no users and my admin account hasn't admin permissions. I need to specify mail id separately for second board (send mail from forum).

Thanks in Advance.

Regards,

Vasudev S.

Ioklahoman
2 years ago
Is this (From the beginning of this post) still correct for multiple boards?

If you want more than 1 board, using the same membership system, with a single install:

1. Each board will exist in it's own subdirectory, ~/forum1/ and ~/forum2/.

2. The YAF web.config settings will all be in the website's root web.config EXCEPT for the appsetting keys. Each forum subdirectory will contain it's own web.config and app.config file.

3. Each forum's web.config will look similar to this:

4. Each forum's app.config will set it's own BoardID, the Root key to the forum path (~/forum1 or ~/forum2), and will comment out the BaseUrl key.

5. Each forum subdirectory will contain all the folders/files necessary for YAF (controls, pages, resources, etc) except for BIN and APP_CODE, which will exist in the root of the website.

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
2 years ago
Sorry but this solution will not work! You can only use one app.config per application.

As I wrote before you need to set the board id via the forum control. And when you put only the aspx page with the forum control in a sub folder, and nothing else then it will work.

I tested this solution and it works as expected!