Forum Replies Created
-
AuthorPosts
-
August 29, 2016 at 7:31 am in reply to: Cost Field vanished after Event Ticket & Remove Word FREE #1157048
Geoff
MemberHey Kumar, hope you had a great weekend!
So sorry about the snippet — turns out that it will not accept dashes in the translation. This will work instead:
function tribe_custom_theme_text ( $translation, $text, $domain ) { $custom_text = array( 'Free' => ' ', ); // If this text domain starts with "tribe-", "the-events-", or "event-" and we have replacement text if( (strpos($domain, 'tribe-') === 0 || strpos($domain, 'the-events-') === 0 || strpos($domain, 'event-') === 0) && array_key_exists($translation, $custom_text) ) { $translation = $custom_text[$translation]; } return $translation; } add_filter('gettext', 'tribe_custom_theme_text', 20, 3);Does that work for you as well? Please let me know. 🙂
Cheers!
GeoffGeoff
MemberHey Shawn, thanks for the screenshot!
The is super weird — you’re right that the settings appear correct and yet the ticket is still not displayed on the event.
I also checked to make sure you were running the correct versions of the plugins and all looks good there as well.
The one thing that might be different between my test site and your live site is the theme and other plugins being used. Will you please follow the steps in this guide? It will walk you through activating a default WordPress theme and deactivating other plugins — my hope is that this will help reveal any conflicts that might be preventing the ticket form from showing up and, if so, where those conflicts are.
Thanks for working with me on this!
GeoffGeoff
MemberRight on, thanks for following up! Hopefully all is good since the screenshot I sent was indeed from Mobile Safari on iPhone. Either way, I’m glad to hear all is settled and will close this thread–feel free to let us know if any other questions come up.
Thanks,
GeoffGeoff
MemberHi Colleen, I see my last reply was marked as the correct answer. I’ll go ahead and close this thread but please feel free to let us know if any other questions come up and we’d be happy to help. 🙂
Cheers!
GeoffGeoff
MemberBeautiful!
Thanks a ton for following up and sharing this. 🙂
I’ll go ahead and close this thread but please feel free to let us know if any other questions pop up and we’d be happy to help.
Cheers and have a great weekend!
Geoff
Geoff
MemberHey Shawn,
Shoot, looks like the screenshot didn’t come through — would you be willing to try attaching it again, or perhaps a link to a screenshot?
Thanks!
GeoffGeoff
MemberThat is a really great idea. Would you be willing to post that to our feature request forum? Seems like others would find that useful as well. In fact, I wonder if this request is something similar.
I’ll go ahead and close this ticket for now but definitely feel free to open a new one if any other questions pop up — we’d be happy to help. 🙂
Cheers and have a great weekend!
Geoff
Geoff
MemberHi Shawn and happy Friday!
Will you please try adding a start date to the settings for that ticket? And, when you do, make sure the date is set for this morning or yesterday to ensure that tickets are available.
Here is a screenshot of the ticket settings I am using that seem to do the trick.
Let’s start there and see what we find. 🙂
Cheers!
GeoffGeoff
MemberHi Hilary, happy Friday!
Adding this to your theme’s style.css file or using the Simple Custom CSS plugin should do the trick:
.tribe-events-notices { display: none; }Let me know if that does the trick! If it doesn’t for some reason, it would be awesome to see a screenshot of the notice and I can dig deeper from there. 🙂
Cheers!
GeoffGeoff
MemberHey Steve,
So sorry for the trouble here! I’d be happy to look into this with you.
I tried adding a ticket to the cart from my phone and everything appears to work correctly. Here’s a screenshot of the cart with the ticket I selected.
Were you able to resolve this on your own? Or perhaps there’s something I’m missing and you can help point me in the right direction.
Thanks so much!
GeoffGeoff
MemberHi Luis, thanks for getting in touch!
There sure is a way to do that. It’s happening most likely because of a styling conflict with you theme.
While we are unable to provide technical support here in this Pre-Sales forum, please do open a new thread in our WordPress.org forum with a link to the site and we’d be happy to check that out on our next pass.
Cheers!
GeoffAugust 26, 2016 at 8:31 am in reply to: Triggering approval email to community event poster #1156344Geoff
MemberHey @angust, welcome back to the forums!
Are you allowing anonymous submissions to the Community Events form? If so, then I’m afraid there is no way to trigger an email to the person submitting it since there is no identifiable information to use for an email.
However, if you are requiring people to register on your site to submit events, then that will indeed create a user role for that person with an email address that the Better Notifications for WordPress plugin will be able to manage.
Does that make sense and will it work for you? Please let me know.
Cheers!
GeoffAugust 26, 2016 at 8:27 am in reply to: Cost Field vanished after Event Ticket & Remove Word FREE #1156341Geoff
MemberHey Kumar, thanks for getting in touch!
Good question. Just to confirm, you only want to remove the word “Free” from the event price range. Is that correct?
If so, please try using the snippet posted here:
We can use that to replace “Free -” with nothing at all. Something like this:
function tribe_custom_theme_text ( $translation, $text, $domain ) { // Put your custom text here in a key => value pair // Example: 'Text you want to change' => 'This is what it will be changed to' // The text you want to change is the key, and it is case-sensitive // The text you want to change it to is the value // You can freely add or remove key => values, but make sure to separate them with a comma // This example changes the "Free -" to "" $custom_text = array( 'Free -' => '' ); // If this text domain starts with "tribe-", "the-events-", or "event-" and we have replacement text if( (strpos($domain, 'tribe-') === 0 || strpos($domain, 'the-events-') === 0 || strpos($domain, 'event-') === 0) && array_key_exists($translation, $custom_text) ) { $translation = $custom_text[$translation]; } return $translation; } add_filter('gettext', 'tribe_custom_theme_text', 20, 3);That seemed to do the trick when I tested it out. Will that work for you as well? Please let me know. 🙂
Cheers!
GeoffGeoff
MemberHey there and welcome to the forums!
I see exactly what you mean. Try adding this to you theme’s style.css file or using the Simple Custom CSS plugin:
.tribe-events-notices+#tribe-events-header { display: block !important; }That should bring the navigation back on smaller screens. Here’s a screenshot of how that looks when I tested it out.
Will that work for you as well? Please let me know. 🙂
Cheers!
GeoffGeoff
MemberHey Arnaud and sorry for the trouble here!
I see exactly what you mean: the titles of your events are not displayed.
It appears that your theme has some custom styles that are overriding and conflicting with the calendar’s styles.
To test that, will you please switch to the default WordPress Twenty Sixteen theme and view the page — do the titles show up when the default theme is active?
If so, it would be great if you could reach out to the theme author. They will likely have a much better idea of what’s happening since they are more familiar with their code than we are.
If the titles still do not display in the default WordPress theme, please take a screenshot of it in that state and share it with me here so I can check it out.
Thanks so much!
Geoff -
AuthorPosts
