Copied to clipboard

Flag this post as spam?

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


  • Yuval Lombard 14 posts 44 karma points
    Mar 03, 2014 @ 16:15
    Yuval Lombard
    0

    nForums Subscribe/UnSubscribe To Topic Error

    Hi Guys!

    Im expriencing some problems with the subscribe/unsubscribe to topic button.

    by default when creating a new topic im subscribed to it, when clicking the unsubscribe button its going to the unsbscribe rest extention method, and switches the class to be "Subscribe to topic". from now on everytime i click the subscribe to topic button it crushed at this line in the UnSubScribeToTopic(string topicId) function:

    var remainingMembers = forumTopic.SubscriberIds.Where(x => x != m.Id).ToList();

    with the msg: value cannot be null

    SubscriberIds is always null

    would love to get some help with it

    thanks a lot!

  • Devin 87 posts 251 karma points
    Mar 03, 2014 @ 18:11
    Devin
    0

    Hello Yuval,

    I had the same problem in 1.7 and made a fix myself.

    Open up nforumgeneral.js and replace your code with mine here:

    http://pastebin.com/L6yzu27h

    I have 2 nice fixes for Lee to implement in a later version!

    Hope this helps.

    Devin

  • Yuval Lombard 14 posts 44 karma points
    Mar 04, 2014 @ 07:49
    Yuval Lombard
    0

    THANK YOU SO MUCH!!!

    Works perfectly!

  • Devin 87 posts 251 karma points
    Mar 04, 2014 @ 18:23
    Devin
    0

    No problem :)

Please Sign in or register to post replies

Write your reply to:

Draft