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 (Moderator: Dave Greenberg) »
  • outside of Drupal CiviSubscribe, how can anonymous users add himself to a group?
Pages: [1] 2

Author Topic: outside of Drupal CiviSubscribe, how can anonymous users add himself to a group?  (Read 10126 times)

webguy2

  • Guest
outside of Drupal CiviSubscribe, how can anonymous users add himself to a group?
October 22, 2008, 08:08:06 am
I have unsuccessfully tried CiviCRMSubscribe.  Is there a way for an anonymous user to sign up for a newsletter - basically signing up for a group?

Many thanks.

dharmatech

  • I post frequently
  • ***
  • Posts: 280
  • Karma: 53
    • dharmatech.org
Re: outside of Drupal CiviSubscribe, how can anonymous users add himself to a group?
October 22, 2008, 10:20:28 am
You can create a profile with the standard contact info fields (if you want) and then add the groups field to the profile.  Only groups with public visibility will show so basically you're creating a sign up form where people can select what list (group) they want to join.

And I believe in 2.1 there is email confirmation if the group that is exposed is a mailing list.

here is an example: http://demo.dharmatech.org/programs

In this case, the profile is embedded in a drupal page.

hope this helps

tony
p.s. if you have drupal, make sure anonymous users have permission to access profiles.
« Last Edit: October 22, 2008, 10:23:14 am by dharmatech »
http://dharmatech.org
oss@dharmatech.org
801.541.8671

webguy2

  • Guest
Re: outside of Drupal CiviSubscribe, how can anonymous users add himself to a group?
October 22, 2008, 11:01:16 am
That's beautiful - SOOOO much easier than trying to get CIVISubscribe to work.

Many thanks!!

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: outside of Drupal CiviSubscribe, how can anonymous users add himself to a group?
October 22, 2008, 11:29:56 am
Sometime next week we’ll also have a post on the CiviCRM blog on how to create a Drupal block that your site’s visitors can use to subscribe to a mailing list. :)
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

reynog

  • Guest
Re: outside of Drupal CiviSubscribe, how can anonymous users add himself to a group?
October 26, 2008, 11:42:50 pm
Quote from: Piotr Szotkowski on October 22, 2008, 11:29:56 am
Sometime next week we’ll also have a post on the CiviCRM blog on how to create a Drupal block that your site’s visitors can use to subscribe to a mailing list. :)
Will this post apply only to 2.1, or will the method work for 2.0 also?

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: outside of Drupal CiviSubscribe, how can anonymous users add himself to a group?
November 03, 2008, 07:38:56 am
Quote from: Piotr Szotkowski on October 22, 2008, 11:29:56 am
Sometime next week we’ll also have a post on the CiviCRM blog on how to create a Drupal block that your site’s visitors can use to subscribe to a mailing list. :)

I posted the entry under Mailing list subscription forms in Drupal blocks, please comment if anything is unclear. :)
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: outside of Drupal CiviSubscribe, how can anonymous users add himself to a group?
November 03, 2008, 07:39:31 am
Quote from: reynog on October 26, 2008, 11:42:50 pm
Will this post apply only to 2.1, or will the method work for 2.0 also?

I’m not sure, but I think it should work with 2.0 – it’s simple to test if you have a 2.0 install… :)
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

floadmin

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
Re: outside of Drupal CiviSubscribe, how can anonymous users add himself to a group?
January 11, 2009, 06:23:19 pm
how do you setup the form so it redirects the subscriber to a specific page?

Thank you

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: outside of Drupal CiviSubscribe, how can anonymous users add himself to a group?
January 12, 2009, 08:52:49 am

please file an issue and we'll fix this for 2.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

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: outside of Drupal CiviSubscribe, how can anonymous users add himself to a group?
January 12, 2009, 11:19:23 am

i've commented on the original issue: http://issues.civicrm.org/jira/browse/CRM-3467

This is now fixed in 2.2 (will be part of alpha2). You can add a hidden variable in your form or send it via the GET param:

Code: [Select]
<input type="hidden" name="redirectURL" value="http://www.yahoo.com/" />

OR

Code: [Select]
q=/civicrm/mailing/subscribe?reset=1&gid=2&redirectURL=http://www.yahoo.com

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

kyle.vh

  • Guest
Re: outside of Drupal CiviSubscribe, how can anonymous users add himself to a group?
January 23, 2009, 12:51:52 pm
http://civicrm.org/node/472
this is a great help!
when CiviCRM sends an automated "Subscription Confirmation Request" email, the confirm subscription link looks like this: http://civicrm/mailing/confirm?reset=1&cid=5&sid=4&h=d7063db205c7a40d
(it doesn't contain my base URL)
I have set my base url, and I have set a Email Domain at civicrm/admin/mailSettings.

How can I make sure my {subscribe.url} token, and other tokens contain the correct URL?
I'm in 2.2 alpha. Maybe this is the issue?
kyle

dharmatech

  • I post frequently
  • ***
  • Posts: 280
  • Karma: 53
    • dharmatech.org
Re: outside of Drupal CiviSubscribe, how can anonymous users add himself to a group?
January 23, 2009, 01:12:11 pm
In your civicrm.settings.php file, make sure that you have CIVICRM_UF_BASEURL defined correctly.  This seems to be used only (or almost only) to provide the URL for tokens in emails that are sent by the cron job. 

-- Walt
http://dharmatech.org
oss@dharmatech.org
801.541.8671

kyle.vh

  • Guest
Re: outside of Drupal CiviSubscribe, how can anonymous users add himself to a group?
January 23, 2009, 02:27:21 pm
Thank you for that suggestion, Walt.
My base URL is defined correctly in civicrm.setting.php.

I wonder what else i could try....

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: outside of Drupal CiviSubscribe, how can anonymous users add himself to a group?
January 23, 2009, 04:47:08 pm

this was a bug in 2.2, it is now fixed. You can wait for alpha4, or you can apply the patch found here:

 http://fisheye.civicrm.org/changelog/CiviCRM/branches/v2.2?cs=19518

thanx

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

kyle.vh

  • Guest
Re: outside of Drupal CiviSubscribe, how can anonymous users add himself to a group?
January 26, 2009, 10:53:05 am
this worked for me!
Thanks Donald.
It's a simple fix, so users shouldn't be intimidated if they'd like to try it.
I didn't have to make any changes other than this patch  ;D

kyle

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • outside of Drupal CiviSubscribe, how can anonymous users add himself to a group?

This forum was archived on 2017-11-26.