We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10529
    • 73 Posts
    Been working with the excellent tutorial c/o The Coding Pad and been implementing it onto a simple blog site example page here http://www.anotherharddayattheoffice.co.uk/monday-thursday.html this is the comments & ditto just on one page.

    I’d like to take it one stage further and as admin be emailed when someone posts a comment so I can then logon as admin to publish it.

    I’ve used two parameters that I think you have to use but no joy…am I barking up the wrong tree as it were do I no longer have to have &moderated parameter as I have notify and canmoderate - what field goes in the canmoderate, my email address or do I have to set a group up?

    [!Jot? &captcha=`2` &moderated=`1` &canmoderate=`myemailaddresshere` &notify=`1` &customfields=`name,email` &validate=`name:Please enter your name,email:Please enter a valid e-mail address` &subscribe=`1` &pagination=`5` &placeholders=`1` &output=`0`!]


      • 16278
      • 928 Posts
      Is &canmoderate=`myemailaddresshere` correct? I think you have to specify a web user group here, and the email of the relevant users will then be notified.
      See Jot parameters on wiki.
      smiley KP
        • 10529
        • 73 Posts
        Ok have set up a group blogmoderation with a user as a User Manager blogman and users role Administrator and using this in the chunk still not getting any email notification - again driving me mildly crazy wink

        [!Jot? &captcha=`2` &moderated=`1` &canmoderate=`blogmoderation` &notify=`2` &customfields=`name,email` &validate=`name:Please enter your name,email:Please enter a valid e-mail address` &subscribe=`1` &pagination=`5` &placeholders=`1` &output=`0`!]
          • 10529
          • 73 Posts
          Mixture of getting things wrong - first off I thought only Manager Users could moderate so I was creating new Managers and then assigning them to a group :’(

          So created a new webuser and assigned them to the group Site Admins and now an email notification is sent:

          Dear Blog,

          A new reply has been posted to a topic you are moderating.

          -----
          Name: Gavin Testing Again 23:25
          Email: [email protected]
          Subject: Testing again 23:25
          Message:

          testing again to see how this goes through
          -----

          View the published replies at: http://www.anotherharddayattheoffice.co.uk/powderday.html?jvf4737534=1
          View the unpublished replies at: http://www.anotherharddayattheoffice.co.uk/powderday.html?jvf4737534=0

          Regards,
          Site Administrator

          I also went for overkill on the email notification by setting up the document author to get an email as well


          A new comment has been posted to your post:
          "Powder Day"

          -----
          Name: Gavin Testing Again 23:25
          Email: [email protected]
          Subject: Testing again 23:25
          Message:

          testing again to see how this goes through
          -----

          View the published replies at: http://www.anotherharddayattheoffice.co.uk/powderday.html?jvf4737534=1
          View the unpublished replies at: http://www.anotherharddayattheoffice.co.uk/powderday.html?jvf4737534=0
          (You must log in first)

          Regards,
          Site Administrator

          And also now the web user Blog can login in through the front end and not the manager frontend and publish / delete the comments

          so the final code that works is
          [!Jot? &captcha=`2` &moderated=`1` &notify=`2` &notifyAuthor=`1` &canmoderate=`Site Admins` &customfields=`name,email` &validate=`name:Please enter your name,email:Please enter a valid e-mail address` &subscribe=`1` &pagination=`5` &placeholders=`1` &output=`0` !]
          <h3> Readers Comments</h3>  
                	  <p> </p>
          <p>You too can add a comment at the bottom of this page</p>
                	  <p> </p>
          [+jot.html.comments+]  
          [+jot.html.navigation+]  
          [+jot.html.moderate+]  
          [+jot.html.form+] 


          There is something masochistic about MODx - beating yourself up for hours but the good feeling when you suss it grin