Running WP Event Ticketing with Thesis
Posted on November 27, 2010
UPDATED 12/1/2010: Version 1.1.2 was released this evening and fixes the conflict with Thesis. Instead of editing the files manually, you can download the latest version instead.
We’ve had a few reports of our plugin WP Event Ticketing not displaying the Ticketing menu on the admin dashboard. The common denominator for the reports was that they were all using the Thesis theme.
After some troubleshooting through the code, I found a conflict that I believe to be a bug in the way WordPress handles the addition of new navigational menu items. I’ve reported the conflict to the WordPress development team, but it’s not something that will likely be fixed right away. So until then, we’ve come up with a simple workaround. We will include this update in our next release, but until then, here is the workaround.
1. In a text editor, open the file named ticketing.php
2. Find the line that looks like this:
add_menu_page('Tickets', 'Tickets', 'activate_plugins', 'eventticketing', array("eventTicketingSystem", "ticketReporting"), WP_PLUGIN_URL . '/' . plugin_basename(dirname(__FILE__)) . '/images/calendar_full.png',30);
3. Replace that line with the following:
add_menu_page('Tickets', 'Tickets', 'activate_plugins', 'eventticketing', array("eventTicketingSystem", "ticketReporting"), WP_PLUGIN_URL . '/' . plugin_basename(dirname(__FILE__)) . '/images/calendar_full.png',29);
Once you make this change, “Tickets” should now show up right before the “Thesis” menu item.
As always, if you run in to any issues with the plugin, we urge you to post it to the WP Event Ticketing Support Forum. If you’d like to be informed when we release new software updates, be sure to sign up for the 9seeds Newsletter.