Brook

Forum Replies Created

Viewing 15 posts - 3,766 through 3,780 (of 4,784 total)
  • Author
    Posts
  • Brook
    Participant

    Thank you for posting Kevin! That is a big help.

    We are indeed discussing a change to our plugin that would render this issue moot. In truth, it does not seem like a good idea for any WP plugin or theme  to change those systemwide PHP settings from their defaults. Plugins which do those sorts of global changes tend to cause conflicts. But, on a very rare occasion it can be necessary so perhaps the theme dev was forced into it.

    We of course want our plugin to be as compatible as possible. Sometimes that involves reinventing a wheel, so that when someone modifies the original wheel we do not get unexpected results. I am not sure yet what the devs and such will decide. But, the possibility of us being able to fix this does exist.

    Please let us know if that fix worked cfcpa. Cheers!

    – Brook

    in reply to: Recurring Events propagating incorrectly. #656652
    Brook
    Participant

    Thank you Michelle for your thorough testing there. Good to know Event Espresso can cause this problem.

    We have seen a random smattering of plugins/themes that have this problem lately. So far they all have one thing in common, they set the default timezone to something other than UTC, usually via PHP’s date_default_timezone_set(). It is a bit of a strange thing to do as it changes this system wide for all PHP code, including other WP Plugins like ours.

    On our end we are looking into ways to maybe just ignore this setting in a future version. So that even if a third party plugin is not necessarily playing nice, you will not experience glitches.

    You might inquire of the theme author and ask them if they are changing PHP’s timezone. If so, would it be possible to not do that, and instead implement a more local scoped timezone option (one that does not modify global settings)? That is probably a good idea anyways. Because if another plugin on the same system also modifies timezone, then the Theme will be the one that ends up experiencing glitches. That is no good either. Not modifying these settings is usually possible, and is a great way to make your code broadly compatible with other themes and plugins.

    Does that all make sense? Unless you are skilled with PHP, it probably makes sense for you to leave and modifications to the theme developer. Even if you are a PHP savant, it might make more sense to have the original dev take a look. Let me know if I can be of further help. Cheers!

    – Brook

    in reply to: Adding Custom Filter to Filter Bar #656581
    Brook
    Participant

    Howdy workforcesoftware,

    Sorry it took me a bit to respond. I was discussing this topic with the team and then I forgot to get back to you.

    We decided we really want to come up with a tutorial for accomplishing this that shows the best and easiest way now that the API has matured. But, in fairness that could take a while. We have a number of tutorials we are working up right now.

    The code that Barry shared adds a filter to the “Available Filters” in WP Admin > Events > Settings > Filterbar. However,now you have to add lots of logic to get that filter to do more than just show up. There is an easier way. The TribeEventsFilter class’s __construct() function will take care of that for you. Simply extend it, then pass it the name of your filter and the unique slug ($_GET key) you want it to use. Here is an example. Notice the last line.

    Hopefully this makes a lot more sense with the example. That filter is tested and working. I included a few comments in there to help explain it some. Let me know if i can be of further help. We do want to make this much easier in the future by having a full tutorial. Cheers!

    – Brook

    in reply to: Title in Main Events Page #656510
    Brook
    Participant

    Howdy dgrcommunications,

    I am so sorry! I missed this topic on my pass yesterday. Normally we respond to topics from Friday by Monday afternoon at the very latest. 🙁

    What you want is very doable. Have you ever created a WP Page Template before? It is quite easy to do. Copy your current Page Template to a new file. You might name it something like “custom-events-template.php”. Then grab the following code (more details in the above link if you need) and paste it on the second line of that file, right under <?php

    /*
    Template Name: My Custom Page
    */

    Now find the line which outputs the title. It probably looks something like this <?php echo the_title(); ?>. Change that to “Events” and you are good to go.

    Now go to WP Admin > Events > Settings > Display, and click the drop down for selecting a Template. If you left your new template name as “My Custom Page” it will appear here with that name, or whatever else you decide to call it. Select it, click Save, and there you go.

    Will that option work? Does that all make sense and answer your question? Let me know. I am happy to be of any help I can. Cheers!

    – Brook

    in reply to: Trash Series is missing #656460
    Brook
    Participant

    Howdy Andrew,

    Thanks for updating the topic. I am glad you feel free to bring out pain points like this, it is very helpful to us when crafting the UI.

    To offer some insight on why that option is not there, and I believe has been missing since 3.4: We are trying to strike a balance between putting frequently options in conspicuous locations, and cluttering the UI. In this case Trash Series does not seem to be used as often, and it was thus decided it did not merit a place in the rollover quick actions. You can relatively quickly trash an event series by click “Edit Series”, the clicking “Move to Trash”.  Or the first event, by clicking Edit Single > Move to Trash.

    Now that you know there is a way to trash the first event, or the entire series, in two clicks, what do you think? It is not as discoverable as I would like. If you feel it can be improved, mind sharing how?

    Let me know if you have any more questions. Thanks!

    – Brook

    in reply to: Color of filter bar #617283
    Brook
    Participant

    Howdy marcotungerichunddu,

    That is a fair question. This is one of our tougher items to style. Here is the code I’d use:

    body #tribe_events_filters_wrapper ul, body #tribe_events_filters_wrapper ul li { background: #000; color:#fff; }
    
    #tribe_events_filters_wrapper .tribe-events-filter-group label{ border:none; }
    
    /* If you want to remove the white border, keep this line */
    
    body .tribe-events-filters-horizontal .tribe-events-filter-group { border: none; }

    Ordinarily we do not provide the code for modifications like that, because it is outside our our scope of support. But, I did not want to leave you high and dry here. I hope that the above code helped. You have an awesome looking site. Let me know if you have any more questions. If not, would you mind marking the topic resolved? Cheers!

    – Brook

    in reply to: Single Event Info Page: Dead Links #617194
    Brook
    Participant

    Howdy thestudiodoor,

    That is odd. This is pretty clearly a conflict with your theme. I would not be surprised if one of your theme’s templates is less conflicty (technical term for you there) though. Have you tried the various theme options in WP Admin > Events Settings > Display? Check out the “Events template” drop down. You might try each of this, and click Save then retest. Did one of them restore your navigation to functional order?

    Let me know if that helped, or if there is something more I can do. Cheers!

    – Brook

    in reply to: change colors #617165
    Brook
    Participant

    Howdy fitbycai,

    I am glad you posted. Unfortunately, there is only so much we can assist you with when it comes to CSS modification, especially when you have lots of changes. Our scope of support dives into a bit more detail here, but when it comes to modifications like these we tend to offer a general overview of advice, and it is up to you to apply that to your specific site. I hope that makes sense. We are very glad to assist you to the extent outlined in out support agreement.

    That said, I do hate to say I can’t help nice folks. Here is the CSS you want, but please know that I can not always violate our support agreement like this 😀 :

    body .tribe-bar-views-inner,body #tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option a { background: #f28203; }
    body .tribe-events-page-title { color: #2d5c88; }
    body .main_color h3 { color: #2d5c88; }

    Add that to any of your CSS files. If you do not already have one you have been making modifications in, you might follow the WP directions for creating a child theme and putting it there. Also, just so you know we have a guide that does its best to help folks like you figure out how to create Tribe CSS selectors like I did and thus be able to modify the colors and such.

    I hope that helped! Let me know if you have any questions. Thanks!

    – Brook

    Brook
    Participant

    Thank you so much for running through all of those steps. I can’t imagine it was fun. But, it was supremely helpful.

    If I had to guess the Savior theme you are running is tapping into WP Custom Post Types WP Queries, or possibly WP Timezone Options in a way that does not mix well with our recurring events. By far the best way to fix this is to get the theme author involved. We are in luck, the theme author guarantees compatibility with The Events Calendar. I think he would be very interested in diving into this and fixing it. The first step would likely be to report it to him, you might link to this thread and also include as much detail as you can about your site and the problem that way he can recreate it. We love Justin’s work around here. Anything we can do to help we will be glad to. Even if there is something we can change about the plugin to make it easier on theme authors like him we would certainly consider it. Such discussions are often done via our email, [email protected].

    If you want to dive in yourself you sure can. But, unless you are intimately familiar with the theme there is going to be a lot of stabbing in the dark. The initial stabs generally involve finding areas of the plugin that tap into the above WP APIs, and disabling or bypassing them then retesting.

    Please let me know if you have any more questions. Cheers!

    – Brook

    in reply to: Recurring Events propagating incorrectly. #616873
    Brook
    Participant

    Howdy michelleabt,

    I apologize for my delay in getting back to you. I started researching this issue early yesterday, but was pulled away and never finished.

    I have seen this issue a few times before. Generally it boils down to a problem plugin, or once recently a theme. The real trick on testing it out, is that event times appear to be shifted when the event is created. So, to test for conflicts you can not simply disable the theme and plugins, then check to see if the dates are fixed. Rather, you must disable plugins and themes, then try recreating the recurring event. If the new event has the correct times, then you enable your theme and recreate an events, If it still works, then you reenable a plugin..

    I know this is a pain. I really wish there was a better way. But we need to figure out where the problem is before trying to figure out how to fix it.

    Could you try testing for conflicts once again, only this time try creating a new event as outlined above? Let me know if there are any questions or anything along the way. Cheers!

    – Brook

    in reply to: Location Search Not Working #616814
    Brook
    Participant

    Howdy persyst,

    I am sorry for my delay in getting back to you. I did not see your topic yesterday when I was doing my responses. 🙁

    It sounds to me like you would be interested in a our list of freelancers. We certainly make no money off the referrals or anything. But we keep this on hand for folks like you who want someone to just handle it for them and not worry about working with support. You can obtain this list by emailing [email protected] and requesting it. Many of the folks on that list specialize in small jobs just like this.

    In response to your question, yes the scripts will contain the word script. They should all begin with “<script” but after that it is anyone’s guess.

    I wish I was able to help you more. But, for JS bugs sometimes it does just make sense to have someone fix it for you. Let me know if there is anything more I can do from a support angle. Cheers!

    – Brook

    in reply to: List view in a page, and calendar view in another #603207
    Brook
    Participant

    Howdy clesgourgues,

    It sounds to me like you want to create a new WP Page. It will have its own unique slug and everything else a page has. In that page you would like to embed the calendars list view. Is that correct? If so, sadly that is not possible. We do have a feature planned that would allow this, but we are laying a lot of groundwork to make that possible in current and subsequent plugin versions.

    Could you simply link direct to the month view, and skip creating an extra page? That will essentially override the default setting and switch the user to month view. Of course they can still switch back, but basically that would be of their own volition.

    – Brook

    in reply to: Events in List View with Filter Bar #603166
    Brook
    Participant

    Howdy macsol & firestep,

    Thank you for running through those trouble shooting steps. Now that we have isolated it we can skip right to figuring out a solution.

    First thing I would do if I was you is update the theme if possible. If not, contact the theme developer. They have evidently created some customizations for the site when run in tandem with The Events Calendar. I bet the author has simply not had a chance to release an updated version of the theme that works with TEC 3.7. While you wait for it to be fixed, you might try simply renaming this folder ../wp-content/themes/advocator/tribe-events/ from “tribe-events” to “tribe-events-bak”. That should remove any customizations the theme author has done. But it might also adversely affect the sites look, in which case you would want to rename it back.

    Does that work for you and fully answer your question? Please let me know. Cheers!

    – Brook

    in reply to: Link Widget Title to Specific Calendar #603108
    Brook
    Participant

    Howdy chrisdm,

    I would love to help, but I am not 100% sure I follow the question. What do you mean by “Specific calendars”? Can you perhaps provide a link to one? Armed with the knowledge of what you want, hopefully I can help you do it. Cheers!

    – Brook

    Brook
    Participant

    Howdy tonypantello,

    A good question. We have a guide that walks you through adding and editting PHP templates, which is exactly what you will want todo. Specifically you will want to follow that guide to copy /the-events-calendar/views/single-event.php to a theme override folder, then make your edits there.

    Did that guide make sense? Are you able to accomplish that change now?

    – Brook

Viewing 15 posts - 3,766 through 3,780 (of 4,784 total)