Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscribers to User Groups? #1

Open
fd2012 opened this issue Aug 26, 2012 · 2 comments
Open

Subscribers to User Groups? #1

fd2012 opened this issue Aug 26, 2012 · 2 comments

Comments

@fd2012
Copy link

fd2012 commented Aug 26, 2012

Thanks BobRay for this great add-on. One question:
It would be great to have the possibility to put subscribers into different User Groups like RegisterX for Evo. There is no way to filter users with multiple values in the Comment field, isn't it?

@BobRay
Copy link
Owner

BobRay commented Aug 26, 2012

Yes, the Notify extra filters by the Comment field. The development version
of EmailResource will as well, but I'm not sure that feature is in the
latest release.

The user group the user is placed in is controlled by the Register snippet,
not by Subscribe. The user will go in the group(s) specified in the
&userGroups property in the Register snippet tag in the sbsRegisterFormTpl
chunk.

On Sun, Aug 26, 2012 at 8:01 AM, fd2012 notifications@github.com wrote:

Thanks BobRay for this great add-on. One question:
It would be great to have the possibility to put subscribers into
different User Groups. There is no way to filter users by the Comment
field, isn't it?


Reply to this email directly or view it on GitHubhttps://github.com//issues/1.

@BobRay
Copy link
Owner

BobRay commented Aug 26, 2012

BTW, it should be fairly easy for you to add User Group checkboxes to the
Manage Preferences form and write your own snippet to check the $_POST
values and add the user to the appropriate groups. The code would be really
simple, something like this:

if (isset($_POST['user_group_1']) ) {
$modx->user->joinGroup('UserGroup1');
}

On Sun, Aug 26, 2012 at 6:06 PM, Bob Ray bobray@softville.com wrote:

Yes, the Notify extra filters by the Comment field. The development
version of EmailResource will as well, but I'm not sure that feature is in
the latest release.

The user group the user is placed in is controlled by the Register
snippet, not by Subscribe. The user will go in the group(s) specified in
the &userGroups property in the Register snippet tag in
the sbsRegisterFormTpl chunk.

On Sun, Aug 26, 2012 at 8:01 AM, fd2012 notifications@github.com wrote:

Thanks BobRay for this great add-on. One question:
It would be great to have the possibility to put subscribers into
different User Groups. There is no way to filter users by the Comment
field, isn't it?


Reply to this email directly or view it on GitHubhttps://github.com//issues/1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants