Forum Replies Created
-
AuthorPosts
-
Barry
MemberHi – great question!
Yes, that’s possible, but you’re actually discussing a facet of how WordPress searches for posts rather than The Event Calendar itself. It would definitely be possible to do this and you would most likely go about it by filtering the where clause of the query put together by WordPress to conduct the search.
So that’s unfortunately a touch beyond what we can help you with here, but it is certainly achievable and I’d recommend reading through the relevant docs in the WordPress codex if you want to give this a shot. You may also find our own technical docs useful as a touchstone in the process.
Hope that helps!
Barry
MemberHi – that is strange.
Can you confirm if you have or had any customizations relating to that widget (which may need to be updated post-update)?
A great acid test is to deactivate all other plugins and switch to a default, unmodified theme like Twenty Twelve and see if the problem still exists (of course you might need to re-add the widget with that theme). Assuming it’s all good, reactivate everything one-at-a-time and watch out for when it returns.
That can help to pinpoint any conflicts that could be behind this.
Can you give that a go and let us know how you get on?
Thanks!
February 20, 2014 at 11:02 am in reply to: in backend – when click on events – looks like I have no events #107121Barry
MemberHi – sorry to hear you are facing difficulties here.
Is it possible you have (perhaps accidentally) set up some filters that might be causing this? Just above the list of events (when you are in the admin environment) is a box entitled Filters & Columns.
Within that box, can you click on the Clear button, then navigate away to any other admin page (like Settings or Appearance → Themes) and then return to the list of events – are they now visible?</p><p>Let us know – if that doesn’t help we can explore other possibilities.
Thanks!
February 20, 2014 at 10:55 am in reply to: Tickets Disappear if Event Edited by Another User #107116Barry
MemberI’m sorry you’ve experienced difficulties here.
That definitely seems like a bug and I can certainly replicate exactly what you have described: I’m going to file a report so that we can get this fixed. In the meantime, as a temporary workaround, would it be possible for you to ensure that the Eventbrite API key is registered in the user profiles of all users that might edit the event?
Barry
MemberHi Graeme,
Thanks for giving that a try. So here’s what I see in the code you posted (as a sidenote, please share any large bodies of code using a service like Pastebin or Gist rather than directly in the forum – principally because a glitch in our forum software can cause pieces of code to be stripped out, sometimes leading us to the wrong conclusion as a consequence 🙂 ):
<body id=”page” class=”page <?php echo $this['config']->get(‘body_classes’); ?>” data-config=’<?php echo $this['config']->get(‘body_config’,'{}’); ?>’>So as suspected in the previous thread, the problem is that the theme is “doing it’s own thing” with regards to body classes rather than following WordPress conventions. You could try changing this to:
<body id=”page” class=”page <?php body_class() ?>” data-config=’<?php echo $this['config']->get(‘body_config’,'{}’); ?>’>(If you have already – and that is currently in place – please let me know so I can look at the site and review what is happening) noting however that the side effect of this change is that the theme’s own body classes may not be applied. You could therefore also try:
<body id=”page” class=”page <?php echo $this['config']->get(‘body_classes’); ?> <?php body_class() ?>” data-config=’<?php echo $this['config']->get(‘body_config’,'{}’); ?>’>Let me know if that helps!
Barry
MemberHi Peter,
Sorry to hear you are having difficulties. Please bear in mind I am in a sense “working blind” because I don’t have your theme in front of me, but let’s give something a try here (and, if you have not already done so, please read The Themer’s Guide for an overview of overriding templates).
- You are already using the Default Events Template by the looks of things (and this loads your theme’s header.php template
- Let’s override the Default Events Template (default-template.php)
- Above where it calls get_header(); try adding $GLOBALS[‘tribe-events-tpl’] = true;
- Now in your header.php template edit the conditional statement you referenced in your reply:
<?php if( is_page_template('homepage.php') || is_page_template('page-blog-slider.php') || isset($GLOBALS['tribe-events-tpl']) ): ?>- See if that helps – if it does not, we probably need to take a closer peek at either the slider/progression template or else the page-title/progression template as it looks like one of those must be being pulled in, and perhaps there is a further check in one of those that is throwing things
Does that help at all, or at least give you some ideas to explore?
Barry
MemberHi!
I’m sorry to hear that. To get a sense of what might be going wrong it would be awesome if you could share your CSV data, either via Pastebin or perhaps by zipping them up into a download via Dropbox, some similar website or even just your own website.
Let me know if that’s possible – thanks!
February 20, 2014 at 9:04 am in reply to: Search events in a specified city – not in it's area #107025Barry
MemberHi Thomas,
Great question.
So if I’m understanding you correctly and the map view search distance limit setting is (for example’s sake) 40km, and a customer searches for events in Vancouver, you want the results to be limited strictly to venues in the city itself and not merely within a 40km radius of its centre-point?
If so, then I am sure that is feasible but of course isn’t something facilitated by our plugin “out of the box” and there are a number of things to consider in making such a change – particularly an examination of the Google Maps/Geolocation API, which this all relies upon, to see if it is practical to tightly restrict results in that way.
While this is sufficiently complicated that we can’t really assist in the short term we would absolutely welcome any feature requests you might post along these lines for future consideration.
Thanks (and let me know if I’m misunderstanding the issue)!
Barry
MemberHi Michelle,
That certainly doesn’t sound ideal.
Can you confirm how these orders are being created? Is it a normal flow of events where customers are purchasing through the ticket form/WooCommerce cart and checkout pages or is there any manual order creation/order editing involved here?
Thanks!
February 20, 2014 at 8:56 am in reply to: RE: RE: RE: RE: Calendar to embed outside WordPress? #107017Barry
MemberHi Noah!
You can certainly do that, yes.
Please be aware however that that could fairly be described as an atypical arrangement and the process of setting that up is not something we can help with, as it is in a sense a problem exclusive to this type of situation that exists at a level above that in which our own plugins operate.
Does that answer your question?
Barry
MemberHi, sorry to hear you are experiencing difficulties here.
Can you confirm that the order state is changing to Complete in each case? If not, please ensure that you do complete the orders and check if the emails containing the tickets are received.
Does that help with the initial issue?
Barry
MemberHi!
I did request them to use the option to show just a few events but they say “it’s only text in a table”
The end result certainly is just text in a table, but the performance hit comes when the database queries run to assemble the data that leads to that being generated.
Do you think it’s a hosting issue?
Yes and no.
More power probably would speed things up – but at the same time there are many other things you can try first (unless you have already done so) that will probably yield greater improvements at a fraction of the cost, including caching of the generated HTML, object caching and query caching (cache everything that you can, in other words!) – the ultimate goal being to actually perform fresh database queries only if absolutely necessary – such as if events have been added or removed.
There are a number of popular plugins that can handle some of this that might be worth looking into (W3 Total Cache, to name one, though we don’t have any we’d particularly recommend over others) but depending on how in-depth you go you may find hands on access to configure MySQL etc is needed – and it sounds like you have an environment where that is indeed possible.
In summary then I would encourage you to look at caching options in the first instance and then go on to investigate increasing server resources/changing how it’s configured from there, if necessary.
Does that help?
Barry
MemberOK, you will need to play with the exact value of course but this rule works for me:
.tribe-mini-calendar-wrapper .tribe-mini-calendar-event.event-0 { margin-top: -20px; }Try adding it to widget-calendar.css (see our Themer’s Guide for details of setting this up). Does that help?
Barry
MemberThis reply is private.
Barry
MemberOK, it definitely sounds like something that is specific to the environment the live site is running in. On the off-chance, can you try updating to our current releases (rather than 3.2)?
-
AuthorPosts
