YAFLogo

Posted by: GerritJan123 - Monday, 28 September 2009 09:08:04
Hi all, I'm currently using 1.9.3 and having trouble to create a new board. So if i'm logged in as administrator and navigate to 'Host->Boards' and click 'New Board' and hit 'Save' button after naming the to-be-created board, it simply doesn't! Also, it does not give me any feedback / trace / error. Any idea what's going on? I'm a developer, so don't be scared to let me modify some code.. Thanks in advance. :wink:

Posted by: Mek - Monday, 28 September 2009 11:50:29
Ok I'll try and explain it as best as I can. Boards - Categories - Forums - Topics - Posts. When you install YAF as a default it auto gives you your one board which you put in your categories, forums etc.. if you want another instance of YAF you create another board. However you need another installation thats pointed to this new board. So you can change either the app.config BoardID value, or if you edit default.aspx you can put BoardID=2 in the control properties for YAF:Forum. This way you have two installs all pointed to the same DB.

Posted by: midwestSS - Monday, 28 September 2009 15:40:34
Mek you answer makes sense to me.. but personally, ive been struggling with the concept of the boards it would be kinda cool to be able to make a new board and have the 'regular' board be default, but then make another board,using the same database for membership, etc, but have it be accessible by something like www.myboard.com/board2 or www.board2.myboard.com

Posted by: GerritJan123 - Monday, 28 September 2009 16:53:10
Dear Mek, midwest, thank you for your reply.. And like midwest said I also think it would be a great improvement to make it possible to add a board dynamically. I'll give your suggested solution a try Mek and post my results in this post.. Greetings!

Posted by: Mek - Monday, 28 September 2009 17:23:36
[quote=midwestSS]Mek you answer makes sense to me.. but personally, ive been struggling with the concept of the boards it would be kinda cool to be able to make a new board and have the 'regular' board be default, but then make another board,using the same database for membership, etc, but have it be accessible by something like www.myboard.com/board2 or www.board2.myboard.com [/quote] Thats not too terrible a task. as the subdomain example is exactly what i'm moving towards. basically www.board2.myboard.com and www.myboard.com point to the same place.. and with a little code I get what url they have come from and derive a boardid. Pass this to the yaf forum control and voila. Multiboard - same code. Same user base and same role base.

Posted by: midwestSS - Monday, 28 September 2009 17:37:43
Bingo!