Forum Replies Created
-
AuthorPosts
-
Barry
MemberAn out-of-memory error doesn’t always mean your hosting environment doesn’t have enough memory – but it’s definitely a possibility.
Can you check in with your web host and ask what the PHP memory_limit setting is? We’d recommend at least 64M (remembering that as of PHP 5.3 the default value is 128M).
If that doesn’t work, please try running through our standard troubleshooting steps:
* Please ensure that your Modern Tribe plugins are up-to-date and in-synch … for instance if you are using The Events Calendar 2.0.11 you must also use Events Calendar PRO 2.0.11
* Deactivate all other plugins and change your theme to a default, unmodified one such as Twenty Eleven or Twenty Twelve
* Now test to see if the problem still exists
* If the problem has been solved by these steps, start reactivating everything one-at-a-time, testing at each point to see if the issue has returned
* If the issue does return, take note of whichever plugin (or theme) you reactivated immediately before it started again – it’s likely there is a conflict with this item
Thanks!
Barry
MemberHi mantrafit, I’m not sure why that would be but it does rather sound like a conflict with another plugin or perhaps your theme. Can you try running through our standard troubleshooting steps?
- Please ensure that your Modern Tribe plugins are up-to-date and in-synch … for instance if you are using The Events Calendar 2.0.11 you must also use Events Calendar PRO 2.0.11
- Deactivate all other plugins and change your theme to a default, unmodified one such as Twenty Eleven or Twenty Twelve
- Now test to see if the problem still exists
- If the problem has been solved by these steps, start reactivating everything one-at-a-time, testing at each point to see if the issue has returned
- If the issue does return, take note of whichever plugin (or theme) you reactivated immediately before it started again – it’s likely there is a conflict with this item
May 15, 2013 at 6:40 am in reply to: How do I show how many tickets are available on the front end? #48567Barry
MemberSo although you can use the same function lots of times you can only define it once (and a snippet like this contains a function definition).
Though there are a few places you could you to house functions like get_wooticket_products() the best place if you are unsure is in your theme’s functions.php file – you can then use it from all of your theme templates.
In summary:
- Define your custom functions (a definition normally looks a little like function blah() { /* code */ } ) once only and place it in your theme functions.php file
- You can then use it from all of your theme templates, at least where it makes sense to do so, by calling it (a function call looking something like blah(); )
It’s definitely well worth reading up on some tutorials to learn the basics of PHP before attempting to do work like this as there are a few bear traps out there.
Barry
MemberNo problemo, I hope you get there π
Barry
MemberFantastic π
Barry
MemberThe post type is tribe_events and this is often accessible using the following class constant (though very early on in the request you would need to use a string literal):
TribeEvents::POSTTYPEI’m afraid I’m not familiar with the Catalyst theme so it is difficult to offer much more advice here beyond suggesting a different strategy (such as using Default Events templates and changing ecp-single-template.php).
Barry
MemberHi sitesubscribe,
I’d need a better picture of what you are doing – it’s possible you are doing this too early in the request – perhaps you can share a snippet via Pastebin?
On the widgets, so if I wanted those widgets I would need to add The Events Calendar Pro in addition to WooTickets? That wonβt cause a conflict? If not, what other functionality/features would I gain by adding The Events Calendar Pro in addition to WooTickets?
Events Calendar PRO does not create any conflicts with WooTickets that I am aware of – and you can see a summary of what it offers over on its product page π
Barry
MemberDoes switching to Default Events Template in Events > Settings > Template (or otherwise changing that setting) help at all here?
Barry
MemberHi diegobwd,
Sorry for the long delay – for some reason your post became a ‘sticky’ along with other important messages posted by the team and I completely missed it.
If you still need help here can you share a screenshot of your ticket settings for one of the events in question? (You can’t upload directly to the forum but you can link to an image hosted elsewhere.)
Thanks!
Barry
MemberFor the hook, you could try something like:
if (tribe_is_event() and is_single()) { /* Do something */ }Regarding the widgets – no widgets ship with WooTickets itself – the ones you refer to are indeed generated by Events Calendar PRO.
Barry
MemberI’ll close this thread since I’m guessing you’re all good here.
Barry
MemberHi familyfriendlycincinnati – how are you getting on with this?
May 14, 2013 at 12:51 am in reply to: How do I show how many tickets are available on the front end? #48426Barry
MemberHi Mike –
You can certainly change your ticket.php template to show remaining stock – this thread might give you some ideas on how to do that.
Customizing widgets is a little more involved so please check out our Themer’s Guide and relevant tutorials (links in the Useful Resources section over on the right). A useful snippet that can help you to pull the product data for any tickets associated with events can be found here.
I hope that gives you some ideas to get started with π
Barry
MemberA private forum for beta testers isn’t a bad idea, however it may need to wait until the next phase. I’ll pass a note to Rob that you had emailed with feedback π
May 13, 2013 at 5:09 pm in reply to: BUG: End Sale time will not allow a PM entry… resets to AM every time #48410Barry
MemberCheck again. It isnt that it is not SAVING the right time, it just resets the form field in the edit ticket panel to AM no matter what the saved value is.
Again, that isn’t my experience.
I can set an existing ticket’s end sale time to 10pm, save, navigate away and return and it is still 10pm. I can edit other facets such as stock then save, navigate away and return and once more it is still 10pm, etc.
So, unless I’m still misunderstanding you, I think this is localized to your installation.
I realize you annotated that you had tried deactivating other plugins and switching to a default, unmodified theme when you opened this thread but, just for completeness, I’m going to list our full troubleshooting steps in case there is something you might have missed.
– Please ensure that your Modern Tribe plugins are up-to-date and in-synch … for instance if you are using The Events Calendar 2.0.11 you must also use Events Calendar PRO 2.0.11. In this case that extends to WooTickets 1.0.1 and you should have WooCommerce 2.0.x installed and activated, as I believe you do.
– Deactivate all other plugins and change your theme to a default, unmodified one such as Twenty Eleven or Twenty Twelve
– Now test to see if the problem still exists
– If the problem has been solved by these steps, start reactivating everything one-at-a-time, testing at each point to see if the issue has returned
– If the issue does return, take note of whichever plugin (or theme) you reactivated immediately before it started again – it’s likely there is a conflict with this item
-
AuthorPosts
