Forum Replies Created
-
AuthorPosts
-
Brook
ParticipantHowdy Jiri,
That is possible as a small customization. We do not show that by default since so many people prefer to hide it. But, we have the function tribe_events_count_available_tickets(). You can simply echo tribe_events_count_available_tickets(); anywhere on the front end via the file “single-events.php”. This guide walks you through how to modify tribe events themes like single-events.php. And you’re done!
Would that work for you? Please let me know. Thanks!
– Brook
November 18, 2014 at 7:08 am in reply to: Notify event's author by email after his event is approved by admininstrator #889085Brook
ParticipantHowdy louisecote,
That’s a really neat idea. I think it will be easy enough to do. You could tap into the save_post action of WordPress. This fires every time a post is saved or updated. So we will need to check if the post is from Community Events. You can do this by checking for the meta value “_EventOrigin”, if it equals “community-events” then you have yourself what you’re looking for. From there you could check and see if the event is now live and if your custom meta key, perhaps something like “_EventSubmitterNotified” is true. If not, send an email.
WordPress has some built-in mail functionality you could use to send an email. Of course it will be up to you to style it and such how you please.
Does that all make sense? Sound like what you are looking for? Please let me know if you have questions!
– Brook
November 17, 2014 at 10:37 pm in reply to: Clicking the next month on a category page resets the category #888763Brook
ParticipantAnother update: This is logged as a bug that we are going to try and fix. It is still possible that it will not require any changes update to our plugin. There are still a few unknowns. I will report back as soon as I have more information. Thanks again Bryce for helping us figure this out, couldn’t have made it this far without your database dump. I wish I already had a solution, but such is the nature of bugs. Sometimes they’re tricky.
– Brook
November 17, 2014 at 10:36 pm in reply to: Event Category Pages Showing All Events (not just specified category) #888761Brook
ParticipantAnother update: This is logged as a bug that we are going to try and fix. It is still possible that it will not require any changes update to our plugin. There are still a few unknowns. But either way I want to find a solution for you all. I will report back as soon as I have more information.
– Brook
Brook
ParticipantI apologize for my delay. Typically we don’t due integrations of this level, but as I said this was a special case. Unfortunately due to it involving more time it has taken me longer to get back.
I was able to get this working completely. I basically did all of the step you would find in a guide like this. In the end there was nothing special. I did not create a child theme in my testing. But I was able to get it working. On the /events/ page all of the dates were correct, in list and Month views.
The template I used on the events pages was the default “Events template” which I selected from WP admin > Events > Settings > Display. It did appear to be based on the home page template, very similar.
Since I can not reproduce the problem, it is likely something more unique to your setup that is causing this. I have seen more than a few plugins do this stuff. Have you guys had a chance to do a conflict test wherein you only disable your plugins, and keep the theme active? What about if you switch from your child to the parent theme? Is your theme definitely unmodified, no additions even in functions.php?
Thanks again for your patience! I hope we can figure out the difference between my experience and yours.
– Brook
November 17, 2014 at 10:26 pm in reply to: Using Advanced Custom Fields with Events Calendar Pro #888749Brook
ParticipantAwesome, glad to hear you got it resolved. Thanks for the update fjorge.
– Brook
Brook
ParticipantI just wanted to update you and let you know that we reached out to the developer last week to see if there was anything we could to work together and make the plugins buddies. We have yet to hear back, but hopefully we will soon. Thanks again for reporting this. I am going to close out this topic since it has run the course at this point. Cheers!
– Brook
November 17, 2014 at 10:22 pm in reply to: Google Map not displaying (3.8.1 – recurring problem) #888741Brook
ParticipantHowdy Todd!
Looking at your site my browser is seeing the following JS error:
You have included the Google Maps API multiple times on this page. This may cause unexpected errors.
This is probably a good place to start. I bet you your theme is including Google Maps, and so is the Calendar. That’s no good! probably stepping over each other in other areas too, but to start you might try dequeueing the following script: tribe_events_google_maps_api . If that does not work, or you need more help, please open up a new topic if you don’t mind. We strive to keep every topic focused on one users issue, the original poster. That way everyone gets our full attention. If you do end up needing to open a new topic you too might be asked to do a conflict test, which is where I would head next if dequeueing does not work. Thanks for posting sir!
Since it has been a couple weeks Ryan I am going to archive this topic. If you are still experiencing your issue though, please don’t hesitate to contact us. Feel free to open a new topic. Cheers!
– Brook
November 17, 2014 at 10:14 pm in reply to: Have minimum/default amount automatically set to 1 instead of 0 #888738Brook
ParticipantJust wanted to let you know this has not fallen off my radar. At the moment it looks like we are going to go ahead with preventing empty submissions by disabling the add to cart button. The details are still in the works. Assuming this goes forward as planned you’ll be notified once it is ready for release. Thanks for the idea Christina!
– Brook
November 17, 2014 at 10:02 pm in reply to: Any bundle pricing for Woo Tickets and Event Calendar Pro? #888723Brook
ParticipantThanks for marking the answer Arnold! I am going to archive this topic.
– Brook
November 17, 2014 at 10:02 pm in reply to: Any bundle pricing for Woo Tickets and Event Calendar Pro? #888721Brook
ParticipantThanks for marking the answer Arnold! I am going to archive this topic.
– Brook
November 13, 2014 at 10:41 am in reply to: Recurring Events: Can they show up last in the monthly view list #882667Brook
ParticipantHowdy gogreaterreading,
Thanks for clarifying. I still need a bit more info to go on. This is probably best explained with some examples to eliminate confusion. Let us say you have the following upcoming events in list view:
Page 1 of Upcoming Events
- Nov 13 – Recurring
- Nov 14
- Dec 1 – Recurring
- Dec 2
Page 2 of Upcoming Events
- Dec 3 – Recurring
- Dec 9
- Dec 13 – Recurring
- Dec 25
If you want to redo this so that the recurring events appear last for the whole loop that could happen via WP Query sort Order. This would be the result:
Page 1 of Upcoming Events
- Nov 14
- Dec 2
- Dec 9
- Dec 25
Page 2 of Upcoming Events
- Nov 13 – Recurring
- Dec 1 – Recurring
- Dec 3 – Recurring
- Dec 13 – Recurring
If you instead want to sort it so recurring events appear after per page, you’d probably need to write a sorting algorithm. This can certainly be done, you’d need to tap into tribe_get_events() via filter and sort the returned results based TribeEvents::current_view.
Page 1 of Upcoming Events
- Nov 14
- Dec 2
- Nov 13 – Recurring
- Dec 1 – Recurring
Page 2 of Upcoming Events
- Dec 9
- Dec 25
- Dec 3 – Recurring
- Dec 13 – Recurring
But that is just one view. You will need to ponder every view before jumping in though. Week View for instance, the vertical position of an item indicates it’s time. Moving recurring events anywhere would mislead the user on what time they happen. In Day View you would face fewer complications and that could happen regardless via adjust the WP Query sort Order.
Hopefully that helps! If you have any questions about our API, or if you have a programmer writing the above queries for you, please point them our way. Does that answer your question?
– Brook
November 13, 2014 at 10:18 am in reply to: Using Advanced Custom Fields with Events Calendar Pro #882622Brook
ParticipantHowdy fjorge,
I apologize for the slow response. I typed on up yesterday but must have closed the window too quickly after clicking submit.
I bet this is related to the JavaScript error you can see on that page. It can be hard to debug minified JS files. You might try setting the wp-config.php constant SCRIPT_DEBUG to true. That will deminify the scripts in use and allow us to debug further. Although, sometimes the best way to debug even with readable files is to just disable a script or more at a time until it is working, then we can have a closer look at the conflict. You could try renaming the the-events-calendar/resources/ folder to resources-bak. Do the same thing with PRO. This will break more than a few things on your site, so be prepared to name it back to the original.
If ACF starts working then it’s a JS error that we are looking for. If it does not start working, then I bet ACF is in the wrong place. If you put it inside of the events loop, it will have all the wrong data and will not be able to display. It would need to be moved outside of the loop/events template. It might work better inside of a page template. Don’t worry about this until we have checked if it is a JS error though.
Please let me know if that helps isolate the problem. Thanks!
– Brook
Brook
ParticipantExcellent. Glad you were able to do that!
– Brook
November 12, 2014 at 12:49 pm in reply to: Recurring Events: Can they show up last in the monthly view list #880380Brook
ParticipantHowdy gogreaterreading,
Interesting notion. Which view are you trying to do that on? Month, List, Map? Say you have 10 pages of upcoming events, would you want the recurring event to show up on page 9 or 10 even if it starts tomorrow? Or would you want the recurring events for a given page to appear at the bottom of each page, maybe with a heading above?
As much detail as you can provide would be awesome. From the sound of it this will be a very involved customization. Fair warning, you will require a lot of PHP and possibly SQL knowhow to wirte all of the custom code you would need.
Please let me know! Then I can give you a more complete answer.
– Brook
-
AuthorPosts
