masoodak
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar] Is there an user event dashboard available?Hi @tonygao,
Please refer the following KB article, which explains how to embed a list of events that a user has registered for or purchased tickets to, along with the number of registrations/tickets the user holds,
https://theeventscalendar.com/knowledgebase/display-a-list-of-attendees-events/
Forum: Plugins
In reply to: [The Events Calendar] Bug in Shortcode [tribe_events_list]Hi @virtual21,
By default, dates in the [tribe_events_list] shortcode/widget shouldn’t have an anchor tag assigned.
Your site may be facing some conflict(s) either with the theme currently being used on your site or perhaps one of the plugins activated on your site, causing this issue. Kindly run quick conflict testing on your site, following the steps mentioned in the link below,
https://theeventscalendar.com/knowledgebase/k/testing-for-conflicts/
Let us know if the issue persists while all other plugins are inactive and WordPress is switched to a default theme.
Forum: Plugins
In reply to: [The Events Calendar] Remove Add to Calendar section from past eventsHi @databell96
Kindly try using the following code snippet instead and see if it helps to hide “Add to Calendar” links/dropdown from single event page if the event has passed,
add_filter( 'tec_views_v2_subscribe_link_visibility', function ( $subscribe_links ) {
if ( is_singular( Tribe__Events__Main::POSTTYPE ) && tribe_is_past_event() ) {
return false;
}
return $subscribe_links;
}, 100 );Let me know if this helps.
Forum: Plugins
In reply to: [Event Tickets and Registration] Make Payment for RSVPHi @tkgnewseed
Unfortunately, RSVP does not have any payment functionality built-in by default. However, you can utilize free tickets with the Tickets Commerce payment gateway as an alternative option to gather attendee registrations.
You can find more information about setting up Tickets Commerce here,
https://theeventscalendar.com/knowledgebase/tickets-commerce/.
Since you won’t be collecting payments for tickets, there’s no need to connect Tickets Commerce to PayPal or Stripe.
Forum: Plugins
In reply to: [The Events Calendar] Invalid URL when Subscribing to Outlook 365We have created an internal bug ticket for this issue and I have added your case to it. I will definitely share the details you provided with our development team. We don’t have a time estimate for a fix yet, however, as this ticket is linked with the bug report, you will be notified here when there are any updates.
Hang tight for now. If you require assistance with another topic, please feel free to open a new thread.
I appreciate your time and patience here. Have a great day.
Internal Bug Ticket Reference [TECTRIA-197]
Hi @crisbarrion,
Thanks for reaching out!
Could you kindly perform a theme and plugin conflict test on your WordPress site to help identify the root cause of the issue. Start by temporarily switching to a default WordPress theme (like Twenty Twenty-Three) and deactivating all plugins except for The Events Calendar,
https://theeventscalendar.com/knowledgebase/testing-for-conflicts/
Make sure also to disable any must-use plugins that might be active,
https://wpmudev.com/blog/wordpress-mu-plugins/
Please let us know if the issue persists while all other plugins, including must-use ones, excluding The Events Calendar, are disabled and a default theme is active.
Hi @purag
Thank you for sharing the detailed workaround. It will be helpful for others aiming for a similar outcome.
As for querying events that end after now, I have tested the following, and it works as expected. For instance, no results are returned if there are no events ending in the future.
$args = array(
'post_type' => 'tribe_events',
'meta_key' => '_EventEndDate',
'meta_value' => date( 'Y-m-d H:i:s' ),
'meta_compare' => '>='
);
$query = new WP_Query( $args );
if ( $query->have_posts() ) {
while ( $query->have_posts() ) {
$query->the_post();
}
}Please let me know if the result is different on your end, or if there is something I am missing that’s needed to trigger the issue.
Hi @purag,
The following should help get events starting after now (current time) using WP_Query,
$args = array(
'post_type' => 'tribe_events',
'meta_key' => '_EventStartDate',
'meta_value' => date( 'Y-m-d H:i:s' ),
'meta_compare' => '>='
);
$query = new WP_Query( $args );Let us know if this helps.
Hi @purag,
With
tribe_get_events()
you can use'start_date' => 'upcoming'
to fetch upcoming events only if available and return empty array if none. Here’s an example,tribe_get_events( array('start_date' => 'upcoming') );
Alternatively, you could try the following to get a similar outcome,
tribe_get_events(array('ends_after' => 'now'));
Let us know if this helps.
Forum: Plugins
In reply to: [Event Tickets and Registration] Modify Attendance Overview informationHi @lilleweb
Just so I understand better, you are collecting information from attendees using custom attendee information fields (https://i.imgur.com/eJhwUpB.png). For example, if attendees choose a dedicated parking spot while registering for an event (https://i.imgur.com/MddD0pf.png), you would like to have an indication on the backend of how many attendees opted for parking (https://i.imgur.com/ZUcioEk.png).
If this doesn’t outline what you are looking for, please provide more details to help me understand better.
Also, please let me know if you are using only Event Tickets or if you also have Events Tickets Plus.
Forum: Plugins
In reply to: [The Events Calendar] Duplicate eventThe functionality enabling you to duplicate events is part of our Pro plugin; thus, both The Events Calendar and Events Calendar Pro need to be installed and activated.
In case you are a user of our Pro plugin and facing issues with the Duplicate functionality, please open a?Support Ticket?on our Help Desk.
Forum: Plugins
In reply to: [The Events Calendar] How to view content in the widgetHi @umahnken
It’s indeed strange. I tried the same approach on my test site, and it worked fine as the content parsed at the frontend respected <p> and <br> tags.
Can you run quick conflict testing and check if the content output at the frontend changes behavior on a barebones WordPress installation?
https://theeventscalendar.com/knowledgebase/testing-for-conflicts/
Let me know how it goes.
Forum: Plugins
In reply to: [The Events Calendar] How to view content in the widgetHi @umahnken
Could you try it this way,
function get_posts_as_array( $loop_args = array() ) { $posts_output = array(); $defaults = array( 'post_type' => 'tribe_events', 'post_status' => 'publish' ); $post_loop_args = wp_parse_args( $loop_args, $defaults ); $post_loop = new WP_Query( $post_loop_args ); while ( $post_loop->have_posts() ) : $post_loop->the_post(); $single_post_id = get_the_ID(); $single_post = array( 'id' => $single_post_id, 'content' => apply_filters( 'the_content', get_the_content() ) ); array_push( $posts_output, $single_post ); endwhile; // Reset post data to avoid conflicts wp_reset_postdata(); return $posts_output; }
And call it this way,
$posts_array = get_posts_as_array(); $content = ''; foreach ( $posts_array as $post ) { $content .= $post['content']; } echo $content;
Let us know if this works.
Forum: Plugins
In reply to: [The Events Calendar] Event Title not respecting color settings in list viewHi @jbryden530
Could you please share a screenshot that highlights where you are adding the provided CSS code?
Also, try adding the CSS to your site using the WP Code plugin, as explained here, and see if this works,
I have also pasted the same CSS in a dedicated code block to prevent accidental inclusion of markup when copying and pasting,
h3.tribe-events-calendar-list__event-title.tribe-common-h6.tribe-common-h4–min-medium a { color: #81d742; }
Let us know if this helps.
Forum: Plugins
In reply to: [The Events Calendar] shortcode not workingApologies for the misunderstanding on my end.
The shortcode [tribe_events] is part of our Pro plugin, so it requires the Pro plugin to be installed and active. It will not work with just the free version.
To take our plugins out for a spin and experience how the shortcode in question and other features work, please get a demo site for you here,