Forum Replies Created
-
AuthorPosts
-
December 2, 2014 at 10:21 am in reply to: tribe_events_week_is_current_today() not returning true #905372
George
ParticipantHey Brain,
The tribe_events_week_is_current_today() function should indeed be returning a boolean, so removing the “=== true” shouldn’t change the value of the conditional – simplifying and removing unnecessary things is a great step when debugging issues, however, so out of habit I asked you to pull that out. You can definitely leave it in though.
While we’re here talking about the return values of tribe_events_week_is_current_today(), have you tried using var_dump() on the function in your custom code there? You can even die() right after the var_dump() to make any debugger output more easily readable:
var_dump( tribe_events_week_is_current_today() ); die();1. What do you find when you do this? Does the output change at all based on where you place this var_dump() debugging code in the file?
2. Also, I’m curious: what are the timezone settings on your WordPress site? You can find the timezone in Settings → General in your admin. Ensure that the timezone for your site is the timezone you’re in.
3. What other plugins are installed on your site, if any? Have you done any debugging steps that involved deactivating other plugins, and if so, did any behavior change?
Thanks,
GeorgeDecember 1, 2014 at 5:46 pm in reply to: Page not Redirecting after activating Events Calendar. #904595George
ParticipantKindra, I’m really sorry to hear about your troubles here. Hopefully we can figure this out and minimize frustrations promptly.
I’m curious about a few specific things – for the sake of time, I’ll just lay them out in order here:
• 1. In your reply, you mention things breaking in combination with, in your words “the latest update from EC or WordPress” – can you clarify this? Don’t mean to mince words here, but being precise will help a lot. When you say “EC”, do you mean that your site is fine until you update the free version of The Events Calendar? Or do you mean the premium version, Events Calendar Pro?
• 2. Whichever version you mean by “EC”, what was the last version number you were using before this without issues? If you don’t recall exact numbers, no worries – but in general, have you been up-to-date with the recent updates on your sites, or have you left them for long periods of time without updating until now?
• 3. You mention that issues are appearing after updating WordPress itself, too – do you have any sites that are still running the previous version of WordPress? If so, does using the new update for “EC” on your site work differently on this previous version of WordPress than on the new one?
• 4. You mention “many sites” in your post, but provided one URL – were you able to resolve these issues on all your other sites except http://porcupinemountains.com/? Or did you just share that one URL to keep things focused on one site for now?
I only wanted to cover all these details because you mentioned all the other debugging steps you’ve tried out, to no avail…so I’m definitely scratching my head a bit trying to think about what could be to blame here.
And while you look into all those things, in the meantime, one thing you should double-check is the file permissions configuration on your server. You may need to contact your developers or your web host for help with this, but basically: make sure that all the directories on your WordPress site’s installation are owned by the web server, with permissions set to 755 recursively – especially the /wp-content directory.
Sometimes those permissions can get messed with after updating things, so it’s worth ruling out.
Thanks for reading all this! Your patience means a lot – as does your time. Hopefully we can sort things out soon.
— George
George
ParticipantHello,
Events Calendar Pro is not designed to work with a specific theme – it’s meant to work out of the box with any WordPress-compliant, HTML-valid theme. It looks great out-of-the-box in more themes than you might expect, and if you need to customize things specific to the theme you end up using on your site, it’s completely customizable.
You can learn about customizing the look of Events Calendar Pro by checking out the Themer’s guide here → https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/
As for for recommended themes or theme designers, as far as I know we don’t officially partner with anyone specific. But there are many great resources out there. In my personal experience – not on any official behalf of Tribe itself! – I would recommend staying away from massive theme marketplaces like Themeforest in general. However, for themeforest particularly, if you search carefully for the good stuff and pay attention to people’s reviews, you can find some gems. And this is a whole list of themes on Themeforest compatible with Events Calendar Pro:
http://themeforest.net/attributes/compatible_with/events_calendar
Sticking to more specialized theme shops is a great idea, too. Here are two examples I’ve personally used and can vouch for:
And, of course, if you’re not looking to spend money on a theme in the first place, the default themes bundled with WordPress are quite extensible with some custom CSS. There’s also the entire WordPress themes directory – just like themeforest, if you search carefully and pay attention to reviews, you can find some awesome themes…and all of them for free! https://wordpress.org/themes/
Let us know if this information helps. 🙂
Cheers,
GeorgeDecember 1, 2014 at 4:41 pm in reply to: tribe_events_week_is_current_today() not returning true #904544George
ParticipantHello,
I’m curious, are you trying to make these changes directly in the plugin files for Events Calendar Pro, or are you using custom template files?
Making changes directly to plugin files is not recommended, by any means – it can cause serious problems and make plugin updates fail.
However, given the specific bit of code you shared via PasteBin, let me know if you find any better behavior if you remove the “=== true” part of your elseif statement. For example, specifically, you currently have this:
<?php elseif ( tribe_events_week_is_current_today() === true ): ?>Try replacing that with simply:
<?php elseif ( tribe_events_week_is_current_today() ): ?>See if anything changes.
If that doesn’t help, any chance the div you’re generating here with the code in your PasteBin snippet is viewable on a public website somewhere? If so, share a link and we can take a closer look, and determine if that tribe_events_week_is_current_today() function is working in the div itself, where it’s being used to conditionally add the CSS class .tribe-week-today.
Thanks!
GeorgeGeorge
ParticipantThanks for sharing this! Good to know, and it’ll be useful to have this in case we see other customers have similar conflicts.
Best of luck with your site. I’ll close up this particular support ticket for now, but if you have other issues or questions, come back any time and open a new one.
Cheers 🙂
GeorgeGeorge
ParticipantHey Alain,
Thanks for sharing more information here, and for doing those tests originally. There are several different possible things that could be to blame for your issues here, but I don’t want to be inefficient and waste time pursuing possible culprits randomly.
With this in mind, I’m curious: would you be comfortable letting us log into one of your development sites and view your events in the admin directly? We’ll not actually make any changes anywhere without getting your go-ahead first – we’ll simply look at how things are configured and see what can be learned there.
Doing this can be really helpful, and will let us at least narrow down the possible sources of this issue.
If letting us log into your site is something you’re comfortable with, please read the following steps carefully:
• First, check out the Tribe terms and conditions here → https://theeventscalendar.com/terms/. As mentioned, we’ll almost certainly not even touch anything, but it’s important that you understand that we’ll be accessing the admin areas of your site. If you’re cool with us logging into your site, write in your reply that you understand the terms and conditions I linked to above, and the limited scope of Tribe’s liability here.
• Next, once you’re cool with our Terms and such, make sure that you have some sort of method for backing up your site, and that you can definitely restore your site from this backup. A backup you can’t use isn’t much of a backup 🙂
• Finally, when you feel squared away with these first two items, you can post your login information here. Please be sure to mark your reply as a Private Reply before posting your information – this will ensure that only you and us here at the Tribe support team can see your info. Even then, we will remove the information from the forums to improve security.
Apologies for the long email here – we just take our customers’ sites very seriously and want to make sure we’re doing everything safely and smartly when dealing with them.
Let us know what you think! If letting us log into your site isn’t something you feel comfortable with, no worries – we can proceed with other debugging steps from there.
Thanks for your patience,
GeorgeGeorge
ParticipantAwesome! Glad to hear the issue resolved. I’m curious, any chance you can share a URL to where you originally found that post type order plugin? I only ask because if it’s a popular plugin by any means, and there is an incompatibility with Events Calendar, it might be worth me bringing up in one of our support meetings as a potential bug to fix.
Just curious – no worries if it’s the sort of thing you stumbled on long ago and can’t find now.
Let us know if you have any other questions or concerns here. If not, I’ll go ahead and close up the ticket to keep things neat & organized 🙂
Cheers,
GeorgeGeorge
ParticipantYes! Happy Cyber Monday! We have several coupon codes available today, all with different attributes. Depending on your needs, and other things you might plan on buying, I’d recommend checking out each Coupon Code to find what deals work best for you.
You can see all of our various deals today in the following tweets:
• If you’ll be spending under $99, try “Wishbone” – https://twitter.com/ModernTribeInc/status/539489159170113536
• If you’ll be spending more than $99, look into the following codes: Drumsticks, Butterball, and Trimmings
I hope that helps – let us know if it does!
— George
George
ParticipantHello LeAnne,
Sorry you’re having issues here – I’m curious, though, about what sort of ordering you’re looking for. In the calendar widget on your site’s homepage, events are listed by date with the soonest events at the top, progressively getting further into the future as the list descends.
When I go to your calendar’s main list view at http://www.standrews.net/calendar/list/, I see this same order.
Is that the list view you’re describing as the place where you’re having your issues with event ordering? If not, can you link directly to the problematic page?
If that’s the correct page, but the order is indeed still broken, elaborate on what you’re looking for that’s different than the order already in place.
Thanks!
GeorgeGeorge
ParticipantHey Jameswynn,
We have a whole separate add-on called “Community Events” that adds an event submission form, even for non-registered users – https://theeventscalendar.com/shop/wordpress-community-events/
I do not think this is what you’re looking for, but just wanted to mention it in case you’re not familiar with it.
If that add-on will not suit your needs, can you elaborate on exactly what you’re looking for? When you say “function”, for example, do you mean a PHP function that you can call to create an event from within your theme or another plugin or something similar?
Apologies for any confusion or misunderstanding on my end – if you elaborate on the details of your goals a bit, we’ll get you the answers you’re looking for as soon as possible 🙂
Thanks,
GeorgeGeorge
ParticipantHello,
Just to be clear, do you mean this Facebook Importer → https://theeventscalendar.com/shop/facebook-events/?
If so, this is not included with Events Calendar Pro, it is a separate add-on that must be purchased separately.
If the Facebook Importer I linked to above is not the importer you mean, share a link to the Importer you’re hoping to use.
Thanks!
GeorgeGeorge
ParticipantHey Alain,
Thanks for buying our WooCommerce Tickets extension and giving it a try on your site!
I checked out your site at http://www.staging4.zenagence.ca/dev/ – that’s the URL of the site where you’re having these issues, correct?
When you mention that you went through the debugging steps we recommend, what were some of the specific things you checked? Did you activate a default theme like Twenty Twelve or Twenty Thirteen?
Also, I’m curious – have you added tickets to all of your events, or only some of them? For example, does this specific event have a ticket that’s supposed to be showing up? → http://www.staging4.zenagence.ca/dev/event/test2/
If not, what’s an event that has a correctly-configured WooCommerce ticket?
Apologies for asking so many questions here, just want to get a detailed overview of the issue at hand so we can solve it as fast as possible.Thanks Alain!
GeorgeDecember 1, 2014 at 10:38 am in reply to: Use Jetpack "Visibility" to show widget on main events page #904133George
ParticipantHello,
Unfortunately, there isn’t much more depth I can go into here on the code side of things – we only offer limited support for customizations, especially when they’re mainly related to third-party plugins that are not our own.
But do not be discouraged – the steps I described in my replies above should get you pretty far along, and fortunately, many of the aspects of this sort of customization are easy to find tutorials and reference material for around the web. If you take a look at the filter_widget() function I mentioned and implement it on your site, simply copying it and playing around with modifying it should be a great place to start.
If you truly feel out of your element with this and don’t want to make customizations, the best thing I could recommend would be to hire a web developer or post a task for this on a website like Envato Studio.
Thanks for understanding the limitations of our support here, please let me know if you have other questions on this issue. If not, I’ll close up this ticket and mark it resolved (though you can open another ticket for other issues any time! :)).
Cheers,
GeorgeGeorge
ParticipantNice, thanks for updating the ticket here. I’ll go ahead and close up this ticket, but if other issues or questions pop up, don’t hesitate to come back and open up a new one!
Thanks,
George
George
ParticipantAwesome! I’m glad to hear your issues are fixed – what ended up being the problem? And how did you fix it?
I’m only curious about these things for the record and in case other users encounter similar issues – if you can elaborate on the details here, it could be very helpful for other issues.
If I don’t hear from you, no worries – I’ll close up this ticket, but you can come back to open another thread any time if you have issues or concerns.
Thanks!
George -
AuthorPosts
