YAFLogo

mddubs
  • mddubs
  • 100% (Exalted)
  • YAF Developer Topic Starter
15 years ago
Notes while debugging the multi-board issues:

Environment Setup

1. Latest code from source (Revision 2229).

2. Install to root.

3. Create new member (so 2 members total, this one and admin).

4. Create new board.

5. Copy default.aspx to newboard.aspx and set BoardId="2".

6. Login as admin and change the new board's theme, to easily differentiate during testing.

7. Login as both users, fool around for a bit, everything seems to work fine.

Introduce ASP.NET Membership Framework

1. Add connectionstring to your database with the ASP.NET membership schema.

2. Edit roleManager, membership, and profile settings to use your new connection string.

3. Debug and login with users from membership framework.

Testing

1. Can no longer login using my 2 YAF users (admin and member created during environment setup).

2. Login as membership admin. Try to post a new topic in both boards. Only 1 will work.

3. Logout one board then immediately goto the other board. Still logged in until you refresh in some way.

4. Login as membership member. Create new topic in whichever board you're allowed to. Logout.

5. Login as admin. Can't reply to member's post. So create a new topic in the other board. Then try and reply to it, and the preview pane below will say Access Denied. Wait a few seconds and the preview pane will redirect to the OTHER BOARD's forum homepage.

6. Just realized Host Settings and Board admin options are MISSING! Can't find them in either board's admin panel even after restarting IIS before accessing each.

Debugging

I'm continuing to step through the code but it's an uphill battle. There's quite a steep learning curve to this system.


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
mddubs
  • mddubs
  • 100% (Exalted)
  • YAF Developer Topic Starter
15 years ago
I haven't had any time to devote to figuring out the system lately, I haven't made any progress. I've just disabled multi-boards for the time being.
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 🙂 )

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
15 years ago
So it works with YAF's Membership, but fails with ASP.NET membership?
mddubs
  • mddubs
  • 100% (Exalted)
  • YAF Developer Topic Starter
15 years ago
As far as I know what I wrote above is true but I didn't do very thorough testing on a database not using .NET Membership, because I need to use it.
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 🙂 )