Forum Replies Created
-
AuthorPosts
-
September 6, 2016 at 2:35 pm in reply to: Display event category in upcoming event list widget #1160650
Nico
MemberHi there Manuela,
Thanks for getting in touch! Glad to help you once again 🙂
To achieve what you are looking for we an use a snippet or a template override:
Snippet: paste the code below in your theme’s (or child theme’s) functions.php file:
/* Tribe, add event categories to list widget */
add_action ( 'tribe_events_list_widget_after_the_meta', function ( ) {
echo tribe_get_event_categories(
get_the_id(), array(
'before' => '',
'sep' => ', ',
'after' => '',
'label' => null,
'label_before' => '<dt>',
'label_after' => '</dt>',
'wrap_before' => '<dd class="tribe-events-event-categories">',
'wrap_after' => '</dd>',
)
);
});
Please note that you can user other actions to change the position the categories display. Instead of hooking to tribe_events_list_widget_after_the_meta you can change that to any of the following: tribe_events_list_widget_before_the_meta, tribe_events_list_widget_after_the_event_title or tribe_events_list_widget_after_the_event_title . I guess the names are pretty self-explanatory.
Template override: as described in the themer’s guide creat a template override of: wp-content/plugins/events-calendar-pro/src/views/pro/widgets/modules/single-event.php. Once the copy of the file is in the correct path in your theme add the code below where you want the categories to display:
<?phpecho tribe_get_event_categories(
get_the_id(), array(
'before' => '',
'sep' => ', ',
'after' => '',
'label' => null,
'label_before' => '<dt>',
'label_after' => '</dt>',
'wrap_before' => '<dd class="tribe-events-event-categories">',
'wrap_after' => '</dd>',
)
);?>
This is basically the same code used in the snippet, but this solution can be better if the locations of the snippet don’t work for you.
Please let me know if this helps,
Best,
NicoSeptember 6, 2016 at 2:14 pm in reply to: List widget not displaying events after importing #1160639Nico
MemberHi there Chris,
Thanks for reaching out and sorry to hear about this issue 🙁
I have just imported a new list of events and trashed all the previous events.
You mean a list of events imported in CSV format? Can you please send me the file (you can mark your reply as private)? I’ll try to reproduce this issue on my end.
Before trashing the events and then importing the new ones the list module was working, not it is not and is simply saying “There are no upcoming events at this time.”
Are you using the widget in the site sidebar? If so can you try to remove the widget and re-add it again. If you are using a shortcode to disply the widget please send me over the code you re using.
Best,
NicoNico
MemberYou are welcome Rodrigo 🙂
As you marked my previous reply correct and as everything seems to be sorted out I’ll go ahead and close out this thread. If you need help with anything else please don’t hesitate to create a new thread and we will be happy to assist you.
Best,
NicoNico
MemberThis reply is private.
Nico
MemberThis reply is private.
September 6, 2016 at 1:48 pm in reply to: Bounce rates, max size, social buttons, monetisation & showcase. #1160616Nico
MemberSuper stocked to hear and thanks for the compliment 🙂 Best of luck with the site!
I’ll go ahead and close out this thread, but if you need help with anything else please don’t hesitate to create a new one and we will be happy to assist you.
Have a great week,
NicoNico
MemberHi @sipepdesign,
Thanks for getting in touch with us and sorry to hear about this issue 🙁
Was this working at some point in the site or are you just setting it up for the first time?
Paypal not displaying on my website
Please note that the payment is display / processed in the EventBrite website. You should only see the tickets iFrame in the event in your site.
Can you please send over the event URL in your site and also the link to the EventBrite event (you can mark the reply as private if you prefer)?
Please let me know about it,
Best,
NicoNico
MemberHi there Math,
Thanks for getting in touch with us! I’ll help you investigating this issue 🙂
1) I created a test event with 10 tickets to test the sold out snippet shared on a different post. I then bought all 10 tickets, 1 automatically completed while the other 9 for some reason where pending. So on the “My events” community dashboard i had 1 ticket sold and 9 pending.
I then went to woocommerce orders to complete the other 9 orders, after completion instead of having 10 sold tickets i now have 19 yet the total number of tickets set for the event is 10.Can you please share your system information with me so I can check if everything looks right on that end? Also, could you reproduce this issue in default conditions (as shown in the Testing for conflicts guide)? This way we can see if this is a problem in our plugin or a conflict with the theme or other installed plugins.
2) for each batch of orders the order numbers are the same meaning i have 9 tickets with the same order number.
It’s ok to have 9 tickets with the same order number if they were bought together!
3) The initial order that was awaiting confirmation was actually auto cancelled after time limit was reached, i never set any time limits on pending orders, could you please point to where the time limit is set.
Seems to be caused by a WooCommerce setting → Unpaid order cancelled time limit reached
Please let me know about this,
Best,
NicoNico
MemberYou are welcome Warren 🙂
I’ll go ahead and close out this thread, but if you need help with anything else please don’t hesitate to create a new one and we will be happy to assist you.
Best,
NicoSeptember 6, 2016 at 9:05 am in reply to: Bounce rates, max size, social buttons, monetisation & showcase. #1160414Nico
MemberThanks for following up Karen!
Regarding the target of the links to the websites of the events, organizers and venues, you can use the snippet below to force them to open in a new window. You’ll need to paste the snippet in your theme’s (or child theme’s) functions.php file, this will make it safe for further plugin updates:
/* Tribe, force event, venue & organizer websites to open in a new window */
add_filter( 'tribe_get_event_website_link_target', function () { return '_blank'; } );
add_filter( 'tribe_get_venue_website_link_target', function () { return '_blank'; } );
add_filter( 'tribe_get_organizer_website_link_target', function () { return '_blank'; } );
Have you built anything into Events Calendar to help us monetise and fund our websites? It’s fantastic having loads of means to grow the number of events we have, but the server costs can easily reach £1k per month with some good traffic. (Shakes piggy bank to hear a few coins.) Er… anything in the works to deal with the problem of a site being ‘too large’!?
Community Tickets add-on enables you community members to add tickets to events. You’ll get a % (or a flat fee) of the tickets sales. Depending on the type of site you are running this might be a good way of making some money 🙂
Please let me know if there’s anything else I can help you with,
Best,
NicoNico
MemberHey Warren,
Thanks for for confirming the ‘first part’ works 🙂
To add the phone to the CSV export paste the snippet blow in your theme’s (or child theme’s) functions.php file:
/**
* Add billing phone to CSV export
*/
function tribe_csv_export_add_phone_column ( $columns ){return array_merge ( $columns, array('phone' => 'Phone') );
}function tribe_csv_export_populate_phone_column ( $existing, $item, $column ) {
if ( 'phone' == $column ) {
$phone = get_post_meta( $item['order_id'], '_billing_phone', true );
return $phone;
}return $existing;
}function tribe_csv_export_add_phone ( $post_id ) {
add_filter( 'manage_' . get_current_screen()->id . '_columns', 'tribe_csv_export_add_phone_column', 20 );
add_filter( 'tribe_events_tickets_attendees_table_column', 'tribe_csv_export_populate_phone_column', 10, 3 );
}
add_action( 'tribe_events_tickets_generate_filtered_attendees_list', 'tribe_csv_export_add_phone' );
Please let me know if this makes it work as expected,
Best,
NicoSeptember 6, 2016 at 7:23 am in reply to: How to show the ticket sales end date into the event. #1160309Nico
MemberThanks for confirming!
For this you’ll need to create a template override of the tickets email (wp-content/plugins/event-tickets/srv/views/tickets/email.php). Once the override is in the theme folder in the corresponding path, just change lines 277 of the file:
// change this:
$start_date = tribe_get_start_date( $event, true );// to this
$start_date = tribe_get_start_date( $event, true ) . ' - ' . tribe_get_end_date( $event, true );
That should be it, make a test purchase and let me know if it works as expected 🙂
Best,
NicoNico
MemberThanks for following up Mr. Peri, and for describing the use case for this 🙂
Do you have a way of telling if the user should get the discount or not? Maybe a custom field or taxonomy applied to the user? If you can identify the ‘discounted’ user then we can think of other ways of doing this.
The discount coupon is a good option to send by email to the ‘discounted’ user list. You just have to create a coupon in the e-commerce framework you are using (WooCommerce, Easy Digital Downloads, etc) set the correct discount rate, usage restrictions, etc. Depending on the case it might help or not.
Please let me know about my questions above and I’ll continue to help you out,
Best,
NicoNico
MemberThis reply is private.
Nico
MemberThis reply is private.
-
AuthorPosts
