CiviCRM Forums
News: You can learn more about CiviCRM from our new free book: Understanding CiviCRM. Also Check the CiviCRM Blog for updated information on CiviCRM
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 14, 2010, 01:10:36 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: New module for Easy OG registration by state/province w/ CiviCRM sync  (Read 1177 times)
Matt2000
I post frequently
***

Karma: 25
Offline Offline

CiviCRM: 1.9 - 2.2
CMS: Drupal 5 & 6
MySQL: 5+
PHP: 5+

Posts: 255


View Profile WWW
« on: May 28, 2009, 03:12:00 pm »

This is a small module that demonstrates a simpler end user experience for registering for Organic Groups with some reverse syncing.

It provides a block, which when enabled, will appear on OG pages for anonymous users. When the user clicks the link/icon in the block, they are taken to a user registration from which pre-select that group for them. (also providing a link if they want to register for other groups)

It also provides reverse OG syncing, such that when an Individual is added to CiviCRM by any means, if that contact is registering, or has a user account, they will be added to an OG with the same name as their state/province. (if it exists.)

So, we have a site with OGs for several states. An anonymous user browsers to a state of interest. They click the sign-up link, and are taken to a Drupal registration page, which is pre-selected to add them to the group for that state. We also have a CiviCRM profile included on our registration. The user enters their mailing address, which is for another state. In the end, the user is signed up for both state groups.

Download here. ALPHA quality. Test thoroughly before use on production sites.

http://ninjitsuweb.com/files/modules/cogsregister-0.2-alpha.tar.gz

Best,

Matt
http://www.NinjitsuWeb.com
Logged

Drupal/CiviCRM micro-blogging http://twitter.com/matt2000

Ninjitsu Web Development http://www.NinjitsuWeb.com/
peterd
I live on this forum
*****

Karma: 58
Offline Offline

CiviCRM: 2.2 >> 3.1
CMS: Drupal 5; 6
Posts: 1619



View Profile WWW
« Reply #1 on: May 28, 2009, 03:17:34 pm »

Sounds a very useful approach - will look at testing shortly and presumably hacking to remove/reconfig the sign-up to OG based on State so it works on other fields
Logged

pete davis : www.fuzion.co.nz : connect + campaign + communicate
peterd
I live on this forum
*****

Karma: 58
Offline Offline

CiviCRM: 2.2 >> 3.1
CMS: Drupal 5; 6
Posts: 1619



View Profile WWW
« Reply #2 on: June 23, 2009, 10:15:09 pm »

hey matt - about to give this a look at - any updates before i grab that alpha version?
Logged

pete davis : www.fuzion.co.nz : connect + campaign + communicate
peterd
I live on this forum
*****

Karma: 58
Offline Offline

CiviCRM: 2.2 >> 3.1
CMS: Drupal 5; 6
Posts: 1619



View Profile WWW
« Reply #3 on: June 24, 2009, 02:20:38 am »

Okay - so reporting back. Installed module - couldn't spot any permissions - enabled the block to left hand as per the rest. Went to OG page both logged in and anonymous but could not see block. Moved block above Navigation so I was sure I knew where to look. No joy.

Other possible factors.
OG are all using og-ghp-ron as home page
Have OG Panels installed

Probably unrelated, but when I just went to create a new group page, while the page is created and shows in RON when I click on link I got a 'page could not be found error' - guess I better uninstall and see if this issue persists.
Logged

pete davis : www.fuzion.co.nz : connect + campaign + communicate
peterd
I live on this forum
*****

Karma: 58
Offline Offline

CiviCRM: 2.2 >> 3.1
CMS: Drupal 5; 6
Posts: 1619



View Profile WWW
« Reply #4 on: June 24, 2009, 02:43:28 am »

Okay - tested on another site and saw the block ;-) added a user and confirm user was joined to OG and civiGroup. Can't test the reverse synch as not endeavouring to create State OGs but nice concept. May look at doing the reverse synch based on a Custom field.

Now back to site 1 to see what is buggrd.
Logged

pete davis : www.fuzion.co.nz : connect + campaign + communicate
peterd
I live on this forum
*****

Karma: 58
Offline Offline

CiviCRM: 2.2 >> 3.1
CMS: Drupal 5; 6
Posts: 1619



View Profile WWW
« Reply #5 on: June 24, 2009, 11:24:53 am »

BTW it seems to me like the first part of this module answers several people's needs to have anon able to click on 'join' on a group and go straight to a login form. eg http://drupal.org/node/347698
Logged

pete davis : www.fuzion.co.nz : connect + campaign + communicate
jellobrain
I’m new here
*

Karma: 0
Offline Offline

CiviCRM: 2.2.3
CMS: drupal 6.x
MySQL: mysql5
PHP: php5

Posts: 16


View Profile
« Reply #6 on: June 30, 2009, 08:09:37 am »

awesome.  how did the testing go?  i have a site that i would like to test it on...
Logged
Matt2000
I post frequently
***

Karma: 25
Offline Offline

CiviCRM: 1.9 - 2.2
CMS: Drupal 5 & 6
MySQL: 5+
PHP: 5+

Posts: 255


View Profile WWW
« Reply #7 on: June 30, 2009, 04:03:59 pm »

@peterd

Did you try clearing Drupal's caches on site one?
Logged

Drupal/CiviCRM micro-blogging http://twitter.com/matt2000

Ninjitsu Web Development http://www.NinjitsuWeb.com/
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM