Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Saulius 6 posts 25 karma points
    Nov 01, 2009 @ 21:56
    Saulius
    0

    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

  • Saulius 6 posts 25 karma points
    Nov 02, 2009 @ 19:28
    Saulius
    0

    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?

  • davelane 29 posts 73 karma points
    Nov 04, 2009 @ 16:30
    davelane
    0

    I am personally waiting for better times. :)  Anxiously..

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Feb 10, 2010 @ 23:07
    Morten Bock
    0

    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.

     

Please Sign in or register to post replies

Write your reply to:

Draft