CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Can an unregistered (public) viewer subscribe to a mailing list?
Pages: 1 [2]

Author Topic: Can an unregistered (public) viewer subscribe to a mailing list?  (Read 7968 times)

mrengy

  • Guest
Re: Can an unregistered (public) viewer subscribe to a mailing list?
February 19, 2009, 06:07:52 pm
Okay, thanks. I followed the instructions on this post. I created a new profile with name, phone number, and e-mail address. Checked "used for profile", saw that the ID is listed as "2".

So as per this page in the documentation, I took the URL for the page to join our mailing lists (http://recycleabike.org/crm/standalone/index.php?q=civicrm/mailing/subscribe&reset=1) and added on the parameter to include the ID, so the URL becomes: http://recycleabike.org/crm/standalone/index.php?q=civicrm/mailing/subscribe&reset=1&gid=2. This results in an error:
Quote
Sorry. A non-recoverable error has occurred.
The specified group is not configured for this action OR The group doesn't exist.

Any ideas?


dharmatech

  • I post frequently
  • ***
  • Posts: 280
  • Karma: 53
    • dharmatech.org
Re: Can an unregistered (public) viewer subscribe to a mailing list?
February 19, 2009, 09:30:18 pm
When you create a profile, you're no longer linking to the subscribe page. It's separate. So in your case the link to the profile directly is http://recycleabike.org/crm/standalone/index.php?q=civicrm/profile/create?reset=1&gid=2

I think you now need to make sure the fields are visible (used for public pages). In fact, that message is a little weird. Someone who knows more about standalone may be able to help you.

hope this helps
tony
http://dharmatech.org
oss@dharmatech.org
801.541.8671

Sunil

  • I post frequently
  • ***
  • Posts: 131
  • Karma: 23
  • The community around a product more important than the product itself?
    • CiviCRM
Re: Can an unregistered (public) viewer subscribe to a mailing list?
February 19, 2009, 11:23:19 pm
Hi

Quote
The specified group is not configured for this action OR The group doesn't exist.

civicrm/mailing/subscribe&reset=1&gid=2

Group ID 2 is not Configured for Mailing List
Manage Group -> setting -> Group Type
and for anonymous user, provide permission of access CiviMail subscribe/unsubscribe pages

sunil

The community around a product more important than the product itself?

mrengy

  • Guest
Re: Can an unregistered (public) viewer subscribe to a mailing list?
February 25, 2009, 06:25:21 pm
Thanks for the response, but with the group settings, they're not giving me that option. Under Visibility for the group, the options are

"User and User Admin Only"
"Public User Pages"
"Public User Pages and Listings"

The groups I am wanting people to be able to subscribe to are all set to "User Pages and Listings", and they all show up fine if the URL points to http://recycleabike.org/crm/standalone/index.php?q=civicrm/mailing/subscribe&reset=1 - but the problem is linking the custom profile I made to this group subscribe page so that users are required to enter their names in the form along with e-mails.

But maybe this is off target because The ID of 2 relates to a profile, not a group.

Taken from the instructions here, it says
Quote
Give your logged in users a custom edit form by linking to <site root>/civicrm/profile/edit?reset=1&gid=N where N is the ID of the Profile. (Each Profile has a unique numeric ID - you can find the value by checking the second column of the table at CiviCRM » Administer » CiviCRM Profile).


Sunil

  • I post frequently
  • ***
  • Posts: 131
  • Karma: 23
  • The community around a product more important than the product itself?
    • CiviCRM
Re: Can an unregistered (public) viewer subscribe to a mailing list?
February 25, 2009, 08:03:51 pm
Hi,
can u see this, it's related to group subscription from profile
http://issues.civicrm.org/jira/browse/CRM-2861

And some modification made in http://issues.civicrm.org/jira/browse/CRM-4153

sunil
The community around a product more important than the product itself?

shayaknyc

  • I post occasionally
  • **
  • Posts: 74
  • Karma: 0
Re: Can an unregistered (public) viewer subscribe to a mailing list?
June 07, 2009, 12:46:13 am
I'm using drupal 6.6 and civicrm 2.1.4 (I know, I need to upgrade).

I have anonymous user permission enabled for access subscribe/unsubscribe mailing list, and I have mailing list group id 2 (labeled "PR") with mailing list checked and not access control, and visibility is set for public pages.

I attempted to include the following code on one of my pages:
Code: [Select]
<form action="http://www.atyourpalate.com/drupal-6.6/?q=civicrm/mailing/subscribe?reset=1&gid=2" method="post">
     <p align="left">Enter your email to subscribe to my mailing list: <input name="email" type="text" id="email" />
     <input type="hidden" name="mark_x_2" value="1" />
     <input name="_qf_Subscribe_next" value="Subscribe" type="submit" /></p>
</form>

However, whenever I enter an email address, I get the following error: Access denied. You are not authorized to access this page.

I'm not sure what else I can do to change this?

Any help would be MUCH obliged!

--Shayaknyc

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Can an unregistered (public) viewer subscribe to a mailing list?
June 07, 2009, 08:02:05 pm

your action url should be:

Code: [Select]
http://www.atyourpalate.com/drupal-6.6/?q=civicrm/mailing/subscribe&reset=1&gid=2

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

shayaknyc

  • I post occasionally
  • **
  • Posts: 74
  • Karma: 0
Re: Can an unregistered (public) viewer subscribe to a mailing list?
June 08, 2009, 06:36:21 am
Thanks! That totally did it!! Sorry for being a spaz! LOL

--Shayaknyc

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Can an unregistered (public) viewer subscribe to a mailing list?

This forum was archived on 2017-11-26.