Forum Replies Created
-
AuthorPosts
-
Barry
Member<div class="well well-times"> <p class="text-center">Show times may vary, <a href="<?php echo esc_url( tribe_get_custom_field( 'Tickets' ) ) ?>" target="_blank">Buy Tickets</a> to pick times.</p> </div>OK, so the button you’re trying to show/hide is represented by this section from your single-event.php template?
Can you try changing wrapping that up something like this:
<?php if ( ! $event_passed ): ?> <div class="well well-times"> <p class="text-center">Show times may vary, <a href="<?php echo esc_url( tribe_get_custom_field( 'Tickets' ) ) ?>" target="_blank">Buy Tickets</a> to pick times.</p> </div> <?php endif ?>(Essentially, test to make sure the event hasn’t passed before printing it out) … does that help?
August 4, 2014 at 10:48 am in reply to: No License Key Tab/ Fields for Pro or Community Events, Can't Download 3.7 Updat #579576Barry
MemberRight – so if it is active on the primary site (or indeed if it has been network activated) you should be able to enter the license key. It’s slightly different in these cases though as to navigate to the licenses tab you’ll need to navigate to:
Network Admin → Settings → Events Settings
You should then be able to locate the licenses tab. Does that help?
Barry
MemberWe do have at least one known bug relating to SSL – that’s a problem that can occur when site’s are loaded over HTTPS, though, rather than the converse.
Since the main problem you’re describing happens via regular HTTP and only with your theme I’ve got to suspect that your theme also does something with Google Maps – resulting in the error/warning I quoted above – and perhaps the best way forward is to identify if the theme can have it’s Google Maps support deactivated.
Would you be able to contact the theme author and enquire about that? If they can offer up a snippet that achieves this and solves the problem then, on our side, we could take a look at it and potentially shape it so that it only takes effect on event pages.
Is that worth a try here?
August 4, 2014 at 10:28 am in reply to: Events Calendar Pro & SiteOrigin's Page Builder Widget #579424Barry
MemberI think some of your code may have been stripped out, unfortunately, particularly within your echo statements. The forum is unfortunately not too great when it comes to sharing code and so it’s often best to share snippets via Pastebin, Gist or some similar service.
This is what I came up with but it’s still not right
So what are the sticking points here? Please also note that – though we’re happy to help if we can – this sort of customization is really beyond what we’d normally assist with. If you can provide a little more detail as to why that solution isn’t working for you, though, I might be able to offer up a few ideas.
One final other thought is that you could build a custom widget of your own to handle this – that may be cleaner than trying to bend the existing widget to your will 🙂
Barry
MemberExcellent!
I’ll go ahead and close this thread in that case – but if we can help with anything else please don’t hesitate to create a new thread and one of the team will be only too happy to assist.
Also, if you have a moment, we’d love to hear your thoughts on The Events Calendar over on our plugin review page. Thanks again 🙂
Barry
MemberHi!
I’ll go ahead and close this thread (so staff will no longer monitor it for replies) but if we can help with anything else please don’t hesitate to create a new thread and one of the team will be only too happy to assist.
Thanks!
Barry
MemberOK – and were you able to run through the process described previously?
<div>… One other approach would be to test things out on a test site rather than your live site. This could be as simple as setting up WordPress in a subdirectory and, initially, adding only The Events Calendar and Community Events.
Configure them as they are on your live site and see if they same problem occurs. If there’s no problem, start adding each of the plugins that you have on your live site and ultimately your theme – testing at each stage to see if you can identify the seat of the conflict.
Would that be possible here?
Did that help at all in getting to the bottom of this? I appreciate the theme dev’s feedback but it is still worth doing some basic troubleshooting as another plugin could be impacting or there may even be something the theme dev hasn’t considered.
What I can say is that I’m unable to replicate this and it’s not something we’re seeing widespread reports of, so on face value it certainly is shaping up to be a conflict of some kind.
</div>
Barry
MemberYes – ideally – however a lot depends on the existing code in your theme. If you know that it doesn’t already declare featured image support (for any post types) then it may not matter as much.
On the other hand, if there is an existing call to add_theme_support() somewhere in there you will probably need to replace that one with the line I suggested above.
Again, as this really depends on your theme and how it was put together, it may be best to check in with the theme author if you have any doubts 🙂
Barry
MemberOK. Something does seem to be amiss – but there is a general breakage of the Tribe Bar functionality here and I’m not sure what is causing it. For instance, after the result set reloads (albeit it is empty) I am not seeing the messaging I would expect when no results are found nor am I amble to conduct a further search within map view.
YES, I’ve deactivated all other plugins to check for a plugin conflict.
YES, I’ve reverted to the 2011 default WordPress theme (with other plugins still deactivated) to check for a theme conflict.I definitely appreciate you running through the above steps – can you confirm if there was any difference with everything else deactivated?
Barry
MemberIt’s definitely worth a try.
Alternatively, you could temporarily rename your custom tribe-events directory (within your theme) to _disabled so that the plugin’s default templates are used instead and see if that improves things – after all it’s possible the issue isn’t with your custom templates at all.
Barry
MemberMost things will stay intact but you might find you need to restore your main nav menu or the ordering of widgets in your sidebars and so on – a lot really depends on the specific plugins and theme you are using.
We’d definitely recommend taking a back up before doing anything like this and it is also worth considering running the test in reverse on a test site.
For example, you could simply install a fresh copy of WordPress in a subdirectory and – initially – install just our plugins and see if it works as expected. Assuming it does (it should) start adding all of the plugins and ultimately the same theme as you have on your actual live site and test to see if the problem kicks in once one or more of those components are added.
This way you’ve got a good chance of being able to isolate the conflict without impacting on your live site.
Would that be a possibility here?
Barry
MemberMy pleasure, glad we got there and thanks for your patience while we worked through it 🙂
I’ll go ahead and close this thread – but if we can help with anything else please don’t hesitate to create new threads as needed and, if you have a moment, we’d also love to hear your thoughts on The Events Calendar in general over on our review page.
Thanks again!
Barry
MemberThanks for bearing with us.
This snippet – which you could copy and paste into your theme’s functions.php file – ought to restore the previous behaviour, but definitely let me know if you hit further issues.
August 1, 2014 at 9:09 am in reply to: After upgrading to Pro, the Events won’t save dates/time including recurring #558227Barry
MemberSure – we can definitely take a look.
Simply to make best use of time though I might need to repeat the same troubleshooting steps of deactivating other plugins and changing theme. Can you confirm:
- We have your permission to do this and you understand we can accept no liability for any problems that might result
- You also understand that this may cause some disruption and that you may need to do a little work restoring things after we finish
- In anticipation of this you have made a full and complete backup and are additionally aware of the process for restoring that backup
Let me know!
Barry
MemberHi!
Your theme may not declare support for featured images (if you can’t add featured images at all, even on regular pages or posts this is probably the case), or may have restricted the use of featured images to a handful of post types (if you can add them for regular pages/posts then this is probably the issue).
Regardless, it may be worth contacting the theme author for support. Probably all that needs to happen is add the following line, or change the existing featured image support code so it looks like this:
add_theme_support( 'post-thumbnails' );This opens up the potential for using featured images with all post types. Does that help at all here?
-
AuthorPosts
