We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36799
    • 40 Posts
    Need some help on behalf of a client - so will pay for a successful outcome

    For a client I have developed a Users weblogin - where by a user can subscribe to content after they have paid via Paypal they are redirected to this page where they can register

    [!WebLoginPE? &type=`register` &registerTpl=`registerForm` &notifyTpl=`notifyMessage` &regSuccessId=`115` &groups=`Subscriber` &regSuccessPause=`0` &notify=`.com,com`!]

    And as you can see they are then part of the subscribers group - there is also another group "diploma"

    All these are then grouped into webusers - I would like to be able to split the two groups so the client can email each specific group of Subscribers and Diploma's

    And if possible view by date joined - is there a way to do this - I see via php admin that there are attributes but they are in a different file.

    Thanks in advance
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      You'll need to have custom queries to fetch users with joins to filter against the web_groups table and order by the web_user_attributes table.
        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
        • 36799
        • 40 Posts
        Thanks for the response - now working with the guy who set the Notify Users Module up.

        One thing we've come across is that in the database there is no field(s) as to when the User in any one group was created.

        For those interesting this is the spec we've worked up.

        I now think the best method might be to have a front end secure page via some sql query, not using the manager Notify Users module, where the client could click on various check boxes.

        For example

        Do you want to download all users YES / NO

        DO you just want to download Subscribers Yes / No

        Do you just want to download Diploma Yes / No

        And they could then download the relevant file.

        Plus we are extending the user's attribute set by the date he/she is joining the site (i.e., recording this date on user creation and removing on possible user deletion).

        Hope that makes sense!