Welcome Guest Search | Active Topics | Log In | Register

New User Registration Problem Options · View
sravankasyapk
#1 Posted : Wednesday, October 22, 2008 12:59:44 PM

Rank: YAF Forumling


Joined: 10/20/2008
Posts: 3
Location: Bangalore
Hi,

I have integrated YetanotherForum.net into my web application.
I am using YAF-v1.9.3-BETA version.
I also use asp.net 2.0 membership and role providers for user management.
I have also set the yetanotherforum.net to use the same membership provider.

Whenever a new user is created, he is automatically assigned a 'user' role through my code.
In the forums --> administration --> roles,this role 'user' is linked to YAF.
When i edit this role, i have checked the option 'Is Start'.
So when a new user is registered in the web application, will Yetanother forum automatically put this role in the yaf_UserGroup table when he is browsing the foorum for the first time?

If not what is the actual procedure of new user registration outside the context of the YAF.
Should we manually assign this role from Administration » Users » Edit User "New User" » User Roles ?
or should we programatically add the role to YAF_Usergroup table also?

Please help me as i am totally stuck in this situation.
Any help will be greatly appreciated.

Regards,
Sravan Kasyap K Smile
Jaben
#2 Posted : Wednesday, October 22, 2008 10:37:59 PM

Rank: YAF Head Dude



Joined: 10/10/2004
Posts: 3,045
Location: Honolulu, HI
YAF will only add the user to the IsStart role if they are registered INSIDE the YAF program. YAF doesn't have any control to how you do registration outside it. If you register a user outside the app, it's your responsibility to add the user to the roles needed.

No need to worry about yaf_UserGroup. YAF will handle those details of syncing.
"When you are grateful, fear disappears and abundance appears”."

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC2 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.063 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET