msantamaria
2010-11-27T04:45:48Z
How i can install this software but usinf the asp.net memberships and roles system.
Sponsor
msantamaria
2010-11-28T14:46:00Z
is this possible with this forum or not?
Mek
  •  Mek
  • 100% (Exalted)
  • YAF Developer
2010-11-28T15:56:26Z
Have you tried it?

You need to edit the web.config provider settings to the asp.net membership and roles. Shouldn't be an issue with using these. The only thing I'm not sure about is the Profile provider.


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 🙂 )
twr
  •  twr
  • 56% (Neutral)
  • YAF Camper
2010-12-01T19:03:28Z
These are my settings and it works great. You must inherit the YAF.Classes.Utils.YafUserProfile for profiles to work properly. Other than that it's about the same.

<membership defaultProvider="SqlMembershipProvider">
<providers>
<add name="SqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider"
connectionStringName="yafnet"
applicationName="Community" enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
requiresUniqueEmail="true"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="10"
minRequiredPasswordLength="4"
minRequiredNonalphanumericCharacters="0"
passwordAttemptWindow="10"
passwordStrengthRegularExpression=""/>
</providers>
</membership>

<profile enabled="true" defaultProvider="SQLProfileProvider" inherits="YAF.Classes.Utils.YafUserProfile"> <providers>
<add connectionStringName="yafnet" applicationName="Community" type="System.Web.Profile.SqlProfileProvider" name="SQLProfileProvider"/>
</providers>
</profile>

<roleManager defaultProvider="SqlRoleProvider" enabled="true">
<providers>
<add name="SqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="yafnet" applicationName="Community"/>
</providers>
</roleManager>

YAF takes care of membership credentials during registration, members take care of thier profiles and you manage YAF roles through the admin control panel (see snapshot below).

UserPostedImage

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved