I'm trying to integrate uForum in my site and seems found one problem in uForum design. As you know ASP.NET membership provider stores users with GUID as primary key (aspnet_Users.UserId), but from what I see in Create Topic template
int _currentMember = umbraco.cms.businesslogic.member.Member.GetCurrentMember().Id;
uForum expects that member id will be integer type as in umbraco membership provider.
Seems I have missed to read "object reference not set to an instance of an object " topic in this forum... But writing custom membership provider is realy the best solution or fastest workaround?
I would imagine that
public static int umbraco.cms.businesslogic.member.Member.CurrentMemberId()
should have overload with return type string ...
and forum code should store too not int but string as memberid probably... or int and guid as two fields? Just thoughts...
publicstaticMember GetCurrentMember() should be reviewed too by core team.
So everyone use UmbracoMembership provider, doing custom work, or silently waiting for better times :)? Anyone with success story to run uForum with ASP.NET Membership provider?
Just to chime in here, I am looking a rewriting the forum to support different kinds of primary user id's.
It will probably be saved as a string in the database, and then there will be a provider model for converting between the string and the Object key of the provider. That way it should be possible to use any provider you like with the forum.
uForum and ASP.NET membership
I'm trying to integrate uForum in my site and seems found one problem in uForum design.
As you know ASP.NET membership provider stores users with GUID as primary key (aspnet_Users.UserId), but from what I see in Create Topic template
int _currentMember = umbraco.cms.businesslogic.member.Member.GetCurrentMember().Id;
uForum expects that member id will be integer type as in umbraco membership provider.
Any thoughts?
Thanks
Seems I have missed to read "object reference not set to an instance of an object " topic in this forum...
But writing custom membership provider is realy the best solution or fastest workaround?
I would imagine that
public static int umbraco.cms.businesslogic.member.Member.CurrentMemberId()
should have overload with return type string ...
and forum code should store too not int but string as memberid probably... or int and guid as two fields? Just thoughts...
public static Member GetCurrentMember() should be reviewed too by core team.
So everyone use UmbracoMembership provider, doing custom work, or silently waiting for better times :)? Anyone with success story to run uForum with ASP.NET Membership provider?
I am personally waiting for better times. :) Anxiously..
Just to chime in here, I am looking a rewriting the forum to support different kinds of primary user id's.
It will probably be saved as a string in the database, and then there will be a provider model for converting between the string and the Object key of the provider. That way it should be possible to use any provider you like with the forum.
is working on a reply...