Santiago
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar] Force certain options to be selectedHi @belbo ,
Let me know if I’m wrong about this, but I assume you need to share some specific settings across the multisite network.
There is no straight forward way to do that, but you could accomplish it with some custom code.
There is a handy filter in the function get_option that allows you to replace the option value when needed.
Here is the documentation for the filter> https://developer.wordpress.org/reference/hooks/pre_option_option/And here is the documentation for TEC function tribe_get_option() in case you whant to have a look.
Also, an easy example on how this should be put toghether> https://wordpress.stackexchange.com/questions/192450/how-do-i-share-plugin-settings-across-wordpress-network
Let me know if this helps you.
Best
SantiagoForum: Plugins
In reply to: [The Events Calendar] Could the Event edited by the organisers?Hello @muahongkong ,
Thanks for getting in touch,Sure, you can provide your organizers with credentials with limited capabilities to just editing posts (events).
Here is how WP user roles work> https://www.wpbeginner.com/beginners-guide/wordpress-user-roles-and-permissions/In addition you could use a plugin to ease the task. Something like> https://es.wordpress.org/plugins/user-role-editor/
Let me know if it helps!
Best
SantiagoForum: Plugins
In reply to: [The Events Calendar] Events Calendar Date Picker z-indexHello @jupiter1955,
Thanks for reaching out,Inspecting the code in your events page, I see that you have some custom CSS. There is one specific line hiding the “Find Events” button (.tribe-bar-submit {display:none}). Is it intended?
Also, the event-content has no top margin and is messing with the bar.
Therere is some extra padding on some elements.Could you try taking the custom CSS away and starting from the beginning?
Let me know how it goes
Best
SantiagoForum: Plugins
In reply to: [The Events Calendar] Show Category Description in List viewHey,
I’m happy to hear that it worked!I will go ahead and mark this thread as ‘resolved’.
Please reach out if anything comes up, we’ll be happy to help.Cheers!
SantiagoForum: Plugins
In reply to: [The Events Calendar] Show Category Description in List viewHi there @ddumondgmailcom ,
Assuming you are trying this code in the right template: /plugins/the-events-calendar/src/views/list/single-event.php
Could you try this instead?$event_id = get_the_ID();
$event_cats = get_the_terms($event_id, ‘tribe_events_cat’);
foreach ($event_cats as $category) {
echo ‘<p>’ . $category->name . ‘</p>’;
echo ‘<p>’ . $category->description . ‘</p>’;
}Let me know how it goes
Best
SantiagoForum: Plugins
In reply to: [The Events Calendar] tribe_get_events and multiday eventsHi Andy,
Thanks for writing in,From what I see in your snippet, there are a couple of things to point out.
It will never retrieve multiday events, as it is specifically telling to bring events starting and ending within the same date ($searchDate).
Also, it all depends on the value of $searchDate.This should be assigned with a date without time.
Here is a knowledgebase article that will help you on this: https://support.theeventscalendar.com/666307-Using-tribe_get_eventsPlease let me know if this helps
Best
SantiagoForum: Plugins
In reply to: [The Events Calendar] Related postsHi @romanzif ,
Thanks for reaching out to us,I think that you are using the right filter there.
Could you try changing the If condition to (is_singular( ‘tribe_events’ )) ?Let me know if this changes anything
Best
SantiagoForum: Plugins
In reply to: [The Events Calendar] display only with certain pageHello Frank,
Thanks for writing in with this question,It is more of a WordPress question rather than a TEC one, but I’m happy to help you out here.
The easy way to accomplish this would be installing a plugin like Widget Context
Here is a quick tutorial that might help> https://youtu.be/WEvNf8Ox9zE
Please let me know if this works for you
Best
SantiagoForum: Plugins
In reply to: [The Events Calendar] Tribe Events Bar on HomePageHi there,
I see this is a duplicate question.
I will mark this thread as resolved as it is already answered here
https://wordpress.org/support/topic/about-the-search-bar-2/#post-11891876Cheers
SantiagoForum: Plugins
In reply to: [The Events Calendar] About the Search BarHi there,
Thanks for reaching out to us.There is no built-in feature in TEC nor in EC PRO for including the search bar in another page.
However, there is a custom implementation from one of our customers that will help you on this.
Have a look here: http://gregorypearcey.com/blog/add-tribe-events-search-bar-home-page/Let me know if this works for you.
Regards
SantiagoHi there @palilastudio,
Thanks for reaching out to us,
You did a great job pinpoiting the conflict.
There is something I’d like to try, just as a lucky guess. Could you have a look on our Themer’s Guide ?
Try overriding the template for the specific view you are having problems with and see if that changes anything.If this doesn’t work, it’d be good to reach out to Directorist’s support forum and see if they know about this issue. There might be a workaround on their side.
Please let me know how this goes.
Regards
SantiagoForum: Plugins
In reply to: [The Events Calendar] Fatal Error triggered by plugin activationHi there @butlermedia ,
I’m sorry to hear about this issue.We do have reports from time to time regarding fatal error when installing or updating the plugin. Most of the times it is related to corrupted files on upload or unziping process.
That said. Just to make sure you are not using an already corrupted file. Could you make sure you get a fresh copy of the plugin from here?
https://wordpress.org/plugins/the-events-calendar/Then try installing from WordPress installer instead of using FTP.
Please let me know how this goes.
Regards
SantiagoHi @leviator,
Thanks for reaching out,Unfortunately, time range in tribe_get_events() will only bring events starting and ending within the the given dates.
In order to retrive ongoing events, you will need to craft your own code.
This article might point you in the right direction on how to do it.
https://support.theeventscalendar.com/058145-Querying-ongoing-and-single-events-separatelyPlease have a look, and let me know if you need further help.
Regards
SantiagoForum: Plugins
In reply to: [The Events Calendar] Cloning event dates to different eventsHi @widem,
Thanks for reaching out,TEC does not offer a built-in feature for acomplishing this.
Fortunately, there is a third party plugin that does the trick.
https://wordpress.org/plugins/duplicate-tec-event/
Actually, any plugin that supports custom post types duplicating would work. But you could start giving this one a try, and see how it works.Let me know if this helps
Regards
SantiagoForum: Plugins
In reply to: [The Events Calendar] Start time only optionHi @kellyalan,
Thanks for reaching out to us,While there is no straight forward way to create an event without an end time, you could hide the end time from a regular event.
Here is how I’d do it.
– create an event with start and end time. Make sure you assign a specific tag or category to those events you need to hide end time for.
– override the template for the single event views you need to show in your site following our Themer’s Guide . You will need to use the chosen tag or category to identify the events for hiding the end time.Let me know if you need further help here.
Regards
Santiago