Forum Replies Created
-
AuthorPosts
-
George
ParticipantHey Corrado,
All of the links you provided are wp-admin links on your site, which means logging in is required – we unfortunately cannot log into these pages, but I know what URLs you are referring to now.
Specifically, for example, yes, the sorting by venue on the event list page is what I meant originally, and what works for me (your last 2 links, in other words).
That sorting works well for me and I’m not sure why it wouldn’t be working for you – the first issue, sorting by title, indeed fails for me, but sorting by venue works fine. If you are very interested in continuing to debug here, would you be willing to do the troubleshooting steps outlined here? → https://theeventscalendar.com/knowledgebase/testing-for-conflicts/
If you check on the sort-by-venue issue after each step, that will confirm or rule out the existence of a bug here.
Cheers, and thank you for your patience with this issue so far!
— George
George
ParticipantThank you for the feedback Jason – stay tuned to products updates and check the changelogs for any improvements that might be related to this!
Cheers,
GeorgeGeorge
ParticipantHi Ruud,
Unfortunately, I’m not quite sure what you mean by this here:
the question whether you can make yourself an adaptation zodatje also can search for a specific location.
Can you elaborate on that? If you’re asking how to make an additional sort of location search, we unfortunately cannot help with customizations or any custom code on your site.
As for your first question, I think you’re asking about how to better search our knowledgebase? Let me know if this is accurate. If so, I recommend going to Google and searching for something but simply applying the “site:theeventscalendar.com” filter to the search so that it only searches our site.
For example, if you want to search for how to modify the upcoming events title on this site, you’d search like this → https://cloudup.com/cX5uZOrUew9
I hope this helps!
— George
George
ParticipantHey Cliffy,
I checked out that event but did not find a $0.00 cost or “ALL in the picture view”. Can you elaborate on what your issues are, exactly? Include screenshots if possible – I’m sorry if I’m missing something obvious here.
I checked out the main /events/ page and indeed found an issue with the inability to check or uncheck the “Show only the first instance of recurring events” checkbox. I think this is because of your theme, as there is a JavaScript error coming from your theme’s “Avia.js” file that is cutting off further DOM js it seems.
Thanks,
GeorgeGeorge
ParticipantStay tuned!
George
ParticipantThanks for the update Ben, and for being cool in regards to the behavior here. Open a new thread any time!
Cheers,
GeorgeAugust 4, 2015 at 10:31 am in reply to: Warning: sprintf() [function.sprintf]: Too few arguments in /nfs/c01/h06/mnt/68 #993178George
ParticipantGreat catch re: the French Canadian translation, we’ll take a closer look and ensure that this is more clear going forward.
Best of luck with your site! 🙂
George
ParticipantHey Frederik,
I’m so sorry about the delayed response here! Not sure how your topic fell through the cracks, we usually try to get responses to customers in 24 hours or less and am very sorry about the delay on this one.
In regards to your questions, adding custom buttons and such is a bit complicated and falls outside the scope of our support forums. However, you can definitely write custom code for any purpose you desire. Your best option for learning more about how to do this is to read through our Themer’s Guide here → https://theeventscalendar.com/knowledgebase/themers-guide/
The before-content and after-content fields that John mentioned might indeed be helpful for you, as well, but more likely you will need to make some custom code here (unless I am misunderstanding your goals, which I apologize for if that’s the case!)
As for tweaking the Community Events form, that same Themer’s Guide article I share above should help you customize the edit-event.php file which is used for the Community Events submission form – pull out any fields you don’t want, and you should be good to go.
I hope this information helps and, again, am very sorry for the delayed response!
Cheers,
GeorgeAugust 4, 2015 at 9:54 am in reply to: next / prev links when showing all recurring events instances loads other events #993169George
ParticipantHey Mike,
I’m hoping to write some custom code for you here, but am curious about a few specific details before we proceed because I do not run into the problems with the /all/ recurring events page navigation that you report here.
I’m curious:
1. What version of The Events Calendar is currently active on your site?
2. What version of Events Calendar Pro is currently active on your site?
3. What are your site’s permalinks settings (in Settings > Permalinks in your wp-admin)?Next, can you clarify what you mean when you say this:
I’ve got the standard tribe_get_listview_prev_link() and tribe_get_listview_next_link() to paginate.
4. Does that mean you are using custom events templates in your theme? If so, what specific custom files are you using? Even if you have 5 or 10 custom Events template files, can you copy and paste each of them into separate Gists at http://gist.github.com and link to those Gists? We can look at your exact code that way – it might be helpful.
In Closing
Now, there is no problem at all if you are using custom template files – no worries! Just curious because that could change the texture of your problems here a bit. As I mentioned, the recurrence /all/ pagination works fine for me, so even though it seems like a lot of information that I’ve requested in this post, it’s just to help us boil down exactly what is going on here.Thanks in advance for as much information as you can provide, and for your patience with us on this issue – we’re eager to get you a bit of working code that will make this /all view useful on your site until actual improvements make their way into the official plugin release, so don’t give up on us here yet! 😉
Thanks,
GeorgeP.S.
The reasons why an instance of filtering pre_get_posts fails could be many – it could be stemming from the priority you’ve set on that hook (tribe_events_pre_get_posts is called at the end of another function in TEC that hooks into the “main” pre_get_posts, so that priority isn’t really necessary here).
I’d recommend holding off on trying to filter pre_get_posts for the moment – we can start with the information above and then work towards a reliable solution from there.
Thank you!
August 4, 2015 at 9:00 am in reply to: Calendar Pro 3.11.1 – can't move forward (list, week, or month view) #993152George
ParticipantHey Dms666,
What version of The Events Calendar core itself are you running?
Thanks!
GeorgeAugust 4, 2015 at 7:38 am in reply to: Use event cost field value for events with multiple tickets #993105George
ParticipantHey Helen,
This is a bit of a code customization request which we unfortunately cannot help much with, But in general you should be able to only show the lowest cost ticket by using the “tribe_get_cost” filter.
I wrote a whole function for you here that you should try – try adding this to your theme’s functions.php file, and let me know if it helps!
add_filter( 'tribe_get_cost', 'tribe_only_show_lowest_ticket_price' );function tribe_only_show_lowest_ticket_price( $cost ) {
$tickets = Tribe__Events__Tickets__Tickets::get_all_event_tickets( get_the_ID() );if ( empty( $tickets ) ) {
return $cost;
}$prices = wp_list_pluck( $tickets, 'price' );
$prices = array_map( 'absint', $prices );$lowest = min( $prices );
if ( ! $lowest ) {
return $cost;
}if ( 0 == $lowest ) {
return 'Free';
}return tribe_format_currency( $lowest );
}
Cheers,
GeorgeGeorge
ParticipantHey Carl,
This unfortunately seems to be caused by a theme or plugin conflict, which we may not be able to help with much, but can you first try this:
• Deactivate the plugin on your site called “Templater” or something similar. I see a script coming from a plugin named something like this, the script is producing a console error and it could be the problem.
• If deactivating that plugin alone does not help, proceed with all of the other steps here → https://theeventscalendar.com/knowledgebase/testing-for-conflicts/
Let us know what you find!
Thank you,
GeorgeGeorge
ParticipantHey @Wolfgang,
It is indeed possible! We’re not able to help with custom code very much, but we’ve fortunately compiled a great overview of using the tribe_get_events() function – with some examples, too – in this Knowledgebase article here: https://theeventscalendar.com/knowledgebase/using-tribe_get_events/
Check that out for sure!
If you want to do even more with that function, then as noted in that article it is really just a “wrapper” for WordPress’ built-in WP_Query class. So if you want to get really specific with category or other sorts of filters, check out this article on WP_Query → http://codex.wordpress.org/wp_query
You can use any of the category / tag / taxonomy options there in the tribe_get_events(). Pretty neat.
It might seem like a lot of reading there but you can skip anything that doesn’t relate to showing events in the past, and/or showing events of a specific category. Plenty of examples in both articles so hopefully this helps you get started here.
Let me know if you have any other questions, comments, concerns, etc.
Thanks!
GeorgeGeorge
ParticipantThank you for reporting this @oniregoc! It’s come up a few times in other support threads and is something we’re hoping to fix soon.
Stay tuned to products releases – check out the changelogs to see if a fix for this is included!
Cheers,
GeorgeGeorge
ParticipantHey @gonzalosanza,
There’s unfortunately not much we can do if your theme is the issue, which based on your comment here, it almost certainly is:
It works properly with twenty twelve theme.
If you’ve made customizations for The Events Calendar in your theme, I’d recommend first making a backup of all these customizations so you do not lose them in the next step. Then, once they’re backed up, proceed with the next step and try temporarily deleting ALL customizations from your theme. See how The Events Calendar’s pagination works – if it works any better, then your customizations are the source of the problem and we can narrow that down a bit.
Let us know what you find!
Thanks,
George -
AuthorPosts
