On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • I am trying to create a section where users can when regsistered get access to a page that they can update with images and texts.

    I have been able to create a user group and people can login via the admin but they cannot upload iamges.


    So I tooka new approach they can login using Login addon and we use Frontpage addon again they can login but can alter any page on the site but still cannot upload images but if the know there location can add them to documents.

    I have been struggling for a couple of weeks now with MODX security setting but am getting my head around it. I'm looking for an answer or somebody that could just set it up or is there an addon?
    • Generally speaking you don't want front-end users to be able to upload files, so it's a bit difficult to set up. You might find it easier to use this http://bobsguides.com/fileupload-tutorial.html
        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
      • I do understand the implications of allowing people to upload but these will be a very select group and I would not expect anything malicious. Thx for the reply I will look into this
        • I wasn't saying that your idea is a bad one, just that in general it's not easy to do because it's not something you usually want your users to be able to do. It should be possible to create a group that has file_upload permissions. They would need to be able to use the system file browser, so you would definitely want them to be restricted to a Media Source. To be honest, incorporating the FileUpload snippet would be much, much easier.
            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
          • Letting users upload files is fairly easy, but making that process safe and making sure each user's files go to the right place is much more tricky.

            NewsPublisher will let people edit a page, and it's fairly easy to let them only edit their own page with it. It will let users upload files, but IIRC, it doesn't give you much control over where those files go.

            I think some users have dealt with your problem by putting a tag for the FileUpload snippet on the same page as the NewsPublisher snippet tag.
              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting
            • Thx for the replies sorry about delays in replying but I am sometimes tied up with other things. Going to look into FileUpload
              • In think I need to get somebody to do this to make sure it's secure, how do I go about finding somebody?