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 CiviContribute (Moderator: Donald Lobo) »
  • Force Login for certain contributions
Pages: [1]

Author Topic: Force Login for certain contributions  (Read 311 times)

mikem

  • I post occasionally
  • **
  • Posts: 70
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: 7.X
Force Login for certain contributions
November 21, 2013, 07:22:22 am
I have around twenty contribution pages and some i want to have anonymous users pay but most of them i want to force users to login before completing payments. Is there a way to enforce this on each individual contribution page? Possibly by using the Drupal rules module? - or is there a better way to manage this?

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: Force Login for certain contributions
November 21, 2013, 09:12:15 am

no options out of the box, but a few thoughts. I think this is a lot more relevant for events than contribution pages, but both satisfy the same need:

a. Add ACL support for contribution page (already present for events)

b. You can potentially do this in the config hook and check for page / user level and redirect them to a login page if needed

c. Extend event/contribution pages, so they can be associated with a role and/or permission, similar to what we do in CiviReports. This would be my vote to implement, since it exposes the functionality / permissioning in a much easier manner

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Force Login for certain contributions

This forum was archived on 2017-11-26.