Support

Home Forums Event Espresso Premium Group Registration Problem

Group Registration Problem

Posted: December 11, 2012 at 1:40 pm


tenmast

December 11, 2012 at 1:40 pm

I have a problem with group registrations. If I do not require additional information for each additional registrant, EE works fine. When I select to require ‘additional attendee registration info’ and select something like ‘personal registration only’, then my event page says ‘click to toggle, limit 49’. See my example here: http://www.tenmast.com/?page_id=12709&regevent_action=register&event_id=1

Please help!!!!

Thanks.

Adam


Josh

  • Support Staff

December 11, 2012 at 2:03 pm

Hi Adam,

There are some JavaScript errors on this page that need to be addressed before the add additional attendees toggle will work as expected.

One is from the wp-anything-slider plugin, which is force loading jQuery version 1.3.2 onto the page. Since a newer version of the jQuery library is already on the page, this one needs to go. If you need to run the anything slider plugin, you can change the function in the plugin that loads jQuery to use the WordPress enqueue script function instead.

There is another issue where there is another plugin calling jQuery 1.7.2 a second time (possibly the sidebar-login plugin?) or the theme isn’t enqueueing jQuery.

So in a nutshell, jQuery needs to load once, and it needs to be a more recent version (version 1.7.2 is fine).

Here are some references that may help you sort out these conflicts:

https://eventespresso.com/2012/08/using-jquery-in-safe-mode/

http://digwp.com/2009/06/including-jquery-in-wordpress-the-right-way/

http://wpcandy.com/teaches/how-to-load-scripts-in-wordpress-themes/


tenmast

December 12, 2012 at 1:20 pm

Thanks, Josh.

I simply updated my plugins and now the ‘click to toggle’ actually works, but it still shows as ‘click to toggle’ rather than showing the number of attendees. Here is the link again: http://www.tenmast.com/?page_id=12709&regevent_action=register&event_id=1 – How can I fix this? You mentioned 2 other WP plugins, but it turns out that I need both of those functioning, so how can I proceed to make this work?

Thanks.

Adam


Josh

  • Support Staff

December 12, 2012 at 1:31 pm

You can fix those other plugins or the theme so they don’t load up multiple copies of jQuery. The links that I posted earlier explain how to use the WordPress enqueue script function to prevent the multiple copies of jQuery to load up on the page.


tenmast

December 12, 2012 at 1:54 pm

Thanks, Josh. I’m sorry to say that I simply don’t understand what these articles are explaining to me. What are my options to receive assistance from EE in fixing this issue?


tenmast

December 12, 2012 at 2:00 pm

Josh, I also have another question related to questions & question groups. How can I control how questions are ordered on a particular question group? For example, I added a custom question called ‘Title’. I want it to show up after ‘First Name’ and ‘Last Name’. But, for some reason, I can only get it to show up between those other two questions. Any thoughts?

Thanks.


Josh

  • Support Staff

December 12, 2012 at 3:27 pm

Hi Adam,

We can fix the third party themes and plugins if you purchase a support token.

You can drag and drop the questions to re-order them, or when you edit each question, there is a field that lets you order them as well. It’s labeled Order/Sequence. You can number each question to customize the order, the higher numbered questions will appear last.


tenmast

December 12, 2012 at 5:25 pm

Thanks, Josh. I purchased a support token to receive help with my jquery issues. How do we proceed to get together on that?


Josh

  • Support Staff

December 12, 2012 at 6:04 pm

Hi Adam,

We will need temporary WordPress admin credentials and temporary FTP access to the server. You can send us the credentials via our contact form:

https://eventespresso.com/contact/

Please select the “I am sending login info as requested” department form.


Josh

  • Support Staff

December 14, 2012 at 3:08 pm

Hi Adam,

Sorry for the delay. I found one instance of where jQuery was hardcoded in the theme’s header.php file on line 60:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>

This has been replaced with:

<?php wp_enqueue_script("jquery"); ?>

By using the WordPress enqueue script function, you can help ensure that only one copy of the jQuery gets placed on the page.

I’m going to look over this a bit more to see if that is all that’s needed, and I will also add a few pages to the WP super cache “Disable cache for these pages” setting so that the Event registration pages do not get served as cached files. Serving the registration pages as cached files can create problems in the registration process.


Josh

  • Support Staff

December 14, 2012 at 3:56 pm

Hi Adam,

I had to make a few more changes because some of the inline JavaScript was using the $ alias for jQuery. I was able to upload the changes to page.php, single.php, homePageTemplate.php, and index.php. There were two more files that need to be updated, but the file permissions wouldn’t allow this. You can change the JavaScript at the end of page-contact-us.php and page-menu-test.php if you end up needing these page templates. Here is the block of the modified JavaScript:

<script type="text/javascript">

jQuery(document).ready(function($) {
  // Handler for .ready() called.
  $('#s').val('Take a look around');
  $('#user_login').val('Username');
  $('#wp-submit').val('Login');
  $('#txt_who').val('Your Name');
  $('#txt_agency').val('Organization');
  $('#txt_email').val('Email');
  $('#txt_phone').val('Phone');
});

(function($) {
$('#s').focus(function() {
    $('#s').val('');
}); 

$('#txt_who').focus(function() {
    $('#txt_who').val('');
}); 

$('#txt_agency').focus(function() {
    $('#txt_agency').val('');
}); 

$('#txt_email').focus(function() {
    $('#txt_email').val('');
}); 

$('#txt_phone').focus(function() {
    $('#txt_phone').val('');
}); 

var originalBtn = $("#user_pass");
var newBtn = originalBtn.clone();

newBtn.attr("type", "password");
newBtn.insertBefore(originalBtn);
originalBtn.remove();
newBtn.attr("id", "user_pass"); 

})( jQuery );

</script>

I also added the following URL strings to the list of pages that should not be cached in the WP super cache settings:

event-registration
thank-you
transactions


tenmast

December 17, 2012 at 2:31 pm

Josh,

we made the changes and the original problem ‘click to toggle’ still exists. i was told that permissions were also changed to allow future changes by you directly. please advise.

thanks.

adam


Josh

  • Support Staff

December 17, 2012 at 3:07 pm

Hi Adam,

I’m not seeing any issues with the “Click to Toggle” function now. Did you try clearing your browser’s cache? Are you expecting it do something else?


tenmast

December 18, 2012 at 7:30 am

Hi, Josh.

Perhaps I am confused. It seems confusing to a registrant to have wording that says ‘click to toggle’. I was thinking that the functionality would be more like the functionality when you don’t have to fill out the form (how it allows the user to select the number of registrants to add instead of a click to toggle suggestion). In short, I guess I’m not sure when it wouldn’t say ‘click to add more attendees’ or ‘select number of additional attendees’ or something (but still allow the forms). Am I making sense?

Also, I have another quick question. With many of our events, our company does not require payment (we invoice instead). We still want to use the money information on the registration page (where it calculates the amount owed) – it’s helpful to send a confirmation that includes the total amount owed (and i saw your invoices as well….pretty cool). Is there a way to mark registration as complete (I guess that means payment complete) in the system without doing it one-by one? Or, alternatively, is there some other way to automatically mark attendees as complete without ever actually marking that payment was received? How would you handle this situation where we don’t want to use this program to manage receiving payment? (note, if we have to mark them one-by-one, we will – we were just hoping for a better way).

I greatly appreciate your assistance.

Thanks.

Adam


Josh

  • Support Staff

December 18, 2012 at 8:28 am

Hi Adam,

I was thinking that the functionality would be more like the functionality when you don’t have to fill out the form (how it allows the user to select the number of registrants to add instead of a click to toggle suggestion). In short, I guess I’m not sure when it wouldn’t say ‘click to add more attendees’ or ‘select number of additional attendees’ or something (but still allow the forms). Am I making sense?

I’m not quite following, but I can explain the group registration options so you can make an informed choice on how to set up the event. There are three options in the event editor that control the group registration setting. The first one sets whether to allow group registrations or not. The next one sets the group limit. The third one will let you set up the Additional attendee forms, or not require any info at all. If you set it to not require any info, there will be a dropdown quantity selector instead of the additional form toggle.

With many of our events, our company does not require payment (we invoice instead). We still want to use the money information on the registration page (where it calculates the amount owed) – it’s helpful to send a confirmation that includes the total amount owed (and i saw your invoices as well….pretty cool). Is there a way to mark registration as complete (I guess that means payment complete) in the system without doing it one-by one? Or, alternatively, is there some other way to automatically mark attendees as complete without ever actually marking that payment was received? How would you handle this situation where we don’t want to use this program to manage receiving payment?

I would recommend setting the Default Payment status option to Pending for these events and use the invoice payment option. When it is set as Pending, the registrations will count toward the total, and the customer’s spot is reserved.


tenmast

December 27, 2012 at 8:25 am

Hi, Josh.

Our team is confused on the ‘click to toggle’. Is there any way to change the language of ‘click to toggle’ to something else (i.e. ‘click to add more attendees’ or something like that?)

Thanks.

Adam


Josh

  • Support Staff

December 27, 2012 at 8:39 am

Hi Adam,

Most text strings in Event Espresso are translatable. While you could go through multiple template and function files to reword these, it’s a lot cleaner and easier to maintain if you create your own “English” translation file. Here’s a brief outline on how to do this:

1) We recommend poedit for working on translation files: http://www.poedit.net/

2) After you install poedit, you can download a copy of event-espresso and open the /languages/event_espresso-en_US.po file in poedit.

3) Use the Find tool to pull up the text string you need to modify.

4) Enter your text string modification in the lower text area. Please see this screenshot.

5) Save, then upload the .po and newly generated .mo files to the wp-content/plugins/event-espresso/languages/ directory on your server.

In the near future, we will be adding a language folder path to the WordPress /uploads folder so customized translation files do not get overwritten when auto-updating the plugin. For now, please be sure to make a backup of your customized .po and .mo files so you don’t lose your customizations when doing an update.


tenmast

December 27, 2012 at 2:46 pm

Hi, Josh.

After carefully following your steps to change the .po file, there is no visible change to the form. We downloaded the Poedit software, found the specific line to change, created the translation, and reuploaded the file.

The registration form still reads “click to toggle” (the source text).

Please advise. Thanks.


Josh

  • Support Staff

December 27, 2012 at 2:57 pm

Hi Adam,

When you save the .po file, it will automatically generate a .mo. Both files need to be uploaded to /languages.

The support post ‘Group Registration Problem’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso