• Moderation not working for non admins

    By Craig Vertigan 2 decades ago

    The problem is that the "ismoderator" cookie doesn't get set if the user doesn't have the ForumMaster role in the ACL. A JS alert to debug SetCookie in common.js showed me that it wasn't getting set there for the times when it does get set for the sys admin with the ForumMaster role.



    I ended up fixing this problem so that you only get the moderate link & graphic when you are either the ForumMaster or in the CategoryActors field for the category of the thread.



    I commented out the
    doModerateLink code in common.js and put this in the HTML Head Content of the view template for WebBoardSub:



    ""