Forum Replies Created
-
AuthorPosts
-
May 18, 2016 at 8:45 pm in reply to: Remove Scripts & Styles from pages that do not use Events Calendar features #1116231
Brook
ParticipantHowdy bkozlowski,
Thanks for taking the time to reach out about this. Truth be told we view this as a bug, we don’t want our scripts loading on other pages anymore than you do. Site performance is a top consideration in our book.
The solution from 3 years ago does not look super relevant today. Over the years thais has been an issue that disappears and reappears. You will see this problem mentioned in a few forums posts over the years, but often times it is a different script in each one people are trying to get rid of. We are working on fundamentally reworking this system so that it is inherintly better and more resistant to this sort of problem.
Until then here was a recently tested solution to this problem. As you can see George tested Diane’s code, but he hooked using:
add_action( 'wp_enqueue_scripts', 'dequeue_tribe_events_scripts_and_styles' );I suspect Diane was initially having issues because she did not hook the right action. Does that solution work for you?
PS. I added your topic to those who would be interested in being notified when this bug is fixed. We will respond here once an updated release is out that contains a fix.
Cheers!
– Brook
Brook
ParticipantHowdy Ryan & Matt,
I really appreciate this post. It is nice to hear the background of what’s going on, and where we’ve been able to help and where we could help more. There is huge to me in hearing how people grow and operate their event businesses, it helps us shape our goals.
The first thing I wondered after reading your post is “are you a Community Tickets user?” After looking at your licenses I do not believe you are. Have you ever investigate that plugin?
1. See whose purchased tickets to our event (attendees)/ be able to download real time a list
2. Refund tickets
3. Edit not only the words, but the pricing
4. Email notifications of when someone purchases a ticket- Community Tickets contains a list of attendees, and gives a front end for people to check folks in even via QRs if preferred.
- It does not allow refunds yet. We are actually working on adding RSVP cancellations right now, and our mockups include a section for getting refunds as well for past orders. This might not be quite what you’re looking for as its intended for end users to request a refund for their own orders, not an organizer to process them.
Matt, it would be possible to build an organizer refund area already using the existing WooCommerce APIs combined with the Community Events ones. It would certainly require a few days of dev time to do right. I am pretty versed in these APIs and my guesstimate for me to build it would probably 8-12 hours of time. If it went really smooth it could happen quicker, but if it didn’t…
- This is also a feature of Community Tickets.
- This is a pretty embarrassing omission on our part. One of the things on our roadmap is a pretty full fledged overhaul of our emails to make it easier to do newsblasts, notifications, etc. Technically I think you could do this already to using WP actions. Upon completion of a Woo order you could send out a separate email to the organizer email address. It could get a bit tricky trying to find the right filter/or hook that will still give you access to the product ID, which you will need to obtaine the organizer ID and email. But I am sure one exists.
A couple of things I mentioned are Woo specific, but if you’re still using EDD like you were last yeasr I believe this will all still be possible. I am just not as versed in their APIs to say with confidence off the top of my head.
With that in mind does Community Tickets sound like it will satisfy some of your needs? Does the direction we’ve been heading with that plugin sound like something you’re keen on?
It’s nice to meet you guys!
– Brook
Brook
ParticipantThanks for getting back to me. In that case I would do the following:
- Create the override for /the-events-calendar/src/views/list/single-event.php
- Use Tribe__Tickets_Plus__Commerce__WooCommerce__Main::instance()->get_tickets_ids( $eventid ) to get all the ticket ids for the event. This will return an array, just use the first items in it since you will only have on ticket per event. Assign this to a variable like $ticketid .
- The easiest way to insert an add to cart button from here is the Woo shortcodes like [add_to_cart id=”99″]. So you might just do do_shortcode(‘[add_to_cart id=”‘.$ticketid.'”]’); Or if you prefer a different method for inserting the add to cart button use that instead.
And there you have it! You should be ready to roll. Please let me know if you have any questions. Obviously the above will require some testing and tweaking to get working right on your setup, but that should get you rolling in the right direction.
Cheers!
– Brook
Brook
ParticipantSo if I understood the Themer’s Guide correctly, any change I’ll make on “my theme” will automatically override the default Event Calendar original design and layout, without any additional action?
That is exactly correct. It is a way to make changes to the The Events Calendar templates that won’t get overriden when you update. We do our best to make those template changes last so you rarely if ever need to make changes to them when updating the plugins.
- Brook
Brook
ParticipantHowdy Todd,
That sounds like an interesting idea. We do not have any functions currently available for that as I understand it. But if you would like to see us build something like this please don’t hesitate to post it to our feature request tracker: UserVoice (feature suggestion page for The Events Calendar)
Does that answer your question?
Cheers!
– Brook
May 17, 2016 at 8:17 pm in reply to: Multiple Paypal Account Support for Event Tickets Plus #1115730Brook
ParticipantHowdy Julie,
Great question. It sounds like you will want the Community Tickets plugin as you suspected. Event Tickets Plus itself only supports sending funds to a single PayPal, but Community Tickets allows multiple ones.
Does that answer everything for you?
Cheers!
– Brook
Brook
ParticipantHowdy pack,
I would love to help you with this.
When you say “your plugin” are you saying you are the developer for it? I can not think of anything off the top of my head that would cause this. We have been doing some compatibility fixes for the newest version lately. Have you tried slightly older versions of our plugin to see if the conflict persists. Maybe version 4.0? If you narrow down a version where the problem is introduced we could look through the commits for clues.
Regardless of whether you wrote the plugin, is there anything you can tell me about what breaks? Are there error messages? Which page malfunctions and what does it do?
Cheers!
– Brook
Brook
ParticipantHowdy Nysci,
I am sorry the update is giving you trouble. I would love to help you figure out the errors.
First thing I would recommend is to update one more time. Totally optionally, but since your original post a couple of months ago we have released a few new version and bugfixes. In my experience its usually nice to be on the latest before working to make your theme compatible.
Do you remember what you grepped for? The deprecated notice is indeed a bit cryptic, basically because WordPress deprecation only supports functions and does not do well with deprecated class names. The Tribe classes referenced in your error message that have been deprecated are:
- TribeEventsPro_RecurrenceInstance
- TribeEventsPro
Could you try do a search for both of those anywhere inside the /wp-content/ folder? You should see one instance of each inside the Events Calendar Pro folder. Any result outside the Events Calendar Pro is what is causing the error. If I can help you with those errors once you find them let me know where they are and perhaps if you can upload the problem files here.
The other deprecation notices are from WordPress and do not have to do with our plugin, but you might be interested in investigating them further as they are a sign that your theme is not designed for any recent version of WordPress.
I am not totally sure those notices are related to your issue though. Typically notices do not stop a page from loading, their entire purpose is to give useful tips not to indicate that something is already broken. But sometimes the useful tip itself breaks the page… so it’s worth looking into for now.
Cheers!
– Brook
May 17, 2016 at 7:52 pm in reply to: Over 5000 of the transit entries in the options table. Site timeouts. #1115718Brook
ParticipantHowdy Wort,
I would love to help you with this. I bet I know why that table is so large. Did you have month view cache enabled at some point (setting located in WP-Admin > Events > Settings > Display ) ? It will cache any month a visitor goes to. Unfortunately certain tools, like those use to scan websites for vulnerabilities, will spider through many thousands of views on your website including month view. This can create a very large cache of wp_transients, each containing a month view. If you have 5000 in your database than it is likely something looked at about 400 years worth of months on your website, and each got cached.
The cache will clear itself after a while. You can tell it to stop making new entries by disabling month view cache. Further using a plugin like Transient Cleaner you clear all WP transients immediately if you don’t wish to wait. After this is done your site will either be running fast again or it was not this slowing you down.
Obviously this is not ideal. Normal robots obey the robots meta tag we have in place that tell them to stop spidering, but some like security scanners do not. We are looking into throttling the amount of entries that get created to prevent this sort of issue, and probably only cache months that are viewed frequently.
I am sorry to hear you server is running slow. If I can be of further help let me know. Performance is a huge passion of mine.
Cheers!
– Brook
May 17, 2016 at 7:37 pm in reply to: Attendee data wiped when (global) Ticket Fieldsets are updated #1115716Brook
ParticipantHello again,
You are very welcome. A fix should be ready within two weeks, likely within the week. I can not promise either of those dates but that is the current timeframe barring the unforeseen.
- Brook
Brook
ParticipantHowdy James,
I would love to help you with this.
It is possible to add a Buy Button to the list view. It will require some custom coding though. Do you want this button to just take you to the single events page, but be an anchor link that scrolls down to the tickets area? If so this is pretty easy. Checkout our Themer’s Guide for a walkthrough on how to modify the look of thigns including inserting your own content. Once familiar with that create an override for /the-events-calendar/src/views/list/single-event.php . As you can see that file is the template for each item in list view, so anything you insert here will appear on each event.
If you are hoping the button will add a ticket directly to the cart it gets more complicated. What happens when there are multiple tickets available for a single event, which one does it add? How many tickets does it add? These are questions you’ll have to answer before designing the button. From there you can use our API and write a little bit of PHP to make this happen. If this you chose let me know and I can give you a general overview of the code here.
Also with the calender is it possible to disable the view by month and day options? I want only the list option to be available, and would rather disable them rather than hide them with CSS.
That is absolutely possible. Checkout WP-Admin > Events > Settings > Display . Uncheck any views from “Enable event views” that you wish to hide and click Save.
Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook
Brook
ParticipantHowdy dte_bali,
That looks awesome. Were you using Event Rockets template shortcodes for that?
You could certainly do this with Events Calendar Pro. You will have more flexibiility but it won’t be quite as easy. Do you know much about creating/modifying WP Themes? If so our Themer’s Guide can get you rolling here. Create a theme override for the list widget and you can rearrange things so that it displays horizontally, includes thumbnails/cover images, and the description. This gives you full control over the HTML and CSS that applies the widget, so you can change anything about its content and look.
That said we are actually considering doing something similar to Event Rocket’s template shortcodes since the author did not have time continue maintaining that plugin. But that’s still a ways away.
Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook
Brook
ParticipantThat is so very odd. What is happening is that something is changing our map element HTML id from “tribe-events-gmap-0” to “tribe-events-gmap-randomtext”. The only way for it do this would be to override a variable within one of our own functions, which seems like a difficult thing to do. We have been puzzled by this everytime we see it, and it seems to sometimes fix itself.
Thank you for getting back. If this popsup again please let me know. Enjoy your day Todd!
- Brook
Brook
ParticipantWe have this ticketed and are currently investigating. So far we are not yet sure if it is something that should be changed in our plugin, or theirs. Either way though it is likely we will be able to get both working together. We have worked with countless developers in the past.
I am happy we narrowed it down. I am adding you thread to our tracker of folks affected by this (so far 2) and we will notify you from here on any status updates.
Please let me know if you have any more questions. Thanks Amin.
- Brook
Brook
ParticipantOkay…so if I’m understanding you correctly, there isn’t currently a way to limit the number of posts that appear below the mini calendar. That’s too bad. It’s either “all on” or “all off.” Not sure what I’ll do but hopefully ya’ll will get that functionality working as I think its an important feature. The whole point of a mini calendar is to put it in a small space and not take up too much room. Many events on one day causes all kinds of problems.
That’s not quite what I am trying to convey. For the widget there is the Count option box. Set this to zero to hide the list entirely, set it to any other number to adjust the amount of events viewable under the Minical.
For the shortcode there is the count argument [tribe_mini_calendar count=”1″] . It works great as well except when set to zero. Due to a constraint from the WP API when set to zero it will display five items. We’d like to workaround this in a future version of the plugin.
As for the ugly date box style, I CSSed the hell out of it. I would like to suggest you add a second list style in the pro version. It doesn’t need a toggle. Just give us a “simple list style” and a “regular list style.” That way, we can choose which one we want via the shortcode.
Excellent! I am happy to hear you were able to tweak it.
What you just described is what I meant by a toggle. It is the sort of thing that adds complexity to the theme files, files we try to keep as simple as possible so they are easy to modify for folks who don’t like the default.
I’m leaving this be for now. I like your plugin. But it takes a LOT of tweaking, overriding and finagling to get it to work the way I need it to. I’ve spent a lot of time and need to just say “enough” for now. Since this isn’t an easy fix I’m just going to mark this one “not resolved” but it on the back burner for now. You can close this thread.
For sure. I appreciate your giving me permission to close. All of our topics autoclose after 2 weeks, but I’ll leave this open until then just in case you decide to revisit it. Either way it’s no sweat on our end just want to make things as convenient as possible.
Cheers!
– Brook
-
AuthorPosts
