Forum Replies Created
-
AuthorPosts
-
Brook
ParticipantHowdy Christopher!
We are super excited about it as well. I do appreciate your patience with us this week, half the team celebrated our launch by jetting off to where it is sunny and warm. Hampered our response time a bit.
While I am not the developer of this addon it looks like the TEC filters have been designed from the ground up with this sort of extensibility in mind. So basically each filter is an instance of the new TribeEventsFilter class. To add a new TEC filter you would want to extend that class. Since it sounds like what you want to do will be similar to cost in a fair amount of ways, check out \the-events-calendar-filterbar\lib\filters\TribeEventsFilter_Cost.php. You might even copy that as your starting point. Keep in mind there will be some differences. For instance, assuming your data is stored as text/string using our Additional Fields then some casting may be in order for your queries.
Once you have created your TEC filter you would need to attach it. How I would do it is by adding my TEC filter to the tribe_events_all_filters_array. That is WP filter that you can hook into with add_filter. Simply add your TEC filter to the end of that array and return.
We do not have our documentation up yet. Once we do it is possible that the developers themselves will have outlined even better ways of doing this. But, the above looks easy enough if you do not mind jumping into some PHP.
Please let me know if you have questions. Thanks!
– Brook
January 28, 2014 at 7:39 pm in reply to: VIEW AS MONTH BOX and EVENTS IN DATE BOX over lapping my menu #98059Brook
ParticipantOh no problem! I should have elaborated. That code is CSS. You can insert it into your theme’s CSS file, located here. Or, since you do not appear to have created a child theme it might be an even better idea to go to WP Admin > Events > Settings, click on the Display tab, scroll down to the ‘Add HTML before event content’ box, make sure you have clicked on the ‘Text’ tab in the box not the ‘Visual’ one, then paste the following into that box.
<style type="text/css">
body .tribe-bar-disabled {
z-index: 1;
}
</style>Does that make sense? Did it resolve your issue?
– Brook
Brook
ParticipantYou are welcome. Our uservoice page is definitely the best place for feature suggestions. Even still we enjoy feedback on the forums as well, it’s just harder to keep track of and gauge how many desire it. So please either vote on the suggestion linked above, or if you have a different take on how best to accomplish this please post a new idea to that site.
Just so you know we are very committed to improving recurring events, and there are ongoing meetings and discussions specifically about how we can do that in upcoming releases.
Thanks for the feedback!
– BrookBrook
ParticipantHowdy lvnilesh,
Unfortunately all events default to the current WP time zone, and this can not be changed on a per event basis. We do have a few people requesting that feature though, please voice your support here if that is something you would like to see in a future version of our plugin.
When you import an event from Eventbrite you are taken to the draft event page. This is where you would want to correct any incorrect dates that have resulted from time zone differences. Simply go down to the start/end time and correct them. For example, if you have set the WordPress timezone to AZOT (-1 UTC), but the event you imported is from 0 UTC, then you would want to add an hour to the start and end times. I am sorry, I know this is a bit of a pain. Personally I would like to see our plugin automatically convert Eventbrite event timezones to the WP timezone you have setup. Since this is basically a bug I have reported this to the developer team. It is likely we will fix this behavior in an upcoming release. Thank you for pointing it out!
Does that make sense? Please let me know. Thanks!
– Brook
Brook
ParticipantHowdy 336creative,
Could you try reverting to the default 2012 theme temporarily, and seeing if the issue persists. From the look of it this issue is quite likely caused by a customization, as I am unable to reproduce it in my tests.
If disabling the theme fixes it, we have narrowed the issue down to the theme. Can you try disabling Events customizations within your theme one-by-one to find out which of them is causing it? You say you have already tried disabling your Events overrides. Mind trying that once more by renaming your [themename]/tribe-events/ folder to ‘tribe-events-bak’. If possible I would also try disabling your theme’s function.php by renaming it as well. But, if that crashes the theme, then can you comment out or otherwise disable any tribe-events specific customizations and see if that fixes it.
If the issue persists in the default 2012 theme, then we have a different set of debugging steps. Please keep the 2012 theme enabled, and also disable any plugins other than Tribe to see if that fixes. If it does, please try reenabling them one at a time until the issue resurfaces.
Let me know if you have any questions, I would be glad to help. Once you have followed those steps and narrowed it down, please let us know which of those things is conflicting so we can assist with a resolution. Thanks!
– Brook
January 28, 2014 at 12:56 pm in reply to: Where can I change the caption View All Events in Category? #97950Brook
ParticipantHowdy itpromotion,
You will love how easy this is. Just add this snippet to your theme’s functions.php. Just change ‘my custom text’ to whatever you fancy. That function can easily be extended to filter other bits of text too, if you ever need to change something else other than ‘View All Events in Category’.
Please let me know if that works for you. Thanks!
– Brook
January 28, 2014 at 12:29 pm in reply to: VIEW AS MONTH BOX and EVENTS IN DATE BOX over lapping my menu #97913Brook
ParticipantHowdy creatagogo,
I think the following code should fix things up nicely.
body .tribe-bar-disabled {
z-index: 1;
}That will tuck those elements behind your nav’s z-index. Please let me know if it works. Thanks!
– Brook
Brook
ParticipantHowdy Torbjørn,
That makes a lot of sense. You can delete single recurrences of events by going into WP Admin, click on one, and clicking Move to Trash. For recurring events that happen on a holiday, this would be the easiest way to get rid of them.
This could also be done automatically if you are willing to code some logic. I think the best way to do it would be by hooking into WordPress’ pre_get_posts filter. For queries that include the events post_type (TribeEvents::POSTTYPE) you would be able to add an additional where, that does not select events from custom time ranges like holidays. This might not be a super easy task, but if you are familiar with the WP API and post meta I think it could be done in under a couple of hours.
If you wish to find the first event in a series there are two pretty quick ways of doing it. If you are looking on the front end, click on any of the events in the series, then click “See All”. The top event be the first one. From the backend WP Admin > Edit Events page I would add the Recurring filter to hide any non recurring events. Then click the Start date column. This will show you the earliest events first, and should make it fairly easy to find the first event in a series. If you have lots of events with the same name this could complicate finding stuff from the backend a bit, just due to how WordPress works. If that is the case, then you might try using the search function, or finding the event on the front end first and clicking edit in the admin bar.
January 28, 2014 at 11:46 am in reply to: website will not load when events calendar deactivated #97885Brook
ParticipantGood to know. Cheers!
January 27, 2014 at 12:22 pm in reply to: recurring event which occurs on all fridays EXCEPT the last in the month how? #97404Brook
ParticipantHowdy Isobel,
You are welcome for the response. I am very very sorry for this belated response. The forums glitched and did not inform me of your response.
This snippet adds an item to your Admin Menu called ‘Events: Upcoming’, when you click on this it will only show upcoming events sorted with the oldest events up top. The original menu item that allows you to edit past events is still present, for those situations where you need it. But this new page should do exactly what you want.
Will that work? Thanks for your patience! I am truly sorry it took so long to reply.
Edit: Fixed link.
– Brook
Brook
ParticipantOi! That should not have been hidden from you. Here is a copy of it.
Howdy umediagroup,
Attempting to create a query to do what you want is no easy task. You need look no further than our TribeEventsQuery class to see how complex it can be. Your own query will not actually sort by end date for instance, as that is not an actual column.
This is why we provide the function tribe_get_events() to handle all the you crazy complexities for you. This query will get events for the next year that have not yet finished. Note that the return of tribe_get_events() is an array of post_objects, not a WP_Query. Would that work for you?
I hope that helps. Please let me know if you have more questions.
– Brook
Brook
ParticipantHowdy umediagroup,
Yes that response was intended for you. I am one of the gents that handles Pro questions. Apologies for my belated reply. We are having a bit of trouble with our forums ATM, it seems like 99% of the time they notify us of responses, but that 1% causes delays like this.
Did my above response help you?
– B rook
Brook
ParticipantHowdy runekjensen,
I hope you enjoyed the weekend.
If you are knowledgeable about Chrome Inspector then there would be no need to hire a developer. Simply use the inspector to find the style you want to change, and copy and paste it into your theme CSS. Now you and change the color. The final step is to add an additional selector to your new CSS rule, so that it is more specific than the default one and thus overrides it. You will notice than in your last thread I gave you the following rule:
body #tribe-events-content .tribe-events-tooltip h4{ color:#000; }
I added body before each of the CSS rules as seen in that topic since all elements on the page are inside of the <body> element. See how easy that is? It really is straightforward if you understand the technologies in play.
We do on occasion have people ask similar questions. Many of them are not web designers and thus do not have the requisite CSS/HTML knowledge to design a website on their own, in such cases hiring a developer is very appropriate. That said we are always listening to feedback. If you would like to see a color selector feature built-in to our plugin, like you would see on some themes that cater to the non CSS crowd, please request it. Here is our feature request page. As you can see it allows others in the same scenario to easily voice their support for the idea.
Thanks!
– Brook
January 27, 2014 at 8:50 am in reply to: Function for change of URL for Eventbrite not working (.COM to .CA) #97265Brook
ParticipantHowdy mgareview,
The developer indicated that this snippet never changed the links inside those iframes. He did however indicate that trying my snippet, which changes the iframe itself to be loaded from the country of your choosing, might help fix the problem. Would you mind trying this snipper in your functions.php? It does not actually work for me, but since my events are all created from the .com anyways you might have better success.
If that did not work, then I am afraid there is nothing we can do. Eventbrite generates those links, not our plugin.
Please let me know if that works. I want to make sure you are sorted, and it would be handy to know for future reference. Thanks!
– Brook
January 24, 2014 at 4:52 pm in reply to: Function for change of URL for Eventbrite not working (.COM to .CA) #96773Brook
ParticipantHowdy mgareview,
Those links are generated by Eventbrite itself inside of an iframe. This past week we have been noticing some changes on their end. It is possible they are forcing their API to load from .com now. If so there is no way for us to fix this, it is up to Eventbrite. I have even tried changing the iframe itself to a .ca domain, and that is not fixing it. I will consult with the developer of that snippet to see if he agrees. We will have to get back to you on Monday. I am sorry for the delay.
– Brook
-
AuthorPosts
