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 CiviMember (Moderator: Deepak Srivastava) »
  • Redirect Pending users to another page
Pages: [1]

Author Topic: Redirect Pending users to another page  (Read 588 times)

maxwell

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: Drupal
  • MySQL version: 5.0
  • PHP version: 5.0
Redirect Pending users to another page
April 29, 2014, 12:45:23 pm
Hello,

I'm using Drupal 7 and Civicrm.

I wanted to see if there is a way to redirect a member whose status = pending to another page after authentication.
Is this even possible?

Thanks
Chris

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Redirect Pending users to another page
April 29, 2014, 09:08:30 pm
Can you clarify exactly what you are wanting to do.

Are you talking about Drupal users who can need to have their newly created account approved by an administrator?

If someone is signing up for a membership using a CiviCRM online contribution page then they only get the pending status if they have chosen to "pay later".  There is no specific approval process for memberships in CiviCRM

maxwell

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: Drupal
  • MySQL version: 5.0
  • PHP version: 5.0
Re: Redirect Pending users to another page
April 30, 2014, 06:12:54 am
Hello and thanks for responding so quickly.

It is a “group” or status in civicrm.
In short, if a user has a "pending admission" status the client wants to redirect the user to another page.



joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Redirect Pending users to another page
April 30, 2014, 09:52:05 am
I am extrapolating what you have said to:

*There is a custom membership status called "pending admission"
*When people with this status login to the drupal site they should be sent to a page just for them, not to the page that the "admitted" contacts go to.

I have some more questions.
Can anonymous  users login to the site?
If so what page should they see?
Are those with "pending admission" status forbidden from seeing the page admitted contacts are sent to, or is it just that they need to supply extra information before their status can be changed?

maxwell

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: Drupal
  • MySQL version: 5.0
  • PHP version: 5.0
Re: Redirect Pending users to another page
April 30, 2014, 10:22:51 am
Perfect extrapolation.

No, anonymous users cannot login to the site.
No, "Pending Admission" status are not forbidden from seeing the page admitted - they just need to supply extra information.

Chris

maxwell

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: Drupal
  • MySQL version: 5.0
  • PHP version: 5.0
Re: Redirect Pending users to another page
May 02, 2014, 12:10:13 pm
Hey Joanne,

Just wanted to reach out again and see if it was even possible to do what the client wants to do?


Thanks again,
Chris

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Redirect Pending users to another page
May 07, 2014, 04:26:38 pm
I am sure you can do it, but how you would go about it would depend on what level of coding experience/access you have.

As an administrator not a developer I have limited coding experience/access and can't force a redirect to different landing page on the website.

If I wanted to make sure I got the extra information that was needed I would:
  • set up a Drupal role just for that membership status and use CiviMember Roles Sync to sync the two
  • create a block visible to just that role that contained a linked to the page where they need to provide the extra information.
  • create a a smart group in civicrm for that membership status and set up a scheduled reminder to be sent to them weekly reminding them to complete the info.


« Last Edit: May 07, 2014, 04:29:11 pm by joanne »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Redirect Pending users to another page

This forum was archived on 2017-11-26.