Brook

Forum Replies Created

Viewing 15 posts - 3,301 through 3,315 (of 4,796 total)
  • Author
    Posts
  • in reply to: Faster way to assign featured image to repeating events? #906831
    Brook
    Participant

    Howdy Peppermint Soda,

    That is somethign I personally would like to see added to the CSV importer as well. It would be a cool feature!

    This would be neigh impossible to do purely through SQL. Our plugin really has little to do with feature images. The events a re simple WP Custom Post Type, and so they inherit all of WP’s post functionality including featured images. And that might be the key to solving your problem. If I was do this programatically I think the WP API will make it rather easy. First I would copy and rename /the-events-calendar/lib/io/csv/, then maybe unhook the original from running be doing remove_action on the hooks inside of ecp-events-importer.php. Renaming the original will be a a bit involed though, as you will have to rename the classes and global functions. So, if you’re not interested in that you could just modify the current plugin with knowledge of the fact that you can no longer update it without losing your changes. Although, if you fork the plugin you can virtually mitigate that risk.

    Now I would add an extra field inside of classes/TribeEventsImporter_FileImporter_Events.php and the column mapper, and possibly a few other areas. That will be the image field. In TribeEventsImporter_FileImporter_Events.php  we can now handle that field. I think this function media_handle_sideload(). Will be perfect for your needs. All you need is for your images to be accessible via URL from the server, possible by uploading them to the internet. Now in your extra field you can pass those URLs to this function. Then set those images as the features image for each post.

    Clearly this is an involved modification, and will require a fair bit of knowledge of how the WP API works and handles media uploads/featured images. But, depending on how many images you are doing the time to develop might be less than the time it takes to upload each manually. Furthermore, writing this is in my opinion a whole lot more fun than a repetitive upload task.

    Does that help get you going in the right direction? Or does it possibly sound too involved?

    – Brook

    in reply to: How do i display event title in meta box when in list view? #906816
    Brook
    Participant

    Howdy derekmaclean,

    You would need to contact the theme author for support there. By default that heading actually does appear down below, right above the date like this. It looks like your theme has special support for our plugin, and part of that is that it has moved “the_title” up inside that iamge area. I honestly don’t know how to move it back. I am not even sure what theme that is. But, the theme author could help you there right quick.

    Please let me know if you have any questions, or if I perhaps misunderstood. If not, mind marking this topic resolved? Cheers!

    – Brook

    in reply to: Roles and Capabilities for Events > Re-Order #906805
    Brook
    Participant

    Howdy joecalibre,

    Are you running and Events Calendar addons third party plugins perchance? I do not believe that is a menu item that comes with our plugin.

    – Brook

    Brook
    Participant

     

     

    Howdy!

    Good question. At the moment this is mostly possible with a few extra clicks. You can break an event from its recurrence series, or even remove it.

    • So for instance if you have 4 total occurrences as in your example, you could create an every daye recurrence for 1st through the 10th. Hit Save, then place a checkmark next to the days you don’t want it on (2nd, 4th, 6th-9th) and hit delete.
    • Alternatively if you have a much longer running event the above is obviously not a great solution, you’d have to delete too many. So, you can add extra events to the series, click “break event from series”, then move them to the desired date. Those three steps will probably make more sense once you are looking at the dit screen. It’s not super complicated, but it’s not as easy as it could be.

    On that note, we plan to add exactly what you described to our plugin. We have actually been rewriting a fair portion of our plugin to make stuff like this possible in the near future. This feature has not been released yet, and it might be a bit before it is released. But we are working towards that soon. In the mean time, hopefully one of the above options which add a few extra clicks will work.

    Does that all make sense? Please let me know if you have any questions. If not, mind marking this resolved? Cheers!

    – Brook

    in reply to: Two versions of the calendar #906770
    Brook
    Participant

    Howdy Kenley,

    Could you elaborate on what you mean by “multiple versions of the calendar”? What are you seeing logged in? Could you perhaps take screenshots of it? If you need somewhere to upload screenshots, my personal favorite is snag.gy.

    Thanks! Once I have an accurate mental picture of the problem I would be happy to help you.

    – Brook

    in reply to: Some events in Week View shown as thin bar with no text #906765
    Brook
    Participant

    Howdy csikimacko,

    Another bug! Yeah that is basically by design. When an event has an End Time that is equal to its Start Time this happens. Basically the vertical height of an event in Week View is its timespan, as the height corresponds to the hours markers on the left. So for an event with 0 minutes of elapsed time, its height is 0.

    However, while this is by design it is something we are trying to figure out a better solution for. Some things we have talked about:

    1. On hover expanding the event.
    2. Having a plus button display to expand the event
    3. Making the event tall enough to show a line of title regardless of its length, thus making the view a bit inaccurate but at least it show information.

    We will patch this in a future release. A temporary fix in the interim is to give the event an end time. But, for some events you don’t know when it will end so this can be difficult.

    I have added your topic to our bug tracker. You will be notified when we have updates regarding this ticket, like for instance when a fix is being readied for release.

    Let me know if you need anything else. If not, mind marking this resolved? Cheers!

    – Brook

    in reply to: EventCurrencyPosition dropdown in admin has messed up HTML #906751
    Brook
    Participant

    Howdy csikimacko,

    Thanks for taking the time to report that. This is indeed a problem, one that has been patched in version 3.9. While that is still undergoing QA and thus is not released yet, it will be soon! So you can look forward to this disappearing next time you update the plugin.

    Please let me know if you have questions or anything. If not, mind marking this topic resolved? Cheers!

    – Brook

    Brook
    Participant

    Howdy Joe,

    Thanks for your understanding. The web is definitely a bit of a free for all. It is both a blessing and a curse. Please let me know if there is anything else I can do.

    – Brook

    in reply to: 404 on events detail pages #906684
    Brook
    Participant

    I am sorry to hear that. 🙁 Often that sort of thing happens because there is a syntax error. For instance, sometimes folks have two opening <?php tags without a corresponding closing ?> one in between. Or, perhaps if you truly replaced the entire functions.php file with the code above, instead of just the original snippet portion of the file while leaving the rest of said file untouched, then that also would generally cause an error.

    I really wish there was an easier way! Let me know if you have any questions. I am happy you chose to make backups, that was a good call.

    – Brook

    in reply to: Adding Event Date to New Order Email #906671
    Brook
    Participant

    Howdy tydennis,

    That is the problem I was referring to in the post above. You would need to create a custom theme override for the for WooCommerce emails template (emails/plain/email-order-items.php), not a theme override for our plugin. In said template you will have access to the WC_Abstract_Order and the products therein. From there you can run get the meta info for those products, including the events recurrence date. I hope that helps! It’s probably not the easiest modification to make. Though in the future, as I said, we plan to update our tickets framework and make a new snippet which does this for you.

    I am going to archive this topic since it has gone for more than two weeks without a response from the original poster. We of course try to keep all of our topic focused on one issue and one customer, that way everyone gets our full attention. If you wish to continue this discussion tydennis you are more than welcome to, but please do so in a new topic. Cheers!

    – Brook

    in reply to: Events in Dashboard – Need sort option "By Date Added" #906636
    Brook
    Participant

    Sorry Glenn! I was trying to tell you the “proper” way to do that above. This will be generally maintained after plugin updates:

    Unfortunately to do that will require a fair bit of programming. It’s totally possible, you just have to know how to tamper with SQL queries a little bit. Checkout the file /lib/apm_filters.php. You would need to create a duplicate and renamed copy of the class ECP_APM_Filters, then unhook the current one from WP Actions its associated with. Now you could add the publish date to the list of filters, and it make it sort by the by default.

    I totally understand if that is confusing. It is not the easy modification to make unfortunately, and thus can sound confusing. That leaves us two options:

    1. Suggest this as an official feature to our plugin, via our feature suggestion board. This allows other to vote their support easily. Then we wait and hope it get’s enough support to get implemented.
    2. Hire someone to write this for you. You are certainly not the first individual with a great idea for a modification, but not the knowhow to make it. To that end we do keep a list of capable freelancers who are familiar with WP and our plugin. We will happily send you that list if you request it from pro @ this website.

    It is worth mentioning that at some point in the future we might actually remove that filter area from the admin, which is also known as APM. As that link shows it is technically a separate plugin. Were we ever to do this we would certainly strive to make it as easy as possible for user to setup that separate plugin and thus keep current functionality. I bring this up because if that happens your code might require some small updates to continue working. If you hire a dev or do it yourself, it is good for you to have as much advanced warning as possible in case that happens.

    Does that all makes my good Glenn? Would any of those options work?

    – Brook

    in reply to: Issue with Thesis 2.0 and Events Calendar Pro #906592
    Brook
    Participant

    Thanks for the update Laura. I really appreciate it, and all the details. After our new site is launched we will be coming back and writing anumber of tutorials. One I am looking forward to is making The Events Calendar compatible with Thesis. We are even talking about reaching out to Thesis and seeing if they wish to work with us in that endeavor, assuming we find stuff that is best teamed up on.

    In the interim, if anyone comes across this problem as well please let us know and we will add you to the list of people to notify once that tutorial is released and our investigation is under way. I am going to archive this topic since it has been marked resolved. So certainly feel free to open a new topic if you also are experiencing a problem like this. Thanks!

    – Brook

    in reply to: Next Month Link #906238
    Brook
    Participant

    I have some great news here, Kevin. I asked each of the support reps if they had seen a similar problem. We did end up finding a third person experiencing this problem, including yourself and my other similar thread that found an alternate solution. Rob asked if there was anything more we could do to try and reproduce the issue if we took even more time to do so. Long story short, I was eventually able to reproduce the problem and isolate it. Then my colleague Barry wrote a snippet that will fix the issue outright. If you prefer the original functionality which hides those links at times then give this snippet a whirl instead of the one you are already running.

    The bug details: The original date for an event, the one that you selected before first clicking “Publish”, will update the “date range” that you can page through in Month view. So if you have an empty calendar and save an event for next month, a link to next month will appear. However, if you were to instead save an event for today. Then come back and edit it so that the event appears next month instead. No link will appear in this case, because unfortunately edited dates did not update the date range. That snippet causes edits to events to update the date range as well as saves. This explains why the bug is relatively rare. The event you are saving not only has to be the furthest one out, but you have to have initially saved it with an incorrect date, then come back and modified.

    Thank you very much for helping us spot this Kevin. If the new snippet or the other one is providing you the functionality you wanted when opened this topic, would you mind letting us know or marking this resolved? If you have any other questions let me know. Cheers!

    – Brook

    in reply to: Adding a Custom Registration Link to Add Event Page #905632
    Brook
    Participant

    Howdy again,

    You are modifying the correct file! Are you sure you have copied it to the correct directory? the path would be something like this /wp-content/themes/[your-theme-name]/tribe-events/community/edit-event.php. Does that make sense? You want to replate the brackets and such with your theme directory’s name of course. Are you able to get it working now?

    – Brook

    in reply to: Hot to replace "Recurring Event" with text in Tooltip? #905625
    Brook
    Participant

    Ahh, well that probably makes it easier. All of those strings are powered by one function, tribe_events_recurrence_tooltip(). And it just so happens that the entire output of that function is run through this filter: ‘tribe_events_recurrence_tooltip’. So, you could basically just copy/paste the code form that function into your theme’s funcitons.php, rename it, remove the filter at the end, and then attach that filter to ‘tribe_events_recurrence_tooltip’. Now your function.php is the one outputting the text. Change the ‘Recurring Event’ text to tribe_get_recurrence_text() and you should be good!

    It’s been a pleasure helping you, Glenn. Please let me know if that does what you wanted, or if you have any other questions. Thanks!

    – Brook

Viewing 15 posts - 3,301 through 3,315 (of 4,796 total)