Forum Replies Created
-
AuthorPosts
-
Nico
MemberHi André,
Thanks for getting in touch with us! I’ll help you here…
How can we exclude that categories from appearing as options on filter bar dropdown menu?
Paste the snippet below in your theme (or child theme) functions.php file and be sure to place your correct category names:
/* Tribe hide categories from filter */
function tribe_modify_category_filter ( $values, $slug ) {if ( $slug != 'eventcategory' ) return $values;
foreach ( $values as $key => $value ) {
if ( $value['name'] == 'Category Name' || $value['name'] == 'Category Name 2' ) {
unset( $values[$key] );
}
}return $values;
}
add_filter( 'tribe_events_filter_values', 'tribe_modify_category_filter', 10, 2 );
Also could we prevent that categories being printed on single event page info?
I’ve took a look and I’m not sure there might be a snippet that helps 🙁 Probably the best solution is to override the single event template (check the themer’s guide for more details on this) and replace the tribe_get_event_categories function for another on in which you can exclude the cat IDs. Does this sounds good to you? Need extra help to get it done?
Please let me know about it,
Have a great weekend,
NicoJuly 1, 2016 at 5:06 pm in reply to: Translation doesn’t work – .pot file has a record but it’s no effect #1134690Nico
MemberHey Claus,
Thanks for chiming in, but can you please open up a new thread for this? Having just a user/issue per thread usually makes them move faster. When creating the new thread please be sure to Test for conflicts and include your system information, that will surely help getting a better reply. You can also include a link back to this thread if you want to give the issue a bit more context.
Also please check if there’s actually a translation for that string: https://translate.wordpress.org/projects/wp-plugins/event-tickets/stable/da/default – https://translate.wordpress.org/projects/wp-plugins/the-events-calendar/stable/da/default
Regarding the edit of the files, the edited copies should be place in a particular directory to get loaded. Take a look → How to Override Plugin Language Files.
@Borys, please let me know if the issue is solved after the update!
Thanks,
NicoNico
MemberGlad to hear Event Tickets might work for you!
I guess the best way is to give this a spin! I recommend downloading the plugin and inspecting the RSVP class (wp-content/plugins/event-tickets/src/Tribe/RSVP.php) and the RSVP tickets form (wp-content/plugins/event-tickets/src/views/tickets/rsvp.php). You can create a hidden form that submits the data or again inspect the RSVP class specially the generate_tickets method.
Give a try and let me know if there’s anything else I can help you with,
Have a great weekend,
NicoNico
MemberThis reply is private.
July 1, 2016 at 4:44 pm in reply to: Include organizer values to my theme's full text search #1134686Nico
MemberSure I just replied to the other thread!
Please let me know if we are good to close this ticket!
Best,
NicoNico
MemberSorry to hear Manuela…
Just be sure to paste it at then end of the file and check that php tag is open (basically that there’s no ?> before you paste the code in). I re-tried the code in my local install and it’s working as expected. Can you try to re-paste the code from this Gist instead? Maybe there was an enconding issue?
https://gist.github.com/niconerd/35c2f1cf72acee927cabf7d647150ea2
If the problem persists can you please the log for any errors?
Have a great weekend,
NicoNico
MemberThanks for following up Lindsay!
Hopefully you can use the Snazzy WordPress plugin, as far as I could tst it’s working for the maps generated by our product.
You can also use the filter tribe_get_embedded_map to customize the output of the map code!
Please let me know if this answers your question,
Have a great weekend,
NicoNico
MemberLamento que esto siga siendo un problema Alba!
¿Cómo es posible si los archivos que hay en languages/plugins están customizados mediante Poedit? ¿De dónde saca los archivos que se muestran?
Debería mostrar las customizaciones de los archivos de languages/plugins, pero por alguna razón esta fallando 🙁
¿Cuando hay archivos .po y .mo en la carpeta the-events-calendar/lang y en la carpeta languages/plugins, de cuál de las dos carpetas coge los archivos el sistema?
Tomara los de la carpeta languages/plugins! Pero no hace falta que elimines los archivos dentro de ‘the-events-calendar/lang’.
Cuando dices “refresqué el admin”, ¿a qué te refieres? ¿Simplemente a cargarlo de nuevo?
Solamente a recargar la pagina.
La otra opción que he pensado es que no tenga que ver con algo relacionado con WPML. No lo sé. Estoy perdida.
Para descartar que esto sea un conflicto con WPML por favor desinstala el plugin en el sitio de prueba, y proba nuevamente.
Por favor prueba nuevamente sin instalar WPML y decime si hay alguna diferencia, la realidad es que no se de donde puede venir el problema. Tal vez de los permisos de la carpeta ‘languages/plugins’? Podrías revisar que tengan permisos de lectura para el usuarios que ejecuta php? Esto ultimo puedes consultarlo con el servicio técnico del servidor.
Gracias por la paciencia mientras investigamos juntos el problema,
Buen finde,
NicoNico
MemberHeck yeah! Really glad to hear Lucy!
Thanks for the kind words, happy to be of service 🙂
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 weekend,
NicoNico
MemberHi Ted,
Thanks for reaching out!
Please reach out to support at theeventscalendar dot com, we manage license and payment issues over the inbox. Be sure to include my name (Nico) in the subject so I can take your case.
I’ll go ahead and close out this thread. Be sure to reach out by email so I can help you out.
Best,
NicoNico
MemberGracias por la respuesta Alba!
He hecho la prueba en mi sitio local y pude sobreescribir las traducciones sin problemas. Paso a detallar los pasos por si notas algo que hiciste de manera distinta:
- Configure un WordPress para usar Español.
- Cree la carpeta ‘languages/plugins/’ en ‘wp-content’ ya que no existia.
- Copie los archivos the-events-calendar-es_ES.mo y the-events-calendar-es_ES.po a dicha carpeta.
- Con POEdit modifique los strings para ‘Event’ y ‘Events’. Guarde los cambios.
- Refresque el admin y pude comprobar que los cambios fueron tomados con exito. Tambien en el front-end.
Nose que paso estaremos haciendo de manera distinta, pero funciono en el primer intento para mi. Tal vez tenga que ver con el servidor donde estan alojados los sitios? Los dos sitios estan en el mismo server? Existe algun tipo de cache que puedas refrescar?
Espero podamos solucionar el problema pronto!
Saludos,
NicoNico
MemberThanks for following up Erin!
I just checked your site on my mobile device (android) and simulating the breakpoint in the browser and I get the same result: the menu (blue bar) in your theme is overriding the submit button for filter so you can’t actually submit the filters.
Try adding this CSS code to your theme (or child theme) styleshhet or via Simple Custom CSS plugin:
#tribe_events_filters_wrapper {
z-index: 1001!important;
}
Please let me know if it works for you,
Best,
NicoJune 30, 2016 at 5:03 pm in reply to: Include organizer values to my theme's full text search #1134282Nico
MemberHi Manuela,
Glad to help you with this issue as well!
Not sure if you mean:
A) To search for the organizer name when a search is done in the site.
Per default this is not possible, Brian gives a bit more info about it here. I’m aware there are some plugins to extend the default WordPress search to include meta fields and such, but I’m not sure if it will help unfortunately.
B) To show organizers information for events in the search results.
This is indeed possible and would require a template override/edit of your theme search results file (search.php most probably). If this is the case please let me know if you can find the file in you theme and what’s the info you want to show.
Best,
NicoNico
MemberHi there @psasser,
Thanks for reaching out and for following up once you could get this working!
Sorry for the hassle with embeds 🙁 Hopefully the fix for oembeds is already coded and waiting to be released next week, so hopefully this won’t be an issue for too long.
I took a look into the run_shortcode method but couldn’t see why is not working and wp_oembed_get is, but glad to hear the later works for you!
Please let me know if there’s anything else I can do for you,
Best,
NicoNico
MemberHowdy Rajiv,
Welcome to our support forums and thanks for reaching out to us! I’ll help you here…
Hopefully there’s an easier way of doing so, props on the effort anyway 😉
Just go to WP-Admin > Events > Settings > Tickets > Post types that can have tickets and choose which post types can have tickets functionality enabled! I’m not 100% if changing the meta field as you did would cause any issue, my guess is not. But if you have some extra minutes and want to set this up again it might be a good idea.
The topics are auto-closed after two weeks of inactivity so you should be good checking once a week!
Best,
Nico -
AuthorPosts
