Event Registration

10 posts by 4 authors in: Forums > CMS Builder
Last Post: November 6, 2015   (RSS)

By wizzle - October 30, 2015

Can someone please point me in the right direction on how to incorporate this into CMSB ?

The website is for a business that offers classes.  I would like to be able to include a "register" button for each class where the web user can fill out his/her info and then submit the web form and the data is collected in CMSB.  At this time there will not be any sort of payment involved on the website, but I thought about trying to do this with a shopping cart.  But ideally I could do it with CMSB and not have to integrate another piece of software.  Would be awesome if it also sent the web user a confirmation email.

All I'm looking for is a starting place... what's the best way to implement this feature.

I already have the primary site built and the classes being created... just looking to add the ability for web users to fill out a registration form to register for a class.

Greg Williams

Hi Wizzle,

Shouldn't be too hard to accomplish, but I wouldn't recommend that you allow everyone the ability to write data to your databases.

With hackers taking advantage of every option, I'd suggest charging using PayPal only, so that you have some security about who is accessing your system.

That said, why not take advantage of my free 3 month trial to the CMSB Cookbook for CMSB users.

 http://www.thecmsbcookbook.com/trial.php

I'm sure that you'll find answers there to many of your questions.

Best,

Jerry

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

By wizzle - October 31, 2015

Thanks.  But my client does not want to accept online payments at this time... he's a bit old school and doesn't want to pay the CC fees, etc.

He would actually be just as happy if the registration just submitted an email to him.  I have it currently working this way but it uses the formmail.com service.  Would it be an easier option to just get CMSB to submit an email but not save the data?  

Greg Williams

By kitsguru - November 3, 2015 - edited: November 3, 2015

I use tectite formmail with recaptha2 and a hook to write to CMSB. The email processing is very sophisticated and writing the hook was very easy. You can also incorporate online payments easily.

Jeff Shields

For many years, I have been using Appnitro's Machform as a companion to CMSB.  In most all cases, it is not necessary to write to the CMSB database.  Machform has it's own data management and now interfaces with PayPal and other payment gateways if necessary.  It is the best self hosted solution that I have found that is brain dead simple to install and manage.  The forms simply embed into a CMSB page using javascript or PHP code that is generated for you or you can call it as a pop-up form or it's own page.  It is transparent to the user.  In some cases, I have passed data from the CMSB database to the form.  I have an unlimited license but it is only 39.00 for a single site and well worth every penny of that. Check it out at http://www.appnitro.com/

I have been wishing for a forms plugin for CMSB like Machform.  It would be a welcome addition to the add-ons!

Ron Conring
Conring Automation Services
----------------------------------------
Software for Business and Industry Since 1987

Hi Jeff,

Any chance you can post some sample code for the hook and the implementation?

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Hi Ron,

Also sounds interesting.

Have you also passed data back to a CMSB section?

Could you post some of the code that you've used for integration between the two programs?

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

By kitsguru - November 5, 2015 - edited: November 5, 2015

Hi Jerry

Here is a sample to use. Fell free to modify as required and add it to the cookbook.

  • it is used as hook for Tectile Formmail
  • it takes the result from a registration form submission and submits it to a database
  • this hook is called prior to the email being sent.
  • it can be used on any mysql database
  • does not require CMS Builder
  • namefile: fmhookpreemail.inc.php to write to database pre email
  • rename to fmhookpostemail.inc.php to write to database post email
Jeff Shields
Attachments:

fmhookpreemail.inc.php 4K

Thanks to you both,

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php