Forum Replies Created
-
AuthorPosts
-
Brook
ParticipantHowdy again Lars,
I am happt yo hear you have got an override going. That is not quite the best file but the idealone is near by. I would override: /the-events-calendar/src/views/modules/meta/venue.php and then swap the following line:
<dd class="tribe-venue"> <?php echo tribe_get_venue() ?> </dd>With this:
<dd class="tribe-venue"> <?php echo get_the_title( tribe_get_venue_id() ) ?> </dd>And that should do it! Did that do what you wanted?
Cheers!
– Brook
Brook
ParticipantPlease do let me know if you zero in on this. I have not reproduced that yet in my testing.
Thanks for getting back Lars!
– Brook
Brook
ParticipantHowdy Aafhhl,
Sorry if I was unclear before. That is certainly true, that is what I was trying to explain to you yesterday:
You will note that at times the variable $postmeta_table is an alias, and neither myself nor our senior dev was able to identify anytime this function would run when that variable is not an alias.And I agree that this table should generally be aliased. But, in our tests it is always an alias.
Now we need to figure out why it is misbehaving. In your query it should not be “home_postmeta” it should be the alias “tribe_event_postmeta” set by the dynamic variable $postmeta_table. Clearly something on your site is causing that variable to be set wrong. We have no idea what is causing that to be wrong. Until we do know we can not fix it.
I am a developer of 9 years myself and that is what I discovered. But just in case I was wrong I still asked a senior dev to have a looksie at this thread and my discovery and he agreed. Until we know the cause of the problem, the circumstances required to reproduce it, there is not much more we can do here.
Cheers!
– Brook
Brook
ParticipantAbsolutely! That specific portion of the SQL likely stems from: /the-events-calendar/src/Tribe/Query.php . Around line 429 you will see the method Tribe__Events__Query::posts_fields() . But of course as with any portion of a WP_Query there are a million different actions that other plugins will tap into and alter things, so it could even be coming from a different plugin altogether which is overriding our own. You will note that at times the variable $postmeta_table is an alias, and neither myself nor our senior dev was able to identify anytime this function would run when that variable is not an alias.
And I agree that this table should generally be aliased. But, in our tests it is always an alias. We are not in the habit of implement changes without fully understanding a problem, especially because changes can often introduce new issues for other configurations. In this case we need to know specifically what plugin is causing this code to run in an unintended fashion, then we can start searching for why. Once we know both of those things we can investigate fixing it. Until then there is not much we can do. Hence why I was interested in having you do a conflict test. If you do not wish to do one that is totally fine, I don’t mean to force your hand here. But, it is unlikely we will ever be able to release updated code for that function without first examining the exact circumstance that cause it to malfunction.
Thanks for your understanding Aafhhl. As always let me know if you have any questions. Cheers!
– Brook
May 30, 2016 at 11:36 am in reply to: Wrong date ticket being sent to basket on recurring event #1120434Brook
ParticipantThanks for your understanding Matt! I totally get wanting to avoid repetitive tasks like that. We are pretty excited to release this feature once its ready, as it will help us all avoid a lot of repetitive work. 🙂
Cheers!
– Brook
Brook
ParticipantHello again,
Those looks like some solid modifications, you even corrected my labeling errors! I do not see anything in your code that should be causing it to break, but in the interest of being forthright I have not tested your code or mine extensively.
Do you have some example of events you can’t find using those filters that should show up? Is it possible to get a link to your site, perhaps in a private reply? I can not guarantee a lot of help here because we can only do so much with modifications, but I would definitely like to look into this a bit more. 🙂
- Brook
Brook
ParticipantHowdy vividimage,
Thank you for bringing this to our attention. I do not have Outlook and so far no one that is currently online does either. However we would very much like to test this in Outlook and see if we can reproduce and maybe find a fix or get a bug ticket started.
I am just responding here to let you know this is now on our radar, and as soon as someone with Outlook comes online they can pursue this with you further.
It’s nice seeing you around again! I just wish it wasn’t because of a possible bug. 🙂
- Brook
Brook
ParticipantHowdy Aleix,
Geoff is not in at the moment but I would love to help you with this.
I just checked on the status. A developer has been hard at work on this. It is taking a bit longer thhan our initial internal estimated, and is thus slated for release with version 4.3 of our plugin. Although it is quite possible we will see it a bit sooner than that. I am sad to say 4.3 is a few months away, but if this fix is ready before then we will certainly release it sooner than that.
Does that answer your question? Wish I had a more delightful bit of news.
Cheers!
– Brook
Brook
ParticipantHowdy Nokuko,
I would love to help you with this.
Your definitely right, it’s not a great idea to customize that file. However you can basically copy/paste its contents into a separate file like your theme’s functions.php. Then rename the class to add your own custom version of that filter. Or you could just copy this:
https://gist.github.com/elimn/bfcda80db4711aafbb36d708e25fb4b6
That does what you’re looking for from the sound of it.
Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook
Brook
ParticipantHowdy Again lars,
I would love to help you here. Unfortunately this is one area where you have only two options:
- Use CSS
- Dive in deep to WP Theming. Again, our Themer’s Guide is the spot to be for learning this.
It really is up to you, but based on our past interactions I am guessing you might wish to avoid option 2 as it involves a decent amount of coding.
I can elaborate a bit on our themers guide for your specific needs, or the CSS option if you prefer. Just let me know if you would like some assistance with either of these.
Cheers!
– Brook
Brook
ParticipantI can understand that. It might be necessary to do a conflict test but I’ll definitely take a look first and see if anything stands out. Can you once again try adding attendee info to a specific ticket on your site, and then link me to the event that has the info in place and let me know the name of the ticket which requests attendee info? From there I can investigate a bit further.
Would you mind also grabbing your system information and pasting it here? Make sure to use the ‘Set as private reply’ checkbox to protect your private information from the public. You can find the system info by going to WP Admin > Events > Settings, clicking on the “Help” tab, and scrolling down to the ‘System Information’ box.
Cheers!
– Brook
May 26, 2016 at 3:32 pm in reply to: Wrong date ticket being sent to basket on recurring event #1119451Brook
ParticipantHowdy Matt,
I would love to help you with this.
That is basically how recurring events are designed to work. 🙁 That’s why we have that little popup when you add a ticket to a recurring event that says there will only be one ticket available for the entire series of events. This is ideal for course style events, where one ticket gets you access to all recurrences, but obviously insufficient for other usages.
We are certainly not oblivious to the limitation and are working to add in the ability for each recurrence to have a separate ticket. But until then we are trying to be very up front in our advertising and popups letting people know about the limitation.
I really wish I had better news here. The one bit of good news I have is that this is a feature we have been working to build for a few months and will likely be ready by version 4.3 if not before.
Does that all make sense and answer your question? Please let me know.
Cheers!
– Brook
Brook
ParticipantHowdy Reine,
The Tribe-Common issue is a bug in our plugin right now (that was recently discovered). If you try going to the Event Settings page from the WP Admin toolbar menu, the one that shows on the front end, you will get this error. Try visiting WP Admin first, and in the left hand column clicking through to the settings. That will bypass the common error.
Have you tried inserting this CSS to make the page full width yet?
.full-container #primary { float: none; width: 100%; }When I visit your site I am not seeing that CSS loaded, so it will still only be 3/4s width.
Brook, again my deepest appreciation for your patience and help. If there’s anyone to whom I should pass the word just give an an email and I will laud your service.
I appreciate this very much but that is not at all necessary, just doing my job. 🙂
I am out of the office tomorrow, but one of my coworkers will assist you further if needed.
Cheers!
– Brook
Brook
ParticipantHowdy aafhhl,
I appreciate your digging into this. I don’t think that will do quite what you expect, you are swapping the start date for the end date in your replacement code. Further we have not seen this happen on any of our test systems thus far. It would seem likely that something unique about your setup is causing the query to go awry, and usually the thing most unique to a given site is its combination of plugins and theme. That’s why I was asking you to do a conflict test.
I too researched this on my end, examined the query and toyed with it until I got it to work. But it is still quite unclear as to why it is getting malformed in the first place. Hence why I think our logical next step is the conflict test.
Cheers!
– Brook
Brook
ParticipantHowdy Lars,
If you’re a programmer I’m sure your explanation makes perfect sense but if you’re a total beginner some more detailed instructions would be helpful.
No worries there. Actually a few folks have requested this in the past so I just wrote a snippet/small plugin that does this for you. It adds this to WP-Admin > Events > Settings > Display :
Just download and install the following plugin: tribe-snippet-hide-html.zip
One thing that will solve this immediately and add a lot more option is when you have a shortcode to embed the entire calendar in to a page.
Any progress on that front?
Absolutely, there has been lots of progress. But this is a big feature and it’s not ready yet, nor do I expect it to be ready until at least version 4.3 of our plugins. We resumed development on this a couple of months but have encountered a few issues with our current framework that we are currently resolving. Thus at least part of this has been bumped from 4.2, and likely all of it will be.
Did that plugin help?
Cheers!
– Brook
-
AuthorPosts

