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 CiviEvent (Moderator: Yashodha Chaku) »
  • Registering participants at no cost for a paid event?
Pages: 1 [2] 3

Author Topic: Registering participants at no cost for a paid event?  (Read 9465 times)

kmarkley

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 14
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7.24
  • MySQL version: 5.1.56
  • PHP version: 5.3.27
Re: Registering participants at no cost for a paid event?
February 02, 2010, 08:01:07 am
@Dave Greenberg
I'm having trouble creating a patch file that looks like the ones on the issues tracker.  Running diff is easy, but the file references are all absolute paths and don't indicate versions.  Also, I can't seem to get all the changes in a single file that doesn't also contain tons of other garbage.  I'm inclined to just post a zip of the changed files if that is not a breach of etiquette.

@sonicthoughts
I can see why tying this to roles would complicate things.  I am just attracted to the thought that noting WHY a discount is applied is so often related to roles anyway (scholarship student vs regular student, speaker vs attendee, etc.).  Plus it provides a built-in way to track/report on discounts.  Arbitrary discounts could be applied by just providing an arbitrary-price field to whatever price set the role uses.  

That said, this isn't the most important thing for me.  I just brought it up because it seemed to provide a very logical work flow.  Other solutions will work for me as long as staff remembers to assign the correct role for any non-standard price.

-kirk
« Last Edit: February 02, 2010, 08:45:07 am by kmarkley »

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Registering participants at no cost for a paid event?
February 03, 2010, 05:57:12 am
Quote
I'm having trouble creating a patch file that looks like the ones on the issues tracker. 

You might want to download the original file from here http://svn.civicrm.org/civicrm/branches/ and patch it against your file that you changed. This might be helpful :
http://linux.byexamples.com/archives/163/how-to-create-patch-file-using-patch-and-diff/

HTH
-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

kmarkley

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 14
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7.24
  • MySQL version: 5.1.56
  • PHP version: 5.3.27
Re: Registering participants at no cost for a paid event?
February 03, 2010, 09:12:44 am
Alright.  Patch posted here: http://issues.civicrm.org/jira/browse/CRM-5766

It's kind of rough around the edges, but hopefully it will be helpful.

-Kirk

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Registering participants at no cost for a paid event?
February 03, 2010, 11:09:37 am
Kirk - Thx for stepping up a getting this going. I've updated the spec a bit on your issue (we'll use visibility_id which points to a set of option values to control Public vs. Admin - a bit more flexible than a boolean and opens things up for folks to add other values that are controlled via hooks). We'll try to get this into core for 3.2.

http://issues.civicrm.org/jira/browse/CRM-5766
Protect your investment in CiviCRM by  becoming a Member!

kmarkley

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 14
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7.24
  • MySQL version: 5.1.56
  • PHP version: 5.3.27
Re: Registering participants at no cost for a paid event?
February 03, 2010, 11:49:05 am
Cool.  Glad I could help.

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Registering participants at no cost for a paid event?
February 03, 2010, 12:04:35 pm
Perhaps the option set could be used to offer prices based on someone's group membership, in addition to "admin only" and "public" prices.   Just my 2 cents.
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Registering participants at no cost for a paid event?
February 03, 2010, 12:11:48 pm
Sarah - Exactly why we decided to use an extensible option value group - so at some point folks could use hooks to expose price set fields with other visibility_id values based on participant role, membership, etc. :-)
Protect your investment in CiviCRM by  becoming a Member!

AudreyKate

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
  • CiviCRM version: 3.4.4
  • CMS version: Drupal 6.24
Re: Registering participants at no cost for a paid event?
August 21, 2010, 11:07:12 am
Just checking to see what the status is of this issue/patch. I see that it's still listed as "in verification":

http://issues.civicrm.org/jira/browse/CRM-5766

In my installation of 3.2, much of the code from the patch has been incorporated, but the function isn't available.

AudreyKate

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
  • CiviCRM version: 3.4.4
  • CMS version: Drupal 6.24
Re: Registering participants at no cost for a paid event?
August 21, 2010, 11:18:43 am
Oops -- strike that. I can use it, although the issue isn't listed as "resolved." Sorry!!!

thoni56

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 1
  • CiviCRM version: 4.7.3
  • CMS version: Joomla 3.4.8
Re: Registering participants at no cost for a paid event?
February 29, 2012, 08:15:13 am
Reviving an old thread, sorry, But I'm no CiviCRM coding guru (although I'm known to TDD most things from scratch...) so I'm trying to navigate my way through this muddle of thousands of forum topics and millions of Jira-issues, but none similar to mine..., to get a clue on if what I want has been talked about before, or even implemented already

What I want is to be able to use the admin-only price sets when I import participants or add multiple participants from a search.

Should that be possible? Or is my CiviCRM (3.4.8) just not configured correctly for this?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Registering participants at no cost for a paid event?
February 29, 2012, 05:12:43 pm
You should be able to see all fields (public and admin only) in a price set associated with an event when doing "Add Contacts to Event" action from search results (i.e. "add multiple participants from a search"). I just retested that on my 4.1 install and I don't think this was added or changed recently.

Importing price set values is not currently supported, and is a non-trivial feature to implement. If your organization is interested in sponsoring this - we can potentially investigate and provide an estimate of the cost.
Protect your investment in CiviCRM by  becoming a Member!

thoni56

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 1
  • CiviCRM version: 4.7.3
  • CMS version: Joomla 3.4.8
Re: Registering participants at no cost for a paid event?
March 01, 2012, 06:28:59 am
Thanks for looking into the issue. It didn't work in our live site (Joomla 1.5, CiviCRM 3.3.5), but I have confirmed that it works in a backup version wich I've upgraded to 3.4.8. So now I'm looking at upgrading a live site close to an upcoming critical event...

I'm assuming the change between 3.3.5 and 3.4.8 (in this respect) is a smallish one somewhere. Would it be an option for me to extract a patch between the versions and see if I can get the options working in 3.3.5? Where would I start looking for that diff?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Registering participants at no cost for a paid event?
March 01, 2012, 10:38:29 am
You can use the Issue Tracker search (link above) to find the issue. Then click the Source tab on the issue. This will give you a list of files which have changed - the triangle icon links to diffs formatted as patches.
Protect your investment in CiviCRM by  becoming a Member!

thoni56

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 1
  • CiviCRM version: 4.7.3
  • CMS version: Joomla 3.4.8
Re: Registering participants at no cost for a paid event?
March 01, 2012, 01:36:07 pm
Thank you for your support!

Turned out it was a simple two-line fix in PriceSet.tpl which I found with your pointers. Now we can search and add participants *with* admin price set in 3.3.5 too!

jakecivi

  • I post frequently
  • ***
  • Posts: 140
  • Karma: 0
Re: Registering participants at no cost for a paid event?
June 10, 2012, 10:18:14 am
On a similar note, is there a way to override the event fee on a per-participant basis so an admin could enter an arbitrary value?

Pages: 1 [2] 3
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Registering participants at no cost for a paid event?

This forum was archived on 2017-11-26.