Forum Replies Created
-
AuthorPosts
-
George
ParticipantHey Jon,
This is unfortunately a tricky customization to make – while it would be possible to literally append “W” or “N” specifically to certain coordinate components, it’s hard to actually make this dynamic – in other words, to have N/S/E/W directionality be automatically applied based on those two values provided for a venue.
It’s also tricky to get this as something that’s hard-coded into the iCal feed export.
Here’s an example of the basic method for actually just appending W or N like you’ve mentioned:
$coords = tribe_get_coordinates();
$new_coords = sprintf( '%sN, %sW', $coords['lat'], $coords['lng'] );echo $new_coords;
That will take these original coordinates:
42.3470087 -71.0878904And output them (as the $new_coords variable) as this:
42.3470087N, -71.0878904WIt’s the matter of actually using these transformed coordinates that is the hard part, and is unfortunately a bit outside of the scope of the support forums here (and, also, is genuinely something tricky enough that I honestly just don’t have a solution for it at this time!).
The only thing I can think of right now that would reliably alter this coordinate output automatically, and thus hopefully alter the output when added to a generated iCal feed file, would be to apply filters to tribe_get_coordinates, something like this:
add_filter( 'tribe_get_coordinates', 'example_add_dir_to_coords' );function example_add_dir_to_coords( $output ) {
if ( ! is_array( $output ) || ! isset( $output['lng'] ) || ! isset( $output['lat'] ) ) {
return $output;
}$output['lat'] = sprintf( '%sN', $output['lat'] );
$output['lng'] = sprintf( '%sW' , $output['lng'] );return $output;
}
I’m sorry to disappoint! Hopefully some of the information I provided here is helpful in some capacity – let me know if that’s the case, or if you have any other questions or concerns.
Thank you,
GeorgeGeorge
ParticipantHey Daniel,
I’m flattered you’re thanking me, when you’re the one worthy of thanks here! Thank you for: buying our plugin, complimenting our code, complimenting my support response here, and for commenting about your awareness of our custom code limitations and stuff.
You rock, and should shoot us an email at [email protected] with a link back to this thread if you ever want to buy something in the future – we’d love to hook you up with a little discount action 😉 Even if it’s just for when you want to renew the Pro license you just purchased!
Thanks Daniel, see you around the forums.
Cheers,
GeorgeGeorge
ParticipantHey @Hans-Gerd,
Thanks for reaching out!
The tribe_get_events() function is designed to be used in basically any file where you’d need to use it – you can use it in your theme, in other plugins, anything really.
Can you elaborate on your goals for using this function, and provide some specific details about what you want to achieve? We might be able to provide some extra context and better examples from there 🙂
Thanks,
GeorgeGeorge
ParticipantHey @media325,
Sorry to hear about this trouble on your site – when you mention “3.11.1”, do you mean that’s your version of The Events Calendar itself? If so, what version is currently active on your site for the Facebook Events Importer add-on specifically?
Thank you!
GeorgeGeorge
ParticipantHey Brian,
I’m sorry to hear about your running into these issues – I’m glad you’ve figured out the problematic plugin though. Can you elaborate a bit on this bit of information you provided here:
I have turned off all plugins and have narrowed down to the the add-on.
When you say you “Narrowed down to the add-on”, do you mean that with a default theme like 2015 active, and all plugins except for The Events Calendar and Community Events active, this problem still persisted?
Or do you mean that you tested plugins and found that this problem only arose when a certain other plugin was active on your site? If so – which one?
Also, can you clarify each of the following details?
1. What version of The Events Calendar is active on your site?
2. What version of Community Events is active on your site?
3. What version of WordPress itself are you running on your site?Thanks in advance for all this info!
— George
George
ParticipantHey @dff4kozt,
Sorry you’re having issues here! Just to be clear, are you talking about using the Start Date and End Date filters that are provided by Advanced Post Manager? (screenshot → https://cloudup.com/cdz7ISC6YRg)
Or do you mean the column headers on the far-right side of the columns in the admin table, that allow you to “sort” by Start Date or End Date? (screenshot → https://cloudup.com/cpWxcKoP_Eg)
Just want to be certain I know what you’re describing – thank you! 🙂
— George
July 29, 2015 at 7:18 am in reply to: Can't remove Facebook and Google+ share buttons from events page #991393George
ParticipantHey Margaret,
I checked out http://www.wacoc.org and was unable to find buttons that linked to Facebook or Google Plus like you mentioned – is this the website where you have this problem? If not, can you link directly to the site whose events have these buttons displaying?
Perhaps that is the right URL, but you’ve deactivated the plugin or something – if this is the case, can you re-activate the plugin that adds those sharing buttons and let us know? We’ll take another look.
The reason I’m interested in seeing the buttons on your site directly is because I think, unfortunately, that the only way to always hide these buttons on Single Events is with a bit of custom CSS, so if I can see the buttons live I’ll share some CSS you can use to hide them 🙂
Cheers!
GeorgeGeorge
ParticipantHey @karenlawr,
Thanks for reaching out to us! There is indeed a yearly renewal system for licenses – one license is “valid” for 12 months from the day of purchase, so during that time you get support access, automatic plugin updates, etc.
Renewing is optional and usually comes with a 30% discount off the original list price. Our prices did raise in general though, since last year, so this discount may not seem like it’s applied but that’s just because of the price increase itself.
As for “new options”, we’ve indeed added two new license types, both by popular demand: one is an “Unlimited” license, granting you install/update/support privileges on an unlimited number of non-multisite WordPress sites. The other new one is a “Multisite” license, so if you have a Multisite network of more than 10 sites, you can buy that and license the whole network and save some money instead of buying something like the aforementioned “Unlimited” license.
I hope this information all helps – let me know if it does or if you have any further questions, concerns, etc.
Cheers!
GeorgeJuly 29, 2015 at 6:43 am in reply to: Remove "Upcoming Events|" in page title and change it on page heading #991364George
ParticipantHey Frank,
When it comes to customizing this title on the front-end of your site, we have a Knowledgebase article on the topic here → https://theeventscalendar.com/knowledgebase/altering-or-removing-headings-on-calendar-views/
That should be quite handy.
As for customizing things in the HTML title element of the document, this requires some more custom coding and would basically mean just writing custom titles in a filter for wp_title(). The trick is to assign a priority lower than 1000 so that it shows correctly.
I demonstrated how to make this sort of customization in a custom Plugin for you, which you can check out here → https://gist.github.com/ggwicz/b8a6bceaba0edd9efa2a
You can literally install that as a plugin on your site, or copy the code starting with if ( function_exists( ‘tribe_get_events’ ) ) : right in your theme’s functions.php file, and see this change your event titles. Then just customize the titles to your liking.
I hope this helps!
Cheers,
GeorgeGeorge
ParticipantHey @Sky,
While there aren’t shortcodes within The Events Calendar or any of its add-ons at this time (except for some ones that basically replicate various Events widgets), the answer to your question about being able to customize templates on your site is yes.
Depending on your code knowledge / WordPress knowledge / creativity / etc., you can pretty much do anything you want on your site. We do not offer any help with custom coding here, or theme-related things, but we do have a very in-depth Knowledgebase article that shows how to make and customize various templates for The Events Calendar.
Check out this article here: https://theeventscalendar.com/knowledgebase/themers-guide/
If you want to just list events in a certain way, definitely check out the function tribe_get_events() – you can learn more about this function and see some examples of it here:
I hope this information helps! If you have any more specific followup questions or concerns let me know.
Cheers,
GeorgeGeorge
ParticipantHey @Tanja,
I sympathize with your frustration, and appreciate your patience with us as we work on this bug (which we are actively doing, along with a few other bugs that have popped up that are sort-of related).
But let me please just clarify that our closing of that thread was not meant to silence you or anything at all! I’m really sorry that the closing of the thread seemed to be in bad taste, but I assure you that it is more or less the result of an automated workflow we have here.
Basically, if a thread goes without reply for 2 weeks, our SupportDroid bot will automatically close threads like this to keep the forums active and prevent stagnant threads.
Geoff’s last reply on that thread was July 9th – nineteen days ago. So our SupportDroid bot would have auto-closed the Thread, but then Leah’s update notice was posted which closed the thread anyways by accident.
No rudeness was intended – I hope you can see the simple mistake there and see that without a reply for so long anyways, our SupportDroid bot would’ve closed the thread anyways. We try to prevent threads from just sitting there open for a long time because, historically, users might come across open threads and “hijack” them, and start posting unrelated stuff in other people’s threads about their own site issues.
This process helps us keep each thread focused on the original poster of the thread.
Further, the need for manual per-customer updates in threads about bug fixes is usually something we are unable to do. Instead, we publish each fix line-by-line in the Changelog for each update, and it’s encouraged that you check this for each update. If a fix for your problem is included in it, and you update and your problem goes away, then no need for us to pester you further with it in the forums 🙂
Thanks for your patience with the bug and with our forums process, nothing malicious or rude is intended by our forum workflow and in fact quite the opposite is intended: these rules help us keep threads focused, relevant, and encourage the creation of new threads which is almost never a bad thing.
Let me know if you have any further thoughts here.
Thanks,
GeorgeGeorge
ParticipantHey @aprilfrancis,
Thanks for reaching out here. Your questions are unfortunately theme-specific design questions, which we can’t help with, but the general idea here would be to head to the bottom of your theme’s style.css file and write Custom CSS to adjust this layout to your needs.
To make it a lot easier to write such customizations, I highly recommend a tool like Firebug if you use FireFox, or the Developer Tools for either Safari or Chrome – these tools are wonderful and all have an “Inspector” tool that let you zoom right over an element to see what CSS you’ll need to adjust its display.
Something like this might help on your site, though I’m not sure for certain since I was unable to find the Map View page on your site:
#tribe-geo-map-wrapper {
float: left;
clear: both !important;
width: 100% !important;
}If you have other technical support questions or questions about functionality please let me know!
Thank you,
GeorgeGeorge
ParticipantHey @johnkobe,
I noticed that your versions for these plugins are out-of-date, so that might be relevant (and you should update to the most recent versions, which are 3.11 is possible).
But even using these versions shouldn’t completely hide Events.
Do events exist in your admin area any more, or are they all gone too?
Thank you!
GeorgeGeorge
ParticipantWoot! Thanks for the kind words @cappy, very glad to hear our plugins have been of such use for you and your site. Awesome.
As for your question, there’s unfortunately no way for bulk-selecting this option in the admin of the site – however, your import files might have an option for this that you can edit in the file itself, so that upon import each event with that edit just automatically gets the option checked.
I want to be clear that this only might be possible – don’t want to get your hopes up! But if possible, can you copy and paste the contents of one of your import files, for example, into a Gist at http://gist.github.com/ and then share a link back to that Gist in this thread? Don’t worry about the length of the file or anything like that, just copy and paste it in full into a Gist and we can take a look at the import file format to see if something like what I mentioned above is possible.
Thanks in advance for doing this if you’re able to!
George
P.S.
The addition of categories to the Facebook Importer is actually some great feedback, and something that I know is on our radar. Keep your eyes out for updates in the future and read the “Changelog” for each update, you never know what might make its way into a plugin update 😉George
ParticipantHey Cristina!
Thank you for reaching out to us (and for trying our plugins, of course!)
Unfortunately, what you wrote here leaves us in an odd place:
I have deactivated plugins and switched to Twenty Fourteen theme, and I have narrowed it down to a theme conflict. The theme has it’s own event calendar function built in, so I’m assuming that’s where the conflict is occurring. Is this something that your team could assist me with?
There generally is not much we can do if the conflict is coming from a third-party theme or plugin.
I’m really sorry to share that news! One last bit of hope here though is that if you can somehow get your site up live on a server so we can check out your issue in person, we can take some time with our debugging tools and try to figure out exactly what’s going on here.
Sometimes, there’s just a simple little change we can recommend or encourage your theme developer to make that solves the issue. More often, we can at least figure out what the problem is on a code level and give you information to bring to the theme developer, where they can then do what they’d like with that info.
No worries if you’re unable to put the site live at this time – just an idea, because it would let us at least try to help here and I’d love to do that instead of just telling you we can’t help! 🙂
Let us know what you can do – I’m sorry you’ve run into these issues and haven’t had the smoothest experience with our plugins so far, but hopefully we can help here somehow.
Thanks,
George -
AuthorPosts
