We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • Hm. Sounds like a good place for an optional "notify" plugin that fires on certain user-defined events.
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
      • 6726
      • 7,075 Posts
      Quote from: sottwell at Apr 08, 2006, 06:11 AM
      Hm. Sounds like a good place for an optional "notify" plugin that fires on certain user-defined events.

      I’d very much like that grin !
        .: COO - Commerce Guys - Community Driven Innovation :.


        MODx est l'outil id
        • 1629
        • 1 Posts
        Hello

        As you can see I’ve not posted before and am rather new to using modx, but do think its an excellent product. For a while I was wanting a way of letting anyone leave a comment on my site (http://www.myspacegigchallenge.co.uk) and then moderating the comments. I’m not a great programmer and to be honest its still a work in progress to don’t feel in a position to post and code at the moment, but just thought I’d share with you what I’ve done.

        The first thing to do was create a chunk which could displayed a form at the bottom of each page, this form then posts the content of the form to another page which calls the comment processing snippet. This snippet basically finds out which article has been commented on (the form submits the id for the article being commented on) and changes it from a document into a folder, it then creates a new document containing the comment details in this folder. To finish the process an e-mail is sent to me telling me which entry has been commented on so that I can login to the manager and read it. If it checks out and isn’t spam then I publish it.

        I then wrote another snippit which I call on all of my pages which checks for comments and displays them if any are available. I hope that give you some ideas, when I’ve worked on my code I will try and post it here so that it can be of use to others.

        Cheers

        Andy
          • 4273
          • 356 Posts
          Quote from: ScottyDelicious at Apr 07, 2006, 08:18 PM

          Quote from: bugsmi0 at Apr 07, 2006, 07:15 PM

          and also a notification for when new users register, a CMS more importantly, a power content management system needs to be relational on many levels. We need to know who what where when and why even wink

          I edited assets/snippets/weblogin/websignup.inc.php to use PHP’s mail() function. it sends me an email after successful completion of new user signup. I added it around line 149-154 (just before return;) which is the function that sends the user their registration email.

          -sD-

          what code do you put on those lines so that it notifys when a new user signs up ?
            SMF Bookmark Mod - check it out
            http://mods.simplemachines.org/index.php?mod=350