We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4463
    • 26 Posts
    Many thanks people, for the suggestions I think this feature would be a nice improvement in the user comments snippet. I didn’t try yet the code Breezer has posted, but I’ll try it as soon as possible... It’s exactly what I need, hope it works !! smiley


      • 4041
      • 788 Posts
      cadju, please note that the code I posted was written for use in etomite... I just put it there as an example and in hopes that some parts could be useful to someone who is doing further dev with the current Modx comments snippet. I apologize for not making that clear in my previous post. embarrassed
        xforum
        http://frsbuilders.net (under construction) forum for evolution
        • 4463
        • 26 Posts
        Quote from: breezer at Feb 27, 2006, 04:57 AM

        cadju, please note that the code I posted was written for use in etomite... I just put it there as an example and in hopes that some parts could be useful to someone who is doing further dev with the current Modx comments snippet. I apologize for not making that clear in my previous post. embarrassed

        Yes, your right!! The code you posted it’s a good starting point, I hope someone more experimented (in MODX) will adapt it to work with MODX. I’ve been very busy these days but as soon as possible I’ll try to do something with it... smiley


          • 4273
          • 356 Posts
          a comment approval would definately be a good thing, does MODX have a road map ?

          seems like having a core set of CMS functions operational out of the box would be a great need

          ie
          websignup, login capabillity, comment approval, all the items that make up a CMS should come ready out of the box after all its a CMS, content being key how to control

          some new users might not be able to make the switch over due to some core CMS items not being available, so far i’ve managed to duplicate most items that I had with joomla there’s still some core things like
          email notification, comment approval small things but necessary items.
            SMF Bookmark Mod - check it out
            http://mods.simplemachines.org/index.php?mod=350
            • 25762
            • 67 Posts
            Comment approval and email notification are critical for things I would want to do with ModX. I feel both should be in core.
              • 32241
              • 1,495 Posts
              Quote from: RussLipton at Apr 01, 2006, 01:27 PM

              Comment approval and email notification are critical for things I would want to do with ModX. I feel both should be in core.

              We can maintain that in resources, instead of being added into the core. That’s why we make the core as light and as flexible as possible. So that everything can be done using our resources features. Check our fckeditor plugin or quickedit module. That’s something to prove that we have a powerful system which is not being bloated away with a lot og unnecessary things being added to the core. wink

              Btw, I think having this features for our current comment snippet will be awesome.
                Wendy Novianto
                [font=Verdana]PT DJAMOER Technology Media
                [font=Verdana]Xituz Media
                • 25762
                • 67 Posts
                I can’t speak to the architectural issue; not knowing ModX well enough yet. Putting them in resources is certainly reasonable. Thanks.

                A small point: I need email notification not just for comment but for documents in general.

                Ideally, this notification will go not only to the author but to specified members of a qualified group and include, optionally, the content of the document.

                (Sorry, not trying to make work for anyone. I am not able to program this myself. I do feel it is a serious weakness in the feature set, wherever the feature is ultimately positioned. For example, it leads me to a different CMS for my community-of-application interest; churches. Without email notification, many people will not check a community website in a way that nurtures co-participation. In principle, it is the same reason why notification is a check-off feature for forums ... but forums are not always the best/only way to nurse community.)
                  • 32241
                  • 1,495 Posts
                  I think there is an email notification system flying around in this forum. What it does is basically send out an email to the admin I believe, whenever there is a new document created.

                  RUssLipton, you can do it using plugin if you want to. Check the plugn list that we have, then you will understand that each plugin will be called accordingly after or before certain action. So you can place a hook or you can basically intercept the script run time in the middle of it to do something specific to your needs.

                  Happy coding wink
                    Wendy Novianto
                    [font=Verdana]PT DJAMOER Technology Media
                    [font=Verdana]Xituz Media
                    • 4273
                    • 356 Posts
                    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
                      SMF Bookmark Mod - check it out
                      http://mods.simplemachines.org/index.php?mod=350
                      • 26435
                      • 1,193 Posts
                      Quote from: bugsmi0 at Apr 07, 2006, 02: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-
                        Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
                        All of the above... in no specific order.


                        I send pointless little messages