Contribute to JEvents

event registration/ payment

We are looking for developers, forum moderators and translators for this project.

If you would like to help out then please add a message in this forum.

Postby yekibud » Wed Jan 14, 2009 4:46 pm

I have a need to add event registration and payment to the current JEvents functionality.

I'm new to Joomla but have been developing PHP/MVC for several years. So I'm not sure how to go about improving existing components / contributing to Joomla projects. I was thinking of creating a module for JEvents that would depend on VirtueMart (for the event payment part). Does that make sense? Do you have any suggestions for how I should get started? Do you have any preferences or guidance on how I can contribute to the JEvents project to enable this functionality?

Thanks.
yekibud
 
Posts: 9
Joined: Wed Jan 14, 2009 4:37 pm
Location: Sacramento, California

Postby Geraint » Wed Jan 14, 2009 10:31 pm

An interesting thought - I've been developing paid subscription component based around Virtuemart as a product/payment engine and I'd been wondering about using a similar approach for event registration.

I've developed a couple very minor tweaks to Virtuemart that enable the creation of a subscription type product (i.e. no shipping required and not a download).

It should be possible to do something similar for registrations - I'll have a think

Geraint
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
User avatar
Geraint
 
Posts: 42795
Joined: Fri Feb 15, 2008 6:14 pm

Postby Stricnine » Tue Feb 17, 2009 1:57 pm

Hi Geraint

I would be really interested in trying a registration module for Jevents... don't require payment option though.. I really just need a simple email form - I've been experimenting with CKForms which do exactly what I want from that front... all I really need to add is a bit of code to pass the event details along with the other info from the form... but my php is sketchy at best so don't know if you can help (or if this is a CK forms question??)

Yours hopefully :)

Regards
Chris
Stricnine
 
Posts: 20
Joined: Tue Jan 20, 2009 4:24 pm

Postby Geraint » Tue Feb 17, 2009 5:06 pm

I've done some preliminary work on this which looks promising - Virtuemart support 'free' products so could be used for free but restricted quantity event registrations.

Could be a few months before its all ready though I'm afraid

Geraint
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
User avatar
Geraint
 
Posts: 42795
Joined: Fri Feb 15, 2008 6:14 pm

Postby yekibud » Wed Apr 08, 2009 12:11 am

I've changed my mind about the Virtuemart dependency approach - I think this might be over-kill.

I implemented a simple registration process using the ChronoForms extension. I thought about writing a plugin, but I don't think that's possible because my changes depend on some of the JEvents core. I don't know if depending on another extension like ChronoForms is the most elegant approach, either - but it's a quick way to get event registration working. Let me know if you recommend a better way of doing this that could potentially be integrated with the project and shared.

Here's the approach I took:

1. add a "capacity" field to the jevents_vevent table
2. add capacity get/set and display logic to admin "Edit Event" view/model (I put it next to "priority")
3. create a registration form with ChronoForms with a field for the event id (it will automatically create a registration form table and give you a list view of registrees)
4. add logic to form code to display if event is in the future and not full, or message appropriately
5. add ChronoForms plugin tags to event description

Now I'm going to look into payment with Google Checkout, or something..
yekibud
 
Posts: 9
Joined: Wed Jan 14, 2009 4:37 pm
Location: Sacramento, California

Postby Geraint » Wed Apr 08, 2009 6:49 am

Have you looked at the JEvents plugin hooks? They allow you to create linked tables and include this information in the event editing screens and displaying event detail.

Geraint

p.s. I agree virtuemart is overkill for free registration but the payment processing, invoicing etc. it would save a lot of duplicated developement
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
User avatar
Geraint
 
Posts: 42795
Joined: Fri Feb 15, 2008 6:14 pm

Postby yekibud » Thu Apr 09, 2009 2:00 am

So I implemented the payment part by adding another field to the "Edit Event" view for "price" and integrating Google Checkout. I think I would need to re-do the way I'm using the form part in order to make it plug-able and not dependent on ChronoForms. I think I'll re-visit prior to the production release of my site and do the re-factoring using the latest version JEvents at that time.
yekibud
 
Posts: 9
Joined: Wed Jan 14, 2009 4:37 pm
Location: Sacramento, California

Postby M242 » Wed Jun 17, 2009 5:09 am

Have you ck'd out DT Register, it links to Jevent and work really well w/paypal.
Cheers
M242
 
Posts: 9
Joined: Tue Jun 09, 2009 3:09 am

Postby yekibud » Wed Jun 24, 2009 12:53 am

Hi, M242.

Thanks for your reply.

I have already implemented event registration and payment using JEvents and Google Checkout. I'm going to try to find some time to re-factor the code and make it plugable.

I would rather contribute back to the JEvents project than pay for DT Register.
yekibud
 
Posts: 9
Joined: Wed Jan 14, 2009 4:37 pm
Location: Sacramento, California

Postby Geraint » Wed Jun 24, 2009 6:37 am

FYI I'm working on an event registration addon at the moment which should be available for initial testing by club members in 2-3 weeks time.

Geraint
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
User avatar
Geraint
 
Posts: 42795
Joined: Fri Feb 15, 2008 6:14 pm

Next

Return to Contribute to JEvents

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there are 0 users online :: 0 registered and 0 hidden (based on users active over the past 5 minutes)
  • Most users ever online was 94 on Tue Sep 01, 2009 12:33 am
  • Users browsing this forum: No registered users