We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 44649
    • 68 Posts
    Hi,

    I've recently installed Discuss on a website, everything seems to be working fine apart from I cannot set threads/topics as pinned or locked as it won't save. The post & message will be submitted but just as a normal post without any of the addition settings. Modifying the post and changing it also doesn't save.

    Also one more problem with the login always redirects to the homepage, I have the following login code:
    [[!Login? &preHooks=`preHook.DiscussLogin` &postHooks=`postHook.DiscussLogin` &redirectToPrior=`1` ]]


    And have also edited Login.php as suggested in this post:
    https://forums.modx.com/thread/?thread=69967&page=3

    Any help appreciated!
    Thanks
      • 44649
      • 68 Posts
      Tried forcing Login to redirect to a specific page ID(2), but it still goes to the Homepage when logged into Discuss forum page
      [[!Login? &preHooks=`preHook.DiscussLogin` &postHooks=`postHook.DiscussLogin` &loginResourceId=`2` ]]
        • 44649
        • 68 Posts
        I installed 1.2.2 dev version and this fixed the Pinned / Locked problem, however the Login redirect is still not working correctly.
        https://github.com/modxcms/Discuss/blob/develop/_packages/discuss-1.2.2-dev.transport.zip