Forum Replies Created
-
AuthorPosts
-
January 21, 2014 at 3:18 pm in reply to: How to identify recurring events using tribe_is_event #95374
Brook
ParticipantHowdy dotwongdotcom,
Detecting if an event is recurring is just as east. Simply use the function tribe_is_recurring_event().
Detecting how many events are in a series is not going to be easy. Something like the following would probably work:
$instances = get_post_meta( $event_id, '_EventRecurrence', true );
count( $instances );
But, you might have to fiddle with that to get it do what you need it to. That would include future and past events, and a few other caveats that may not help in your particular circumstance. In other words that exact code may not work, but I hope it helps get you started in the right direction.Let me know if you have other questions or if I can clarify anything. Thanks!
– Brook
Brook
ParticipantHowdy 336creative,
Thank you for the link. Unfortunately with issues like this there are a million things that could be causing an empty result set. In order to diagnose this you will probably need to thoroughly examine the $wp_query and maybe also $post_object to find what is causing the problem. If you have a proper debugger/IDE setup like x-debug & PHP Storm then I would insert a break after the line you suspect to be offending. If you are limping along without a debugger, then personally I would throw something like
echo '<pre>';var_dump($wp_query);echo '</pre>';If this is all Greek to you then you will likely need to hire a developer to accomplish this task. Unfortunately what are you trying to accomplish is no easy task, and there is no single tutorial that can walk you all the way through it. If you do want to hire someone feel free to contact [email protected] and ask that department for some recommendations. We keep a list of developers who have proven they know all of the necessary APIs.
Does that answer your question? Is there anything more I can clarify? Thanks for posting!
– Brook
Brook
ParticipantHello kennyr,
What this means is that your server has run out of RAM. This usually only happens on very cheap hosts who are not designed for powerful WP sites. If I were you I would contact my host and see if they will up the memory allocation for PHP scripts. Sometimes they will even do this for free. If they say no, I would shop for a new host.
Does that make sense? If you have any more questions please let me know. Thanks!
– Brook
January 21, 2014 at 2:45 pm in reply to: Display venue with single event title and in calendar view hover #95324Brook
ParticipantHowdy siriusly,
That’s awesome! I am really glad you enjoy our plugin so much, it is great to hear that sort of feedback. We do our best.
<span style=”font-size: 13px;”>If you want to add information to the month view tooltip that pops up when you hover over an event, then you will need to follow our </span>themers guide<span style=”font-size: 13px;”>. Specifically you are looking to override month/single-event.php which pertains to that tooltip. If you wanted to add the venue name for instance, you would use </span>tribe_get_venue()<span style=”font-size: 13px;”>. As you can see in that last link, there are a whole bunch of other tribe_get_ functions for retreiving other details within a theme override.</span>
If you simple want to hide existing information using CSS, then that is even easier. For instance, if you wanted to hide the Details column, which shows the start/end date and event categories, the following CSS will do it:
.tribe-events-meta-group.tribe-events-meta-group-details {
display: none;
}If you need more granual control than CSS allows for, you will again need to create a theme override for that view. Unfortunately the added power and control of theme overrides means you also have to know PHP and familiarize yourself with our API in order to make changes. If you do not feel comfortable doing that, then you would need to hire a qualified developer. We can recommend some who are familiar with all the required APIs if you would like.
Thanks for posting!
– Brook
Brook
ParticipantHowdy idingk,
The list of events on the admin side can contain a Start and End date column. Do you see the filters and columns box at the top of this page? This allows you to add and remove columns. You would simply want to add the Start Date and End date columns using the Add a Column dropdown. This page can be accessed by the following url: yoursite.com/wp-admin/edit.php?post_type=tribe_events. Here is an example screen shot showing those columns.
Does the following these steps allow you to do what you need? Please let me know if that worked for you. Thanks!
– Brook
Brook
ParticipantMethawee,
No problem about the “broken” English. I will do my best to respond and help.
I did understand enough of what you wanted to do, so my response will not change much from the above. To insert widgets into the content area you will need a third party plugin like AMR Shortcode. Once you have selected and installed the third party plugin, follow whatever steps that plugin requires to insert a widget into your content area.
These are the steps that you would use to insert our widget into a sidebar, and they are probably quite similar for whatever plugin you choose.
To add a countdown for an event go to Appearance > Widgets. Drag and drop the Events Countdown widget to your sidebar. Select the Event you would like and any other applicable settings, click Save.
I can not provide support for a third party plugin, so I can not really give you a step-by-step for that part of it.
Does that make sense? Does following the above advice accomplish what you need? Thanks for posting!
– Brook
Brook
ParticipantStrike my last comment. I misread our tracker status. This was actually fixed in version 3.3 of our plugin.
In my local install I was able to confirm that it is fixed as well. I added a Calendar widget, set the ‘Number of events to show:’ to 0, and this was the result. Furthermore, click on anyone of the days takes you to that date in our calendar via your default view.
I apologize for the confusion. Is it not fixed for you running our latest plugins (Pro 3.3 & Events Calendar 3.3.1)?
– Brook
Brook
ParticipantHowdy jocwebsites,
From the looks of our internal tracker this is on schedule to be fixed in the next release. I can not give an ETA for when that will be released though, there are too many people involved to say for sure. I hope that info helps.
– Brook
Brook
ParticipantHowdy Anthony,
I am actually able to rename /the-events-calendar/ and activate it along with pro in my local test installation. Pro features activated fine with the renamed plugin.
I am not sure why yours is not working equally well. However, since this is a pretty significant customization it is not something I can provide much support for, especially since I can not duplicate the problem locally. From what I am seeing so far in our code nothing should really prevent this, especially when it does for me. Thus there is no way for me to really point you in the right direction for this customization. It is evidently something unique to your install or server.
I hope you can get it sorted though. If the folder rename is the actual source of the problem, perhaps its not necessary? It does not really show up anywhere publicly except in the source code.
– Brook
Brook
ParticipantFor sure Fred! I just had to track it down myself. Evidently we have changed policy a bit, and we now provide the list through email. You can obtain our full list by emailing [email protected] and requesting it.
Please let me know if you have any trouble or anything getting the list. But a short quick email should do. Thanks!
– Brook
Brook
ParticipantHowdy dcantato,
When I visit that page I am seeing a load of 502 errors in the console. It looks like you are trying to load these resources from a CDN but they are not present on the CDN, or perhaps that CDN is not configured correctly. You will definitely need a fully functioning CDN, or just to serve the resources from the local server in order for the Map to load.
Does that make sense? Obviously you need to understand CDNs to fix this, but since you presumably set this up you probably already know everything you need.
– Brook
Brook
ParticipantHowdy methawee,
I am not 100% sure I understood your English. But, if I did you could accomplish this by using a third party widget shortcode plugin. I can give you the steps for adding a widget countdown for a particular events, but it would be up to you and third party plugin of your choice to figure out the rest.
To add a countdown for an event go to Appearance > Widgets. Drag and drop the Events Countdown widget to your sidebar. Select the Event you would like and any other applicable settings, click Save.
As mentioned above some third party plugins, perhaps the AMR Shortcode one or similar, will allow you to to add an event to your content area instead of to the sidebar. So you would follow the above steps, except instead of dragging the widget to the sidebar you would work with the plugin to add it into the content area.
This would just apply for a specific event though, not the next one on your calendar. If you want it to always show a countdown to the next event on the calendar you have to either manually edit the widget settings to the next event each time one transpires, or build a customization using our API (which might require you hiring a developer).
Does that make sense? It is not always possible for us to provide a step by step, especially when third party plugins are necessary to complete a desired customization. But, I will do my best clarify if there is something about our Event Countdown widget that is unclear.
– Brook
Brook
ParticipantHowdy George,
I think that makes sense. Here is an example of a venue page. As you can see it lists all the events for that venue, along with venue specific information. Each venue pages has its own editable description, contact info, etc. in addition to the list of upcoming events. Whenever an editor such as yourself (or a member of the community if you purchase the community events addon) adds an event and selects a venue, it will show up on that venue’s page.
The main calendar itself displays events from all venues though. As seen here.
Does that make sense? Does it answer your question? Please let me know, thanks!
– Brook
Brook
ParticipantHowdy again Jincy,
Like I got into detail about in your other thread we are responding as quick as we can, and actually well ahead of what our official policy stated on the forum home page calls for. I am sorry if that is inadequate for you, but it is our best.
Our plugin uses the WordPress API quite admirably in this regard. The best way to store page data in WordPress is by implementing a custom post_type, which is exactly what we do! Plugins which do not do this face all sorts of disadvantages and tend to gum up the works. Here is a link describing how this works and the various places post_types store their data. Specifically our base plugin creates the following post types: tribe_events, tribe_organizer, tribe_venue
Does that make sense? Are you able to find it now? Thanks for posting!
– Brook
Brook
ParticipantHowdy Jincy,
This is a known bug that our devs are working towards fixing. I am sorry for the trouble this has caused your site, but we will definitely get this fixed as soon as we are able.
We are only able to respond during regular business hours, which for our team is Monday-Friday starting at about 8am on the East Coast and ending at 5PM on the West Coast of the States. As noted on our forum home page:
Set your expectations. Please understand that we get a lot of traffic on the support forums, and that we respond to each thread in as timely a fashion as possible. That being said we generally require 24-48 hours (during the workweek) to hit new threads. The forums are not monitored on weekends. Please be patient when posting and know we’ll get to your issue as quickly as we possibly can.
Of course if you have poked around you will note that we are generally far far quicker at responding than our official policy(quoted above) calls for.
Thanks! Please let me know if you have any more questions about this.
– Brook
-
AuthorPosts
