Forum Replies Created
-
AuthorPosts
-
Nico
MemberThis reply is private.
Nico
MemberThanks for digging into the code Melanie! Great work spotting this issue!
So, if I don’t get you wrong the code in this article is generating the glitch → https://theeventscalendar.com/knowledgebase/handling-ticket-quantities/ ?
Please let me know and I’ll review and look for a better solution (probably using JS to change the quantity once the page has loaded),
Thanks,
NicoNico
MemberThis reply is private.
August 11, 2016 at 11:43 am in reply to: How to add attendee list of specific event to a page? #1150673Nico
MemberStocked to hear this is working now!
/* Shortcode to display attendees list for a given event id [tribe_get_event_attendees event_id=11] */
function tribe_get_event_attendees_logic ( $atts ) {if ( ! class_exists( 'Tribe__Tickets__Tickets' ) || ! isset( $atts['event_id'] ) ) {
return false;
}$event_id = intval( $atts['event_id'] );
if ( empty( $event_id ) ) {
return false;
}$attendees = Tribe__Tickets__Tickets::get_event_attendees( $event_id );
$output = '';
if( ! empty( $attendees ) ) {
$output .= '
Attendees List: ' . get_the_title( $event_id ) . ' - ' . count($attendees) .'
';
$output .= '- ';
- ' . $i . '. ' . $attendee['purchaser_name'] .' (' . $attendee['purchaser_email'] . ') ' . $attendee['provider_slug'] . '<br/>
$i = 0;
foreach ( $attendees as $attendee ) {
$i++;
$output .= '';
}$output .= '
';
} else {
$output .= '<p>There are no attendees for this event yet.</p>';
}return $output;
}
add_shortcode( 'tribe_get_event_attendees', 'tribe_get_event_attendees_logic' );
I updated the code to include a line break in each li, also added the order numbers and the total attendees count as well as the ticket provider. While it’s possible to make the counts for each provider that’s a bit out of the support scope we can provide here!
Please let me know if this works,
Best,
NicoAugust 11, 2016 at 11:35 am in reply to: Importing events from facebook, eventbrite and meetup.com #1150669Nico
MemberHola Jose,
Thanks for getting in touch! I can help you decide if our plugins are the right choice for your site 🙂
1) I manage a local guide and am currently using another plugin for my event calendar, but am looking for a solution for automatically importing facebook, eventbrite and meetup.com events in my neighborhood. Does your pro plugin offer an automatic event pul/importl from these sites?
Our Events Calendar PRO plugin doesn’t take care of importing events from other sites. But we have other add-ons to help you on this: Facebook Events, Eventbrite tickets and iCal importer (import ical feeds, can be used t import from meetup.com). The good news is we have a new plugin coming out really soon (a month time aprox) that combines different import types in one plugin: Event Aggregator.
2) if it does, how do I set up the categories for these events
Hopefully you’ll be able to set a category to each scheduled import you create!
Please let me know if the above answers your questions,
Best,
NicoNico
MemberHi Merav,
Thanks for getting in touch with us! I’ll help you here…
Best way is to actually inspect the body element and check which classes are assigned for each page → https://zapier.com/blog/inspect-element-tutorial/
For main event pages you’ll see the post-type-archive-tribe_events class, and for event category pages the following classes are also added events-category and events-category-slug (slug will be the actual slug of the event category).
Please let me know if that helps you out,
Best,
NicoAugust 11, 2016 at 11:17 am in reply to: I bought Events Pro twice by mistake. I need a refund on the secon #1150663Nico
MemberThis reply is private.
Nico
MemberThanks for following up Kimberly. I’m glad to could find a workaround for this!
As you marked this thread as resolved I’ll go ahead and close it out. Please note that if at any point you decide you want to revisit this issue just open up a new thread and be sure to mention this conversation.
Best,
NicoNico
MemberHi Andrew,
Thanks for getting in touch with us! Interesting questions here.
I guess it’s possible, a way of doing this could be to hook to the order complete status. Take a look at this sample for WooCommerce: detecting order complete / on order completion. If you are using another e-commerce engine you will want to see if an equivalent action is available for it. Once you have hooked to that action you’ll need to get the order object and iterate the items in it to see if a ticket has been actually purchased.
Also, check this answer in stackexchange about actually changing the user role via code.
Please let me know if that helps,
Best,
NicoNico
MemberHey Colin,
Thanks for reaching out to us and sorry to hear about this issue 🙁
First of all, can you please share the error description if you have it in hand?
my question now is how should I reinstall events tickets plus .. to ensure there is no failure .. and will I be able to keep my ticket data intact?
You can perform a manual update of Event Tickets Plus and your events and tickets data will be intact.
Please let me know how it goes,
Best,
NicoNico
MemberThanks for reaching out to us and sorry to hear about this issue with the mini calendar widget 🙁
Let me start by saying I couldn’t find any bugs related to this in our backlog, and haven’t heard of the issue as well. So let’s start troubleshooting this:
– When you add the widget to the page you say month view navigation stops working. This is probably because there’s a javascript error in the page. Can you please check if there’s any evidence of this in the browser console (https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors#Step_3:_Diagnosis)?
– If the above doesn’t yield any results can you please enable WP_DEBUG in your test site and see if any errors get printed in the page when you use the widget in the sidebar or via shortcode in a page.I have also setup the site on my local machine, using just the database and the plugin, twenty fourteen theme and it still crashes.
Are you using the same database as for the live site or a clean one? Also, have you re-download and re-install latest versions of our plugins?
Thanks,
NicoNico
MemberHi there Jon,
Thanks for reaching out to us and for your interest in our products 🙂
Is there a way or shortcode that will allow us to show the next event only so that each week visitors are able to book on the next event without having to see a list of the recurring dates?
Not really but a shortcode for this can be easily coded using the tribe_get_events function. You can also use the upcoming events widget and set the quantity to 1 event, so it will just show the next upcoming event. Does this makes sense?
Please let me know if the above answers your question,
Best,
NicoNico
MemberHey Jason,
Just wanted to give you a heads-up on this, I’m making some progress over this customization but it will take a bit more time before it’s ready!
Thanks for the patience while I work on this,
Best,
NicoNico
MemberHey Aaron, sorry to hear you are still struggling to make this right!
The code snippet you sent: where should I drop it in? Any particular code line #? Should I also rename the file back to “single-event.php” instead of “_single-event.php”? When I name it back to original, a duplicate event image shows up, but it pulls the event date from the last date listed in the events calendar.
The code sent is the actual content of the override file located at [your-theme]/tribe-events/pro/widgets/this-week/single-event.php. So, yes rename it back to ‘single-events.php’, remove all the file contents and replace it with the following:
https://gist.github.com/niconerd/d4bf4aae0a9eb6f1164e8eebc9ab8a54
Save the file and check on the front-end if it works now!
Thanks for the patience while we work on getting this right,
Best,
NicoNico
MemberBuenisimo Eloisa!
2. Descubri ayer que si voy a Events–>Events Categories y luego hago click en view una de mis categorias por ejemplo view a Vida Nocturna en la parte de arriba me sale el enlace de la pagina principal de todos los eventos bajo esa categoria y que puedo copiar ese link y ponerlo en mi pagina principal para que al hacerle click a un link me lleve a la pagina principal de los eventos de esa categoria. Es la forma correcta de hacer esto?
Si al parecer es correcto esto!
Como debo desplegar mis eventos en una pagina sin que lo tenga que añadir como un menú? o sin que tenga que usar el widget, mas concreto aun seria, cual es la forma correcta de añadir una lista de eventos basado en una categoria a una pagina?
Todo depende de como quieras que se vea el sitio. Lo mas recomendable generalmente es añadir un ítem al menú con la dirección del calendario (http://sitename.com/events/ es la URL por defecto). Y en todo caso añadir sub-items de ese menú para las vistas de categorías. Esto me suena mas simple que agregar distintas paginas y embeber widgets con distintas conflagraciones en cada una.
Puedes enviar la URL del sitio en una respuesta privada (veras la opción de marcarla como privada en el form de respuesta).
Saludos,
Nico -
AuthorPosts
