Forum Replies Created
-
AuthorPosts
-
April 14, 2015 at 7:31 am in reply to: Tickets for Today's Event Not Displaying on Front End #955404
George
ParticipantNice! Sorry I forgot to think of that earlier on!
I’ll close up this ticket for now, but if other issues or questions arise, come back and open a new ticket at any time!
Cheers,
GeorgeGeorge
ParticipantThank you for the kind words James! I’m really sorry this isn’t working for you – it worked well for me on my testing site on both the front-end and back-end, so I suspect your theme or another plugin are conflicting here in some way.
Regardless of that, stay tuned to the next update, because like I said, this will be much easier – just two simply filter calls and boom, the labels are updated everywhere on the site. It’s quite nice, actually!
If issues happen even with that method, after the update is released, we can dive deeper, but for now, based on your feedback here, I’ll go ahead and close up this ticket.
Thanks for your patience and the kind words James! Best of luck with your site in the meantime, and if any other issues or questions arise, come back and open a new ticket at any time!
Cheers,
GeorgeGeorge
ParticipantHey Jonny,
Tony’s method may work for you, and both options here should be helpful. Thanks for offering that suggested modification Tony.
George
ParticipantHey Tony,
You’re right about this being “weird” behavior – so weird, in fact, that we actually patched this and made sure all the datepicker formats were consistent, it’s a bugfix coming in the next release which is coming very, very soon!
While that’s good news, the bad news is that it’s actually a complex customization to make – quite a bit beyond the scope of the support forums here. Do you think you could wait a month plus or minus a few weeks for a new update? Or is this extremely urgent/important?
— George
April 14, 2015 at 6:21 am in reply to: Pre-selecting a category on the community submission form #955355George
ParticipantHey Tony!
What you’re seeking to do here is definitely possible – the explanation I’m about to give may seem a little long, but trust me, it’s much simpler than it seems:
• First, head to our official Themer’s Guide to learn how to make custom template files for various parts of the Events Calendar → https://theeventscalendar.com/knowledgebase/themers-guide/
That should just help give you an idea of what’s going on here, but the shortcut is that you need to create /tribe-events/commmunity/modules/taxonomy.php in your theme or child theme.
Once this empty file is created in your theme, fill it with the exact same contents of the original file in your copy of Community Events – in the plugin, the path to the file is /views/commmunity/modules/taxonomy.php
Just copy that whole original file into the new version of it in your theme.
Once this is done and works, head to the your WordPress site admin and find the page where all the Event Categories are listed – then, simply hover your mouse over the category you want to be selected by default on the Community submission form, and look for a number called “tag_ID” in the URL that shows when you’re hovering over the tag link. Here’s a screenshot where I point this out for reference (in it, I am hovering over the category “Cabbage”) → https://cloudup.com/cwfs-COJGrY
Once you have the tag_ID, head back to your theme version of that file you copied over from the plugin, which should be at /tribe-events/commmunity/modules/taxonomy.php. Make some space before the events categories are shown and add code like the following:
$currently_selected_category_ids[] = 190;Replace “190” with the ID you want – if you want multiple IDs selected by default, just add another line, so if I wanted tag_ID of 190 192 to be added, I’d make the code look like this:
$currently_selected_category_ids[] = 190; $currently_selected_category_ids[] = 192;I only did one ID for testing purposes, and it works very well for me → https://cloudup.com/crEjx-RhOz1
I also put my code in a Gist for you to reference, check that out here: https://gist.github.com/ggwicz/7a61a291d15fa2876c4a#file-taxonomy-php-L30
But please note that some of my code might be different in that file than yours, so don’t copy and paste that whole file – just use the original file from your copy of Community Events, but look at line 30 of the Gist I shared here for an idea of where to place the code I mentioned above.
I told you this might seem like a lot of information! 🙂 But work on it step by step, and I’m sure you’ll be able to put this together Tony, it’s quite simple, just a bit of a tedious thing in parts to move everything in place.
Let us know if this helps!
Cheers,
George-
This reply was modified 10 years, 7 months ago by
George.
George
ParticipantHey Celeste,
Thanks for reaching out, we can definitely offer some advice here! There is good news and bad news.
The bad news is that we can’t offer much specific help here, since this is a customization that is theme-specific. But the good news is that both The Events Calendar, the WooTickets add-on for it, and WooCommerce itself are all highly extensible like this. I don’t know what theme is active on your site, but if it’s a decent and well-coded theme, then customizing things like this can be quite straightforward.
Your first step would be to read our official Themer’s Guide to get an idea of how The Events Calendar template-customization system works → https://theeventscalendar.com/knowledgebase/themers-guide/
You could play around with WooTickets templates from there, and move the add-to-cart form manually or by using a function like tribe_get_ticket_form().
This should be a great start and I hope it helps!
Cheers,
GeorgeApril 14, 2015 at 5:51 am in reply to: tribe_events_event_schedule_details showing today's date instead of event date #955347George
ParticipantHey Steve,
It can be challenging to debug custom code like your custom tribe_get_events() loop, but there are a few things we can start out with to help reveal more information about your issue here. Addressing these items in order is a good place to start:
1. What version of The Events Calendar is active on your site?
2. What version of Events Calendar PRO is active on your site?
3. Does this happen with every single event on your site, or only with one event? Your site is password protected, so I couldn’t view the site to explore it a bit, but just to be 100% certain, do all of your events have different start dates?
4. If you take the tribe_events_event_schedule_details() call outside of your loop temporarily, and instead of using an $event_id variable, you just manually enter the actual ID of an event you know of, does the date still show incorrectly? An example of this would be tribe_events_event_schedule_details( 123 ), where our hypothetical event has the ID of “123”…
5. Can you paste your entire custom loop code, un-edited, into a Gist at http://gist.github.com and share a link to that Gist so we can take a glance at your code in full?
There’s a lot of important ground covered here in these first few items – let us know about each of them and we’ll see what we can learn from there!
Thanks,
GeorgeApril 13, 2015 at 9:38 am in reply to: I would like to remove the breadcrumbs on my events page. #955098George
ParticipantGlad to help! Best of luck with your site.
— George
George
ParticipantThanks Thierry, let us know what you find!
George
ParticipantHey Brad,
Thanks for investigating these things.
This is some odd behavior if none of the options change the display, and deactivating plugins and such has no effect. I feel like we’re missing something here – what did you mean by your comment in your original post where you mention a “custom pull” – i.e., “a custom pull from the ECP”?
If you have any custom code on your site, I’d recommend first ensuring you have a backup of it all, and then that you try removing it from your site and see if any of the behavior you’ve mentioned for this issue is different at all.
Thanks for your patience with this issue Brad!
— George
April 13, 2015 at 9:21 am in reply to: Tickets for Today's Event Not Displaying on Front End #955090George
ParticipantOoph, sorry I missed that detail Nathan! Damn. I will blame missing that on a lack of coffee yesterday 🙂
This leaves a few possible culprits for the issue here – for example, maybe your WordPress site’s default timezone is a few hours behind what you think, so “7:30” is actually earlier to the site (and, therefore, to our plugin looking for the “End Sale” time) than you expect. Or there is a plugin or theme conflict where your setting for the timezone is correct, but that troublesome plugin or theme is messing with the timezone or dates somehow.
Or there could be some other sort of conflict with a plugin or theme.
So if you head to Settings > General in your admin, what are your timezone settings? If they’re correct to your locale, and not causing an issue here, would you be able to run through the same steps above where you switch to a default theme and deactivate all non-involved plugins here, then try to create a new test event with tickets that have an “End Sale” time and see if you can recreate this issue at all?
Apologies for missing your not about the End Sale time Nathan, and for the back-and-forth here – your patience is appreciated.
Let us know what you think here and what you find if you run through the steps I recommended above.
Thanks!
GeorgeGeorge
ParticipantGlad to hear it Kyle, thanks for posting the update and explaining a bit about the solution.
Best of luck with your site!
George
ParticipantHello,
Unfortunately the best step I can think of from here would be to run through the troubleshooting steps we have outlined in our “Testing for Conflicts” article – would you be able to run through these steps and let us know what you find?
Also, how are you hosting your website? Is it on a shared host that you’re paying monthly for? A private or self-hosted server? Etc.
Thanks,
GeorgeGeorge
ParticipantHi James,
Thanks for posting that code.
I’d recommend getting rid of any other attempts at this customization from your site, and simply replacing your existing functions.php code with the new functions.php I wrote for you here → https://gist.github.com/ggwicz/12006d4903f6092c82e0
If you do this and still get a white screen of death on your site, then there are two things I can think of: first, you could keep the code in place and then head to your site’s wp-config.php file and change this line of code:
define('WP_DEBUG', false);to this:
define('WP_DEBUG', true);That will display PHP errors on your site if any exist, which can help here.
Or, we can leave “Events” in place for now, and simply just remove all these customization attempts and wait for the next update – in the next plugin update, there is a new function that makes changing the label like this so easy!
Let me know if this re-worked functions.php helps!
Cheers,
George-
This reply was modified 10 years, 7 months ago by
George.
George
ParticipantHey TK,
First of all, thanks for your patience with the back-and-forth here – it’s an odd issue I’m trying to replicate, but I cannot reproduce this behavior. So yes, in my experience thus far you should indeed be able to see all the venues listed there.
I’m curious, if you head to your Events Settings admin page and then to the “Community” tab here, what values do you currently have for the options here in this screenshot? → https://cloudup.com/caU7loq7S1D
Are any user roles blocked here? If so, does un-checking these limits help at all?
-
This reply was modified 10 years, 7 months ago by
-
AuthorPosts
