Forum Replies Created
-
AuthorPosts
-
April 25, 2015 at 9:57 am in reply to: CSV Import is saying it imports 81 events but only displaying 50… #958303
George
ParticipantHey Chris,
This is odd behavior indeed, and I’m sorry you’ve run into trouble here – there are few things that come to mind that could be problematic here.
First, can you upload your .csv file to a site dropbox or http://ge.tt so we can download and check it out, and even test it ourselves? If your data is too private or you otherwise don’t want to share the file, no worries, I’m just thinking it would be a useful thing to test on our end.
Next, can you run through our official troubleshooting steps here? https://theeventscalendar.com/knowledgebase/testing-for-conflicts/
After each theme or plugin deactivation, try running the import again – this may seem tedious but is actually a much faster and simpler process than it sounds.
This is also an extremely useful and important test, as it will definitively confirm or at least rule-out the possibility of other conflicts happening here on your site.
Let us know what you find!
Thanks,
GeorgeGeorge
ParticipantHello,
Since most of your questions relate to custom implementations of The Events Calendar on your site, we can only provide limited help for those specific questions. But fortunately, most of your questions are squarely within the realm of possibility, and we can at least offer some advice and suggestions that you can take and build on from there. I’ll address your questions in order:
We’re a tourism association and you can see this feature on every member’s page, like this one: http://herdadedamatinha.casasbrancas.pt. Is posted and showing but not working well, for instance we couldn’t sort out the code for the local and the responsiveness behaviour is not really good.
For handling the responsiveness of anything custom-made on your site, you will have to write custom CSS yourself to make things adapt to different browser widths in accordance with your theme. I’d highly recommend getting a tool like Firebug if you use FireFox, or the Developer Tools for either Safari or Chrome to help make the process of writing this custom CSS much easier.
If your tribe_get_events() queries are not showing events reliably by location and other parameters you need, then you may find it better to just write your own custom WP_Query instances. These are a bit more complicated than tribe_get_events(), but let you get a lot more control over how queries are run. One example of how this might be more robust for you is to query by location – you can first find any location-related meta in our official list of meta keys here: https://theeventscalendar.com/knowledgebase/wordpress-post-meta-data/
Then you can use this meta key in a ‘meta_query’ within your custom WP_Query instances. If these terms are not familiar to you, check out the official WP_Query documentation here → https://codex.wordpress.org/Class_Reference/WP_Query
Other thing is the sidebar that is missing in every event. Also need some help on that. We’re using a template that’s based on Visual Composer and we’re using WPML for translations. We have dug the code but couldn’t find a solution for it. (http://www.casasbrancas.pt/evento/sons-do-mira-em-concertos-de-pascoa)
If you can’t get your theme’s sidebar to show up on your events pages, then your best bet might be to make a custom version of The Events Calendar’s single-event.php file in your theme, and then manually copy some of your theme’s sidebar registration code into this modified version of the single event template. We have a thorough guide on making a theme-specific version of files like this in our official themer’s guide here → https://theeventscalendar.com/knowledgebase/themers-guide/
We also wanted to control the featured image better, so we could style each page better, but I guess we have to do that on the CSS file.
You can indeed customize how featured images appear with CSS – for any CSS customizations you want to make on your site, you should add the custom code to the bottom of your theme’s style.css file.
You can get even more control over how featured images show up by modifying events templates as shown in the Themer’s Guide link shared above.
Finally, our recurrent events don’t show up on certain events. They exist, but we don’t know what’s the problem.
Can you clarify what you mean here a bit? I’m sorry for my confusion, but I’m not 100% what the nature of this problem is as you describe it here.
I’m a bit of afraid to scratch down the plugins or move to another template for testing. But we have a copy of the site on another address that we can use for that effect.
If you can indeed run through those steps on that copy of your site, that might be very helpful. We have a full list of our troubleshooting steps here that you should run through → https://theeventscalendar.com/knowledgebase/testing-for-conflicts/
Let us know if you do those steps and what you find by running through them.
There’s a lot of information here, and I’m sorry about any disappointment that might arise related to our limited customization support, but hopefully you find this information helpful as a good place to start! We can handle your recurrence-related issue further from here as the other customization-related issues hopefully clear up, just to keep things organized.
Thanks!
GeorgeGeorge
ParticipantSounds good Jeff! If you’re interested in a list of freelance developers we often recommend, shoot us an email at [email protected] requesting it and we’ll send it over there 🙂
For now, I’ll close up this ticket, but don’t hesitate to come back and open a new one if other issues or questions arise.
Cheers, and best of luck with your project!
April 25, 2015 at 9:15 am in reply to: tribe_events_event_schedule_details showing today's date instead of event date #958293George
ParticipantHey Steve,
Can you clarify what you mean about the code not working now? Is it still showing today’s date, or just not showing…anything?
We are supposed to keep support for customizations quite limited – I really appreciate your patience with the issue and back-and-forth, by the way! – but I’m curious for some more details regarding what you’re trying to do here.
That might be helpful, because for example, your code is currently echoing the schedule details function into the Class attribute of the <li> element – is this intentional? Are you trying to make date-specific class names or something here?
Thanks again for your patience Steve! This function is quite useful and your code is quite workable, so a useful solution can almost certainly be concocted here.
Cheers,
GeorgeGeorge
ParticipantHey Mitchell,
Thank you for elaborating on what you mean here – I appreciate your patience with this, and feel like I know what you mean now.
Now, there is good news and bad news.
First, the bad news:
They pay a credit for enrolling, every time they enroll to a lesson.
Once the user realizes he/she can’t come to the lesson, they have to be able to make the enrollment undone. If the lesson is more than 24 hours away, they get their earlier paid credit back.The credit systems and enrollments/special cancellation features you describe seem like they might be possible with your specific enrollment or eCommerce platform, but it is unfortunately not something related to The Events Calendar or its ticketing add-ons. To make it so would take extensive code customization.
The good news, however, is that you should indeed be able to have users “register” on your site and have login details, and be able to log in to see events while preventing other users from seeing the same content – this is another thing that is mostly not related to The Events Calendar itself, and is a core WordPress feature.
There are many resources online for learning how to use WordPress’ user management and registration features, like this article → http://www.wpbeginner.com/be=ginners-guide/how-to-allow-user-registration-on-your-wordpress-site/
Check out that article and search online for similar ones, let us know if it’s helpful!
Thank you for your patience Mitchell!
— George
George
ParticipantHey Lisa,
If you want to add your own filters to various things within the already-existing Events Calendar code, that is indeed possible but will take customizing the core code directly – something that is not recommended, unless absolutely necessary.
Is that what you mean? If not, let us know.
As for doing things by US State, can you elaborate on this as well? Share some details about exactly what you mean, hopefully we can offer some more insight here 🙂
Cheers!
GeorgeGeorge
ParticipantHi Stephane,
These data attributes are essential to how our calendar runs on the page, they help in a number of functions and actions to help us keep events showing on the correct days in a given month.
Does that help at all? If not, let us know in more detail what you’re curious about in regards to these data attributes.
Further, these attributes should not cause any problems on your page, and they’re also HTML5 valid – do you find this to be true, or are you having problems related to the data attributes? If so, explain them in detail.
Thanks!
GeorgeApril 24, 2015 at 1:42 pm in reply to: Clicking on a repeating event takes you to a different event in the series #958195George
ParticipantHey Glenn,
Sorry for the trouble you’ve run into here. For one thing, we’ve made sure our plugin supports a whole bevy of date formats! 🙂 Head to Events > Settings > Display and then modify any of the datepicker formats you’d like, you should be able to find and use a useful/satisfying format.
As for your recurrence issues, I’m curious if you’re able to reproduce this behavior with another series of events? If this is too much of a pain on your live site, no worries, but if possible, you should try creating just a sample “test” event series – you can use a similar recurrence pattern or a totally different one as your problematic one here, but it doesn’t really matter. Whatever recurrence you set up, just try navigating through events in a similar way to how you’re navigating through the series you mention here, and see if you run into similar date errors with it too.
The second and final question I have is if you only notice this problematic behavior with events that you break out of the series – or do you notice it with any event in this series regardless of it being broken out or not?
Let me know if what I’ve described here makes sense – and, if you can make some test events and investigate this behavior a bit, let us know what you find!
Thanks,
GeorgeApril 24, 2015 at 10:55 am in reply to: Month View – events won't display until there is more than one event that month #958149George
ParticipantHey James,
We will investigate this further and try to recreate the behavior. Stay tuned!
George
ParticipantHey Jennifer,
I do not know of any custom prefixes that would be automatically added that way, unless there was other code on your site doing so.
I’m sorry for the frustration with that, and these meta fields should be working – it may be necessary to try a different export plugin at this point if the current one isn’t picking up all the data.
George
ParticipantHey Nicolas,
Thank you for elaborating on your needs here! The language barrier can indeed be hard to work around sometimes, and I appreciate your patience and willingness to clarify things here. Thank you!
Fortunately, what you’re looking to here should indeed be possible. It may seem complicated, but trust me, the following things are quite simple.
Writing custom code
First, you’ll want to make a custom “Day” view for events within your theme – this way, you can write custom code in this custom day view without breaking anything in the original plugin, and you can update the plugin without having to worry about the updates breaking anything either.
To learn how to make a custom day view, read about the principles of this in our official themer’s guide here → https://theeventscalendar.com/knowledgebase/themers-guide/
Then just apply those ideas to the file in your copy of The Events Calendar called views/day/single-event.php. So, just copy this file into a new folder and file path in your theme called /tribe-events/day/single-event.php.
Once you have this duplicate file in your theme so you can customize it.
Accessing the day’s date
Whenever you’re on a given “day” events list, you can access the date anywhere in that custom /day/single-event.php file by using the following one line of code:
$current_day_date = strtotime( get_query_var( 'eventDate' ) );Now, you have the variable $current_day_date that you can then drop anywhere in the file with PHP’s date() function, which lets you pull specific date elements if you pass the $current_day_date variable to it.
To learn all the specific elements from PHP’s date() function that you can use, read its full documentation here → http://php.net/manual/en/function.date.php
A quick example
For a quick example of this, look at the following screenshot of some date-related code I added in my theme’s custom /day/single-event.php file → https://cloudup.com/cuHc10EnRPL
Here’s how this looks on the front-end of the site → https://cloudup.com/cauPVgOfrpM
It uses the ‘z’ parameter for the PHP date() function – play around with this stuff a while and you should be able to get the hang of it for your custom code needs.
I hope this helps – let us know if it does!
Thanks,
GeorgeGeorge
ParticipantHey Jeff,
I added the customization on my site and do not get the invalid request error, and further wen to your site and temporarily remove the target=”_blank” markup in your link, and tried the link again and still get the Invalid Request error.
Can you confirm this behavior? If you do nothing else but remove the target=”_blank” customization, do the gCal links work again? Or does the invalid request issue persist?
If the issue does persist, then I’d recommend first adding back the target=”_blank” customization, and then proceeding with some debugging steps:
1. Deactivate Jetpack on your site and see if anything improves.
2. If not, proceed with deactivating other plugins one at a time, checking on the issue one at a time.
3. If even deactivating all other plugins does not help, as in steps 1 and 2 here, then proceed with activating a default theme like Twenty Twelve and testing this again.Thanks for your patience Jeff!
George
ParticipantOh! Jennifer I am so sorry, it’s been hard to decipher the exact thing you were looking for there and I’m very sorry about the confusion and miscommunications.
We do of course know the names of our own fields, and I’m so sorry I didn’t understand your question was that simple! We have many ways of showing the field names, though the most straightforward is our official list here! 🙂 https://theeventscalendar.com/knowledgebase/wordpress-post-meta-data/
Any field name not crossed-out there is still used in our plugin, and should work fine for you if you can set up custom fields correctly with that exporter.
Please let me know if this helps! I hope it does.
Cheers,
GeorgeGeorge
ParticipantHey Mitchell,
As far as I understand your use of the word “Subscribe”, no, we do not have a plugin that enables this. And I do not know of one that enables this off the top of my head.
If you want, can you clarify exactly what you mean by “Subscribe”? Can you give examples, and/or describe the behavior in detail? For example: what is the difference between a user who is “Subscribed” vs. one who is not “subscribed”?
Thanks!
GeorgeApril 24, 2015 at 9:18 am in reply to: 'Reset Filters' adds a tag to the search, ie doesnt 'reset' #958093George
ParticipantHey Paul,
I appreciate you disabling that! Not to have you running in circles here, but now with caching wholly disabled, does anything change if you activate a default theme like Twenty Twelve at this point?
If this seems redundant, it is not – if caching was active during your previous theme test, that could completely soil the results of that test. And I’ve dug up the other forum thread here that is similar to this one, and the issue there turned out to be a theme conflict, so I’m suspicious of this since I still am unable to recreate this issue myself.
Let us know what you find Paul – if we can’t find the culprit here, then I may just write you a custom JavaScript solution to patch this for now. Not a “good” / sound method for going forward, as if there is a problem it should really be addressed at its core, but if we are failing to find the problem’s source then a temporary band-aid solution just to keep your site functional and presentable in the real world is not an unreasonable strategy.
We really appreciate your patience with this Paul. Random bugs like this are rare, as we usually can reproduce an error and work backwards from there to solve it, but this one is seeming quite unique to your use case somehow.
We won’t give up though 🙂 Let us know what you find from the theme test, and I’ll get working on a temporary JavaScript patch in case the theme test isn’t fruitful.
Appreciatively,
George -
AuthorPosts
