Answers.Body: <p>Your email could link back with checksum to a Profile that has 'Groups' field on it which should therefore show only the Public Mailing Lists (iirc)</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-27T22:07:35.810Z
Answers.Text: I tried that, but the Groups field includes all of our public lists - not just the public mailing lists. We don't want people to be able to add themselves to the non-mailing lists.
Answers.UserDisplayName: jgeurts
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-27T22:36:21.747Z
Answers.Text: Although we might be able to create a custom field, use that in the checksum, and include the custom field in the Smart mailing group...that might work!
Answers.UserDisplayName: jgeurts
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-28T00:34:33.257Z
Answers.Text: Did you check it as anonymous - were you maybe see all groups because you are Admin?
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-31T23:38:25.280Z
Answers.Text: I tried using it as anonymous but was still able to see all groups.
Answers.UserDisplayName: jgeurts
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-27T03:06:33.213Z
Answers.LastActivityDate: 2018-07-27T03:06:33.213Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>I'd like to use {action.subscribeUrl} so email recipients can view and subscribe to public mailing lists. However, it does not show public Smart group mailing lists.</p>
  
  <p>Is there a way to show Smart group public mailing lists using {action.subscribeUrl}?</p>
  
  <p>Using CiviCRM 5.3.1 with WordPress.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-25T18:40:35.513Z
Comments.Text: Can you clarify in your question what the point of Public lists is if people can't sign up to them?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-30T01:31:30.847Z
Comments.Text: I'd like people to able to sign up for the Public mailing lists and the smart group public mailing lists.
Comments.UserDisplayName: jgeurts
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-30T01:32:42.543Z
Comments.Text: The other non-mailing public lists are used, for example, for our public member directory. We don't want non-members to be able to add themselves to that group.
Comments.UserDisplayName: jgeurts
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-30T20:30:09.670Z
Comments.Text: i don't think you should need to make a Group 'public' in order to make a listing of those contacts public, you should be able to do the latter via your profile settings
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-30T20:30:18.800Z
Comments.Text: Group Visibility
  Select 'User and User Admin Only' if joining this group is controlled by authorized CiviCRM users only. If you want to allow contacts to join and remove themselves from this group via the Registration and Account Profile forms, select 'Public Pages'.
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-30T20:31:08.587Z
Comments.Text: Maybe your question should instead be along the lines "how do I show a public member directory without creating a public mailing list"
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-10T21:35:35.013Z
Comments.Text: Thanks, I was able to change the group visibility and still retain the membership directory, so that worked! Back to my original question, smart groups still do not show up when I use {action.subscribeUrl}. I ended up not using any smart groups.
Comments.UserDisplayName: jgeurts
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-10T21:54:34.020Z
Comments.Text: great. Since a Smart Group is a 'saved search' then in one way it makes sense that folk can't subscribe to it, but given that contacts can be 'added/removed' from Smart Groups I am not clear that offering a subscribe option should be 'impossible'
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-11T22:06:47.083Z
Comments.Text: Yes, that's what I thought, too. I'd originally wanted certain people to be part of the group (hence making it Smart) but wanted people to be able to add themselves, too.
Comments.UserDisplayName: jgeurts
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-08-05T13:46:24.053Z
Comments.Text: Consider read this other question [CiviMail: What is the expected behaviour when unsubscribing from a mailing sent to a parent group?](https://civicrm.stackexchange.com/questions/16994)
Comments.UserDisplayName: Francesc Bassas i Bullich
Tags: <smartgroups><mailing><subscribe>
Title: View and subscribe to Public Smart Mailing groups using {action.subscribeUrl}?
ThreadText: # View and subscribe to Public Smart Mailing groups using {action.subscribeUrl}?
  
  (Asked by: username_0 on 2018-07-26)
  
  I'd like to use {action.subscribeUrl} so email recipients can view and subscribe to public mailing lists. However, it does not show public Smart group mailing lists.
  
  Is there a way to show Smart group public mailing lists using {action.subscribeUrl}?
  
  Using CiviCRM 5.3.1 with WordPress.
  
  **Tags:** smartgroups, mailing, subscribe
  
  > **Comments:**
  > **username_1**: Can you clarify in your question what the point of Public lists is if people can't sign up to them?  
  > **username_0**: I'd like people to able to sign up for the Public mailing lists and the smart group public mailing lists.  
  > **username_0**: The other non-mailing public lists are used, for example, for our public member directory. We don't want non-members to be able to add themselves to that group.  
  > **username_1**: i don't think you should need to make a Group 'public' in order to make a listing of those contacts public, you should be able to do the latter via your profile settings  
  > **username_1**: Group Visibility Select 'User and User Admin Only' if joining this group is controlled by authorized CiviCRM users only. If you want to allow contacts to join and remove themselves from this group via the Registration and Account Profile forms, select 'Public Pages'.  
  > **username_1**: Maybe your question should instead be along the lines "how do I show a public member directory without creating a public mailing list"  
  > **username_0**: Thanks, I was able to change the group visibility and still retain the membership directory, so that worked! Back to my original question, smart groups still do not show up when I use {action.subscribeUrl}. I ended up not using any smart groups.  
  > **username_1**: great. Since a Smart Group is a 'saved search' then in one way it makes sense that folk can't subscribe to it, but given that contacts can be 'added/removed' from Smart Groups I am not clear that offering a subscribe option should be 'impossible'  
  > **username_0**: Yes, that's what I thought, too. I'd originally wanted certain people to be part of the group (hence making it Smart) but wanted people to be able to add themselves, too.  
  > **username_2**: Consider read this other question [CiviMail: What is the expected behaviour when unsubscribing from a mailing sent to a parent group?](https://civicrm.stackexchange.com/questions/16994)  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-07-27. Score: 0
  
  Your email could link back with checksum to a Profile that has 'Groups' field on it which should therefore show only the Public Mailing Lists (iirc)
  
  > **Comments:**
  > **username_0**: I tried that, but the Groups field includes all of our public lists - not just the public mailing lists. We don't want people to be able to add themselves to the non-mailing lists.  
  > **username_0**: Although we might be able to create a custom field, use that in the checksum, and include the custom field in the Smart mailing group...that might work!  
  > **username_1**: Did you check it as anonymous - were you maybe see all groups because you are Admin?  
  > **username_0**: I tried using it as anonymous but was still able to see all groups.  
  
  ---
  
  