Brook

Forum Replies Created

Viewing 15 posts - 721 through 735 (of 4,796 total)
  • Author
    Posts
  • in reply to: Add event date/time and venue to cart order #1145436
    Brook
    Participant

    Howdy Alex,

    I would love to help you with this.

    I do not actually see a snippet in the link you’ve shared, so I am not sure what you’re basing your code on. However it sounds like you might be interested in this prebuilt snippet:

    https://gist.github.com/ggwicz/2a87b71e08c584341ef2809f2ea9cb27

    It adds an area above the order page that looks like this. That area includes the date, time and venue in a nicely formatted way. Did that do the trick?

    Cheers!

    – Brook

    in reply to: very urgent issue with recurrence instances #1145405
    Brook
    Participant

    Thanks for getting back. Appreciate the extra effort

    You are very welcome. I’ll pass that on to Cliff as well.

    Early on in my career I had a server with ~30 sites get hacked, and I would not wish that type of stress upon anyone. Whatever I can do to help I am here for.

    I guess I’m falling foul of time zones? What time zone are you in?

    Personally I am in GMT -7. But we are not all in the same spot.

    Also, do you provide a premium service at all?

    We do not. We have repeatedly investigated this notion and each time found it to be not quite viable. If you have any feedback you wish me to pass on here, or if you want to talk to the gentleman who heads up support, just let me know.

    I tried the SELECT with the event that has 14,071 recurrences, and there were 408,037 results. Is that because of the meta and taxonomy joins (which are presumably to clean those bits up with the posts)? Assume so, just thought I’d check.

    Exactly. That query is essentially a combination of the post meta table, the post table, and the taxonomy one. It is a simple way of selecting/deleting all standard WordPress data for a given set of posts.

    It is much much faster at deleting posts than the WP API. However it is typically a good idea to use the WP API, just in case any third party plugin has attached nonstandard data or routines to the WP delete functions. Our cleanup plugins uses the API, and thus runs a lot slower. But running this query is usually completely safe, and so when you’re in a pinch like this it is a worthy option. If something does not work right after the query, well that’s what your backup is for. I have run this SQL query myself many times and yet to experience odd behavior, hence why I am recommending this as the preferable option for you.

    Please let me know if you have anymore questions in the mean time. I will be logging off soon but I will do my best to check in once more before tomorrow.

    Cheers!

    – Brook

    in reply to: very urgent issue with recurrence instances #1145318
    Brook
    Participant

    Howdy Steve,

    I would love to help you with this. I have read through your old post and reached out to Cliff to let him know there is a new response here.

    I’ve tried the plugin provided to fix this, which runs a WP cron job. It didn’t seem to be doing anything so I was pointed to another plugin which has a ‘rebuild recurrence’ link for each event. I’ve tried this but I just get a white screen each time I click this for the 2 problem events in question. When I reload the page and check the database, nothing has happened.

    Based on your description in the other topic it sounds like both of those plugins were actually working, perhaps working too hard. The white screen is an indication that they are cleaning things in the background, but the speed at which they are cleaning them is too fast for your server’s configuration.

    You mentioned with the original plugin, which you deleted, that it would intermittently show 500s. Again this is a strong indication that the plugin was working, but again probably too fast. Ironically even at it’s current speed I would not be surprised if it took a couple of days for it to finish cleaning everything in your database.

    I’m on the verge of simply deleting all recurrences via SQL, or maybe just deleting the events. However, I’m not sure if such a blunt approach might cause other issues, and I’m keen to not make a problem worse.

    If you ask me this is a great idea! There is actually pretty simple SQL query to delete all recurrences from an event. It sounds like if you run it twice, once for each event series, it will cleanup nearly 30000+ entries. That’s not shabby at all. Best of all since you will be running it as a SQL query rather than through WordPress, if it errors out it will give you an error and let you know why.

    Here is the query for rapidly delete all recurrences of a parent event:

    https://gist.github.com/elimn/e5de5d2037678de0b926c307022571c5

    If you walk through the steps outlined in the comments there, backing up your database, getting the parent ID, and executing the query, does that cut down significantly on the # of events?

    I’ve found through experience that if you add to threads here to ask why there’s been no response, your thread simply goes to the bottom of the queue again and you have to wait longer. So I can’t think of anything else to do apart from start a new thread.

    Yeah that is very true. Like most WordPress support forums our community is modeled after the WordPress.org forum. Thus our forum software, much like that on .org, will assume that a bumped topic is someone responding that their issue has been resolved. If you need to update an issue the Edit button should be used. This is great for consistency and preventing the need to reread the rules of each forum, but sometimes it’s not what a given person wants.

    I’m very disappointed with the poor support response on this, and would appreciate it if you could address this properly.

    I totally get where you are coming from. We are almost all freelancers on the side here at Modern Tribe, and have had sites go down our selves. I’m sorry this is being such a pain. The main reason I wanted to address this is to set the expectation at the outset that we can frequently only respond once every 24 hours. Cliff has on average been responding in a couple of hours, unless the post happened at night in which case he comes back early the next the morning. That is going way above and beyond the support agreement you signed, and honestly it is going to nigh impossible for us to top or even maintain his current response times. We do our best to give clients like you who are having serious issues extra fast response time, but Cliff has already been doing exceptional in this area already. He is exceeding our 24 hour typical time often by 10x. I am truly sorry that this is not fast enough for you and I definitely understand why it’s not, but it is simply not possible for us to do better. If you keep opening up duplicate topics it is very possible response times will actually decrease as we will have to coordinate behind the scenes between each person who is helping you, in order to determine where each of us is heading with our line of thinking. Again I am sorry this is not what you want, but it is the reality.

    Please let me know how the above goes. Does that SQL query help delete things far more rapidly?

    • Brook
    in reply to: The events calendor seems to show what ever it wants. #1145310
    Brook
    Participant

    Howdy Charles,

    I would love to help you with this. First I just need to make sure we are on the same page.

    You mention a category widget. That does not sound like something that is part of our plugin. Do you know what the category widget is and where it comes from, perhaps it’s part of your theme or a third party plugin?

    Also, would you mind 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. (Or by going to [yoursite]/wp-admin/edit.php?post_type=tribe_events&page=tribe-events-calendar&tab=help) That will give me a lot of extra information to help determine what might be happening.

    Cheers!

    – Brook

    Brook
    Participant

    Howdy renaissancecreative,

    I would love to help you find a solution for this.

    So your current code should be working. It will retrieve ongoing events, namely events which have started but not yet ended. And events that have not started yet. It will show 25 of those sorted by start date. Is this not the behavior you’re expecting? Are you trying to exclude ongoing events?

    Cheers!

    – Brook

    in reply to: checkout page with 0 product on the event page #1145302
    Brook
    Participant

    Howdy Alexander,

    I would love to help you with this.

    It is possible to prevent a user from checking out without anything in their cart, if you’re so inclined. All you need to do is add a snippet to your site.

    Paste the following snippet at the top of your theme’s functions.php file. Replace the opening “<?php” with this snippet, as this snippet includes that opening tag.

    https://gist.github.com/elimn/30c533fad7ee5ce4c3cb8a0f727c7190

    Did that do what you wanted?

    Cheers!

    – Brook

    Brook
    Participant

    This reply is private.

    Brook
    Participant

    Howdy Brian,

    I would love to help you with this.

    You must have been searching through the quagmire that is our Query class if you found ‘hide_upcoming’. It’s strange that it is not hiding those events for you. It is for me. If I use your exact code it is working as expected. What version of the plugins are you on? From time to time we have had bugs where hide_upcoming does not work anywhere. If you’re on a version with that bug…

    edit: If you are on the latest version, what happens if you set ‘eventDisplay’ => ‘list’ ?

    • Brook
    in reply to: Geolocation not working #1145079
    Brook
    Participant

    Circling back around to our earlier discussion:

    The venue data still won’t be updated, I tried everything I could. I even set up a clean WordPress installation on the same server, same result.

    What is happening is that the Maps API key is not used for venue data “geocoding”. Because it is not used you share the same limit as everyone else on your server, which is 20k lookups per day. Someone else on your server is likely doing thousands of lookups every day and ruining things for the rest of you.

    On our end we would like to adjust our plugin so the API key is used for “geocoding”, then you can avoid this error. But until that new version is released you can keep trying to rebuild the venue data, and eventually you might get your request in before the server goes over the daily limit. Or, you can manually specify the latitude and longitude for each event that has not been geocoded.

    – Brook

    in reply to: Geolocation not working #1144990
    Brook
    Participant

    Excellent news! It was truly my pleasure to help. Thank you for getting back and letting me know how it was fixed.

    Cheers!

    – Brook

    in reply to: Default Country on Submit an Event form #1144987
    Brook
    Participant

    Oh shucks, I thought you were just trying to select which country was the default, not remove the other options. If you’re going to remove every option but one from the drop down, why I don’t just walk you through hiding the drop down?

    We’re in the right file for that. If you scroll down in that theme override you just created, to line ~110, you will see this:

    <?php if ( ! tribe_community_events_single_geo_mode() ): ?>
       <tr class="venue linked-post">
          <td>
             <label for="EventCountry">
                <?php esc_html_e( 'Country', 'tribe-events-community' ); ?>:
             </label>
          </td>
          <td>
             <select class="chosen" name="venue[Country]" id="EventCountry">
                <?php
                foreach ( Tribe__View_Helpers::constructCountries() as $abbr => $fullname ) {
                   echo '<option value="'. esc_attr( $fullname ) .'" ';
    
                   selected( $venue_country == $fullname );
                   echo '>' . esc_html( $fullname ) . '</option>';
                } ?>
             </select>
          </td>
       </tr><!-- .venue -->
    <?php endif; ?>

    You can either delete this, which will cause things to assume that your local country is the default. Or you could replace it with a hidden input that specified the states. Something like:

    <input type="hidden" name="venue[Country]" id="EventCountry" value="United States" />

    Ought to do the same trick. Then all future venues will explicitly state they are in the US, which might be preferred if you want all of your addresses to end with the Country Name.

    Is that what you were looking for?

    Cheers!

    – Brook

    in reply to: The Calendar Days Names Don't Abbreviate #1144975
    Brook
    Participant

    Howdy again!

    Sorry for the delay I was out of the office part of today.

    Thanks for trying that update. Your site still has that pesky JavaScript error from before the update:

    Uncaught TypeError: j.bootstrapDatepicker is not a function

    This error appears to be the cause of your abbreviations not showing, as well as some other minor glitches. Unfortunately it likely stems from a conflict with your theme or another plugin. Our first step should be finding what is conflicting. Once we have narrowed it down to one thing it is much easier to find a fix. This guide walks you through how to test for a conflict, and then identify what is conflicting. Would you mind walking through that and letting me know where the conflict is?

    Cheers!

    – Brook

    Brook
    Participant

    Howdy James,

    I would love to help you with this. It’s not the easiest thing, the Filter Bar and Tribe bar behave differently so it will not be a simple matter of moving code. But if you’re pretty versed in PHP it seems very doable.

    First of all you want to remove/add HTML to the top “Tribe bar”. This is pretty easy, and we have a full tutorial for this here including some examples: Customizing the Tribe Bar If I were you I would just add an HTML distance form with the same name/ID as the tribe bar one. And there you have if, you’ve removed one guy from the Tribe Bar and added your own.

    Now you will need to create a new Filter for the Filter Bar. You will do this by extending Tribe__Events__Filterbar__Filter just like all of our filters do. You can see plenty of examples on how to extend this in the-events-calendar-filterbar\src\Tribe\Filters\ The trickiest part will be needing to override the displayFilter() method with your own version, since this will not be a typical filter field. Now you just need to call/construct this new class you’ve created, and it will be added to the available filters in WP-Admin > Events > Settings > Filters. Select it, hit save, and it will appear on the front end.

    Does that all make sense? Will that work for you? Please let me know.

    Cheers!

    – Brook

    in reply to: Link to event by clicking on ticket price? #1144304
    Brook
    Participant

    Howdy Kieran,

    I am sorry to hear that, but I totally understand it. We are in the same boat where writing custom stylesheets for sites is outside our scope of support. The reason being is that can involve so much time that it turns a viable business into an unprofitable one, even a bankrupt one. 🙁

    If you need some in-depth help with CSS or bigger customizations, you might want to get a developer you can rely on for such things. If you don’t already have one you might find this list helpful: Find a customizer

    Does that all make sense? Will that work for you? Please let me know.

    Cheers!

    – Brook

    in reply to: The Calendar Days Names Don't Abbreviate #1144274
    Brook
    Participant

    Thank you for sharing that Lucy! I see that Events Calendar Pro is still on version 4.2. That version actually had a bug just like this. Could you try updating it to 4.2.3?

    If it is currently showing that you are on the latest version of Events Calendar Pro , you might need to input the license key. Step 2 of our New User tutorial walks you through this if you’re unfamiliar with the process.

    Did that do the trick?

    Cheers!

    – Brook

Viewing 15 posts - 721 through 735 (of 4,796 total)