Forum Replies Created
-
AuthorPosts
-
Cliff
MemberHi, Valerie. We don’t have this, but it could be added via custom coding. You can reference https://theeventscalendar.com/knowledgebase/creating-custom-filters-for-filter-bar/
If you need some coding help, you may want to ask your developer or reference our documentation and list of known customizers.
Alternatively, you could request this as a new feature (or maybe search to see if the idea was already posted by someone else) at our plugins’ UserVoice page.
This allows others who are interested in that feature to easily voice their support. We frequently review suggestions there to find out which ones are popular, then we implement as many of them as we can.
If you post it / find it, feel free to link to it from here in case anyone comes across this forum thread in the future.
January 4, 2018 at 2:46 pm in reply to: Active filters selected are not displayed when Find Events buttons clicked #1418398Cliff
Member1)
The Distance filter gets added by using the tribe_events_filters_create_filters action hook in /wp-content/plugins/events-calendar-pro/src/Tribe/Geo_Loc.php
The do_action is in /wp-content/plugins/the-events-calendar-filterbar/src/Tribe/View.php
2)
Here’s a video of me replicating the issue where “Use Javascript to control date filtering” is unchecked: https://cl.ly/0Q0m1e1P1m2v
Are you saying you want this unchecked but for Filter Bar’s filtering to still work via Ajax?
January 4, 2018 at 2:18 pm in reply to: I am trying to connect google calender to the plugin #1418372Cliff
MemberI haven’t seen the Busy event title issue before, but maybe it’s a permissions issue — that Event Aggregator can see the event exists but the event details can’t come through.
To test, paste Google’s iCal link into a browser where you’re logged out of your Google account (e.g. Chrome Incognito) and open that .ics file in a text editor and search for “Busy”.
Please let me know what you find out.
For import limits, please reference https://theeventscalendar.com/knowledgebase/event-aggregators-import-limits-work/
Cliff
MemberHi, Sean. I updated my copy of Avada to the latest version 5.4, including applying all patches and updating the two required plugins (Fusion Builder and Fusion Core).
Please enable WP_DEBUG and WP_DEBUG_LOG (which will create a file on your server at /wp-content/debug.log if there are any WP_DEBUG messages) and visit /wp-admin/widgets.php
You should get these same debug messages:
PHP Warning: array_merge(): Argument #5 is not an array in /wp-includes/widgets.php on line 1159
PHP Stack trace:
PHP 1. {main}() /wp-admin/widgets.php:0
PHP 2. retrieve_widgets() /wp-admin/widgets.php:124
PHP 3. call_user_func_array:{/wp-includes/widgets.php:1159}() /wp-includes/widgets.php:1159
PHP 4. array_merge() /wp-includes/widgets.php:1159
PHP Warning: array_diff(): Argument #2 is not an array in /wp-includes/widgets.php on line 1160
PHP Stack trace:
PHP 1. {main}() /wp-admin/widgets.php:0
PHP 2. retrieve_widgets() /wp-admin/widgets.php:124
PHP 3. array_diff() /wp-includes/widgets.php:1160
PHP Warning: Invalid argument supplied for foreach() in /wp-includes/widgets.php on line 1162
PHP Stack trace:
PHP 1. {main}() /wp-admin/widgets.php:0
PHP 2. retrieve_widgets() /wp-admin/widgets.php:124
PHP Warning: array_merge(): Argument #1 is not an array in /wp-includes/widgets.php on line 1170
PHP Stack trace:
PHP 1. {main}() /wp-admin/widgets.php:0
PHP 2. retrieve_widgets() /wp-admin/widgets.php:124
PHP 3. array_merge() /wp-includes/widgets.php:1170Additionally, check your JavaScript console at the Widgets screen (if needed, you may reference our KB article Using Google Chrome Developer Tools) and compare these:
- Twenty Seventeen: https://cl.ly/0Q3K1P2B3W1T (no issues)
- Avada: https://cl.ly/0G1y3E2n442q (multiple issues)
Please let us know how things go after passing along the information regarding these two issues (WP_DEBUG and console messages) to Avada’s support.
Thank you.
Cliff
MemberThe fix is for the wp-admin area being unavailable to make changes to Events Settings.
There is no confirmed issue with the Google Maps API.
I see from your System Information Report that you have the AIza…sFYQ Google Maps API key, and visiting your site I see that API key in the page source… This leads me to believe that your theme or another plugin is including Google Maps without an API key.
Please follow our Testing for Conflicts Guide (basically switch to Twenty Seventeen theme and deactivate all plugins and custom code other than Modern Tribe plugins) and see if that helps narrow down the cause of this.
Of course, we always recommend restorable database and file backups before modifying anything on your site.
Cliff
MemberHi, Andre. Sorry you’re experiencing this.
I wasn’t able to replicate this on my own testing site.
Please use your WP Engine staging site functionality to follow these recommended troubleshooting steps for your own site:
Could you please make sure all your Modern Tribe plugins (and WordPress core) are at their latest versions?
- Downloads / Version Numbers
- License Keys
- TEC Automatic Updates
- or TEC Manual Updates
- WordPress core updates
Once you verify you’re on the latest versions, please test to see if the issue is still happening for you.
If it is, please follow our Testing for Conflicts Guide (basically switch to Twenty Seventeen theme and deactivate all plugins and custom code other than Modern Tribe plugins) and see if that helps narrow down the cause of this.
Of course, we always recommend restorable database and file backups before modifying anything on your site.
If it doesn’t, please enable WP_DEBUG and WP_DEBUG_LOG (which will create a file on your server at /wp-content/debug.log if there are any WP_DEBUG messages) and share any debug messages you see while trying to replicate this issue and doing other things on your site relevant to this ticket (such as visiting your site’s home page, events page, single-event pages, and anything else you can think to do).
Then, please share your System Information (while in Testing for Conflicts Mode) in a Private Reply. That will give me a lot of extra information to help troubleshoot this.
You might also see if you can spot any console errors at your site. (If needed, you may reference our KB article Using Google Chrome Developer Tools.)
Let us know what you find out.
Thanks.
Cliff
MemberHi. There’s no setting to accomplish this easily.
You might be able to accomplish this via custom coding, for which I’ll point you to our Themer’s Guide.
If you need some coding help, you may want to ask your developer or reference our documentation and list of known customizers.
Cliff
MemberHi, Jason.
Please review https://theeventscalendar.com/the-trouble-with-excerpts/ and then https://theeventscalendar.com/under-the-hood-filtering-excerpts-events-calendar/ and let me know if these posts answer your questions.
January 3, 2018 at 3:55 pm in reply to: Active filters selected are not displayed when Find Events buttons clicked #1417494Cliff
MemberI found out from others and confirmed on my own testing site that the Distance filter only appears after a “Near” field search has been performed.
Here’s a video of it working as expected on my localhost: https://cl.ly/2R0F2T31351c
Cliff
MemberSorry that didn’t work.
I had a developer take a look and they confirmed some improvements could be made that, in your case, is causing a fatal error (although not happening for everyone).
I marked this thread as Pending Fix, which means it should receive a reply once the applicable fix has been released. I cannot guarantee when it will be fixed as it’s in the development team’s hands now. They need to assign it, code it, test it, and schedule it for release.
I apologize for this issue and appreciate your understanding and patience.
FYI: visiting your site currently produces this error:
Fatal error: Call to undefined function WC() in /wp-content/plugins/mailchimp-for-woocommerce/includes/class-mailchimp-woocommerce-service.php on line 506
You should definitely get that resolved ASAP, either by disabling this plugin or fixing it yourself in this plugin’s code (if you’re comfortable doing so) and report the issue to this plugin’s developer.
Cliff
MemberThat shouldn’t be happening. Please fully delete Filter Bar and then reinstall a fresh copy from https://theeventscalendar.com/my-account/downloads/
Please delete The Events Calendar and install a fresh version from the wp-admin plugin installer.
Deleting The Events Calendar or its add-on plugins will NOT delete any of your data if you delete it via the WordPress plugin manager because that’s how we’ve decided to code our plugin.
FYI: deleting any plugin via FTP or cPanel’s File Manager (i.e. deleting just the files from the server) will also ensure a plugin gets deleted (if you delete the entire plugin folder) without removing any data from the database. This can sometimes be helpful to know in cases where a plugin does run an uninstall routine to delete data (again, our plugins do not run such a routine at this time and probably never will).
You can also see the difference when you click to delete a plugin, like this.
Cliff
MemberEven the URL you shared is out of order. This was a recent bug that has been fixed.
Could you please make sure all your Modern Tribe plugins (and WordPress core) are at their latest versions?
- Downloads / Version Numbers
- License Keys
- TEC Automatic Updates
- or TEC Manual Updates
- WordPress core updates
Once you verify you’re on the latest versions, please test to see if the issue is still happening for you.
January 2, 2018 at 10:44 pm in reply to: Active filters selected are not displayed when Find Events buttons clicked #1416718Cliff
MemberThanks for all the information.
FYI: I wasn’t able to open a .swf file. If you feel we’d still need a video to understand the issue, https://www.techsmith.com/jing-tool.html is cross-platform, free, and easy to use. https://www.getcloudapp.com/ is even nicer but has paid plans.
Following your steps to reproduce, I saw this console error at your site: https://cl.ly/3u3u0r0U0J2H
(If needed, you may reference our KB article Using Google Chrome Developer Tools.)FYI: There was also a console message about no Google Maps API key (https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys), which the distance searching would require. Please follow https://theeventscalendar.com/knowledgebase/setting-up-your-google-maps-api-key/ if you need to get an API key.
To your questions:
- Does the “proximity” filter disappear even when the “Use Javascript to control date filtering” option in TEC settings is CHECKED?
- Filter Bar’s “distance” filter (or “proximity” filter on your site) is only available if Events Calendar PRO is also available, but this filter isn’t limited to Map View.
Cliff
MemberThere’s no requirement. We have internal plans and strategy that are influenced by the votes and comments (use cases shared in the comments). Therefore, an idea with 10 votes might get implemented sooner than an idea with 200 votes because it was already on our to-do list (coincidental) or because it fits in (maybe a use case we didn’t think of but we can quick-adapt to accommodate it).
Therefore, it’s an influence but there’s no bar set for “if it gets X-number of votes, it’ll be implemented within Y-number of months.”
If you need it implemented sooner-than-later, you may want to hire your developer or reference our list of known customizers.
January 2, 2018 at 9:35 pm in reply to: Getting an event from our calendar to another organization's calendar fully inta #1416692Cliff
MemberSure!
Basically the 10 is always the default priority and the 2 is normally 1 by default.
In other words, add_filter( ‘this_thing’, ‘my_thing’) is exactly the same as add_filter( ‘this_thing’, ‘my_thing’, 10, 1)
You always need to look for apply_filters for ‘this_thing’ in the code to know what parameters are sent by the filter — i.e. what data is filterable.
Example A: apply_filters( ‘this_thing’, $url );
If you did add_filter( ‘this_thing’, ‘my_thing’, 10, 2), that’d be incorrect because only 1 parameter is sent along with this specific filter.
Example B: apply_filters( ‘this_thing’, $url, $event, ‘bob’, $version );
There are 4 parameters sent with this filter.
Only the first — $url — is returnable/modifiable. However, the other 3 are there in case you need to run some logic against them in order to know how to modify $url.
If you did add_filter( ‘this_thing’, ‘my_thing’, 10, 2) — because you don’t need ‘bob’ or $version — then you could modify $url based on $event.
If you need $version to know how to modify $url, then you’d need to do add_filter( ‘this_thing’, ‘my_thing’, 10, 4). You can’t skip the second $event and third ‘bob’ parameters if you only need the first $url and fourth $version parameters; you just wouldn’t use $event or $bob variables in your custom function:
function my_thing( $url, $event, $name, $version) {
if( 'beta' === $version ) {
return 'https://www.google.com/beta/';
} else {
return $url; // unmodified but we always need to return something when doing a filter
}
}As far as your custom function’s parameters go, you can name them whatever you want. In this example, $name will always equal the ‘bob’ string (because that’s what’s sent via apply_filters), but you need to “use” it by giving it a variable name… $bob, $name, $blah_blah — its variable name doesn’t matter and doesn’t have to match that from apply_filters.
For the priority… 10 is the default; 9 runs before 10, which runs before 50. The minimum is zero. The maximum is the PHP_MAX_INT constant (i.e. a super big number), but common practice is something like 100 or 999 if you really need to ensure your filter runs last (i.e. overrides other filters that ran before it, such as at priority 10).
I hope this helps. If you need even more info about this, check out https://theeventscalendar.com/tips-working-wordpress-actions-filters/
-
AuthorPosts
