Posted: January 15, 2015 at 1:21 pm
|
We really, really need to apply 2 prices to our event registrations (member and non-member prices). If we make 2 types of tickets, we will be unable to enforce the attendee number limit. Is there no way to create promo codes in EE4? |
Hi Becky, Have you tried setting a limit for the event’s datetime? This way, you’ll be able to enforce an attendee number limit and make two types of tickets. Promotional codes for Event Espresso 4 is under active development and will be released for early beta testing when it’s ready for testing. |
|
|
Hi Josh. Thanks for your reply. The only way I see is (1) offer a discount or (2) create separate events, which would be cumbersome for the registrants signing up for multiple weeks. Any suggestions? |
|
Hi Josh – I think I figured it out by reading this article. https://eventespresso.com/wiki/datetime-ticket-names-consolidate-event-pages/ Thanks for your help! |
|
I couldn’t do it this way, because an alert advised me there were more variables than allowed by the server. (10 event dates, and twenty ticket types.) Is there a fix for this? |
Hi Becky, Can you go to Event Espresso -> Help & Support -> Support (tab) Within that screen you will see PHP version, can you post up your current version number please. |
|
|
PHP Version: 5.4.34 |
|
This is the error: |
This is a setting within PHP 5.3.9+ which will need to be changed in order for you to add more tickets. There are multiple ways to increase max_input_vars, for example adding: php_value max_input_vars 3000 to your .htaccess file within the root directory of WordPress should increase this value. However if you are unsure of how to do this, I would recommend issuing a support ticket with your host asking them to increase your max_input_value to 3000 (it will currently be 1000 so 3000 shouldn’t allow you to create 3 times the amount of tickets) |
|
|
Thanks for this tip. – I added php_value max_input_vars 3000 to the .htaccess file, but it deactivated your plugin and seemed to blow the PHP version back to 5.2. I undid my changes and opened a ticket with the host. I’ll send update … |
Some hosts do not allow you to change those values within .htaccess so it needs to be done (usually) through a custom php.ini The best way is to issue a ticket with your host (as you have done) as they will know their servers best. Please do let us know how this goes. |
|
|
I have changed the max_input_vars to 3000 in our php.ini file. I have added a few more tickets, but continue to get the error alerts about exceeded input vars. Also, the free ticket is being automatically added each time I save changes. (strangely, the free ticket does not appear on the front end.) Can you help me understand what to do? |
Hi Becky, Has your host updated your site from PHP 5.2 to a current release of PHP? — |
|
|
The host (BlueHost) advised me to select PHP 5.4 (Single php.ini) in the control panel and change the max_input_value to 3000 in the php.ini file in the root directory. I have made the change and can now add the additional tickets. However, I continue to get the inputs exceeded warnings each time I edit the event. |
Which version of Event Espresso 4 are you using? (You’ll find this in the Plugins menus or at the bottom of the Dashboard) If you go to Event Espresso -> Maintenance -> System Information. Then search for max_input_vars on that page, check that value is 3000 and not 1000 (It likely is as your tickets would not save if not but good to double check) Go to Event Espresso -> General Settings. Make no changes and just save. EE checks your max_input_vars values and saves it, then compares input_vars on the fly and throws a notice if you reach the saved value. Saving the config should force this to re-evaluate and save the new value. |
|
|
Using version EE4 Version 4.4.8.p The System Information page shows: I saved the General Settings page, but the value did not change on System Information page. I also tried de-ativatiing a re-activating the plugin without success. Checked the php.ini file in root directory, and it says max_input_vars 3000 It seems the plugin is not seeing the new value. Suggestions? |
It sounds like your php.ini file is not recursive, meaning that the settings are applied in the directory that file resides within and not sub-directories. So now the server has the higher value for max_input_vars (which is why they save), but the settings within /your root directory/wp-content/plugins/* are still 1000, as this is where EE runs from it also shows as 1000. As modifying .htaccess did not work last time, I would once again contact bluehost and ask them to check if those settings are set to be recursive and if not advise the best way to set it so that it is, Apache may also need to be restarted for the settings to update. I can provide code for you to try again within that directory if you prefer? Although it would be much better to do the above in my opinion. |
|
Starting today, current support license holders can opt in to the pre-release channel and download the Event Espresso 4.7 and Promotion add-on pre-releases. We’d love to get your feedback on some of the new promotion features and changes that we’ve been working on. These include:
Important: The Event Espresso 4 promotions add-on will activate only if Event Espresso 4.7 is active. This means you’ll need to install the Event Espresso 4.7 pre-release before installing the promotions add-on.
If you haven’t already opted into Event Espresso’s pre-release channel, you can go to your account page and check the box to opt in to the pre-release channel. Once you opt in, the download files will be available under the EE4 tab under the Pre Release Downloads heading. You can find out more information about in the pre-release channel guide. If you have feedback about Promotions or the 4.7 release, please reply to that Promotions announcement or start another new topic. |
|
Update: The Promotions add-on for Event Espresso 4 is now available. |
|
The support post ‘Is There No Way to Apply Promo Codes/prices in EE4?’ 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.