Forum Replies Created
-
AuthorPosts
-
Brook
ParticipantThat is excellent news! Thanks for getting back. Good to know about the datepicker, we’ll share that solution with anyone else who has a similar conflict.
Cheers!
– Brook
Brook
ParticipantThis reply is private.
Brook
ParticipantThanks for getting back Henry.
That string is actually used in two places, one in the location we’ve discussed and the other here: event-tickets/src/views/tickets/rsvp.php:125 Since as you can see it is used in the base Event Tickets plugin the same string is shared between it and the Plus one. If it’s translated in the base plugin file it will translate with Plus active as well. Thus to cut down on the amount of translation, that string and any other shared ones are part of the ‘event-tickets’ text domain. To translate those strings without modifying the plugin you should refer to this file: event-tickets/lang/event-tickets-nl_NL.po or even better checkout the WordPress.org community’s translation site where you can contribute translations for all users that will be included in the next release of the plugin.
Let me know if you have any questions about the above. Sorry for the confusion.
Cheers!
– Brook
March 31, 2016 at 1:06 am in reply to: Events Page Search Bar Not Showing Location Search and View type #1096263Brook
ParticipantHowdy Jadu,
Thanks for getting back and detailing everything.
On your site I am noticing that you are using an older version of The Events Calendar, namely version 4.0.7. Could you update that to the latest 4.1.1, along with updating the other The Events Calendar plugins to 4.1.1 ? That will likely make the error go away.
Cheers!
– Brook
Brook
ParticipantThat’s excellent Lee. Nice clean code.
The only reason I suggested making a separate file/URL was so you could still show all events if you wanted. If you are prefilling the search on the home page, then I believe it will prevent the user from being able view events from all locations at once. Depending on your site this may or may not be something you desire. And I have not yet tested your code, so perhaps you found a way to work around that which I’m not seeing.
Thanks for getting back! Let me know if you need anything else. Cheers!
- Brook
Brook
ParticipantThis reply is private.
Brook
ParticipantHowdy Matt,
That was the problem. I’m sorry I did not realize we had started talking about a different URL than the original nordiclarp one.
I can not login to that URL to view the drop down. But it’s likely the solution will be just a little bit of CSS again, nothing too complicated. Could you temporarily grant us access again?
Sorry again for the confusion on my end.
- Brook
Brook
ParticipantHowdy Cesar,
Exactly! Just define those variables, and then sum the three of them up.
Cheers!
– Brook
Brook
ParticipantHowdy Cesar,
Thanks for the screenshot! You found the right line of code there. Put this underneath it:
$startMinuteOptions = Tribe__View_Helpers::getMinuteOptions( null ); $endMinuteOptions = Tribe__View_Helpers::getMinuteOptions( null ); $startHourOptions = Tribe__View_Helpers::getHourOptions( null, true ); $endHourOptions = Tribe__View_Helpers::getHourOptions( null, false ); $startMeridianOptions = Tribe__View_Helpers::getMeridianOptions( null, true ); $endMeridianOptions = Tribe__View_Helpers::getMeridianOptions( null ); $show_global_stock = Tribe__Tickets__Tickets::global_stock_available(); $tickets = Tribe__Tickets__Tickets::get_event_tickets( $event->ID ); $global_stock = new Tribe__Tickets__Global_Stock( $event->ID );Then put the contents of public_html/wp-content/plugins/event-tickets/src/admin-views/meta-box.php underneath that, and make the small modification I outlined.
That help clarify things?
Cheers!
– Brook
Brook
ParticipantOnly fair! I appreciate you’re letting us know, the feedback is good to have. To be honest it won’t change anything for us, but that’s because we’re already building shortcodes as fast as we can. Feedback like htis just gives us more motivation to work hard at what we’re doing. 🙂
Do you want me to refund your most recent order?
Cheers!
– Brook
March 30, 2016 at 5:50 am in reply to: Event Cost not showing up when adding or editing an event #1095828Brook
ParticipantHowdy Dermot,
Sorry for not being clear. No, I meant Event Tickets Plus not Events Calendar Pro. If you have Event Tickets Plus active you will get tickets fields, where you can addle multiple price points for your event including free ones. This more sophisticated functionality then powerw the cost field, and so the cost field is hidden in favor of it.
Regardless of what products you’re running though that snippet I shared should fix things up.
Cheers!
– Brook
Brook
ParticipantYou are welcome!
We have basically finished storyboarding out all of the [shortcode] views. And they are slotted for a release later this year. We might end up releasing all of their capabilities over two release, but the end goal will definitely handle your scenario.
Schedule wise we just did a feature release, we have for 4 more “maintenance” releases over the next 8 weeks scheduled, then we will be onto another feature release. Last I heard shortcodes might make the cut for our next feature release. It’s an enormous feature that will has taken tons of time already, but we’d like to get it out the door ASAP.
Cheers!
– Brook
Brook
ParticipantYou are super welcome! I’m happy it fit the bill so well.
Let us know if you ever need anything else.
- Brook
Brook
ParticipantMorning Joel!
I just learned we’re on track for a release today of v4.1.1. It does fix a goodly number of bugs and I actually think might impact the glitch we’ve been discussing in this topic, but I do not wish to get your hopes up there since it is no way intended to address this specifically. If you want to wait on any more troubleshooting until updating to this release that makes sense. I probably would do, just in case.
Thanks for bearing with us Joel through all the troubleshooting. I am very sad this has been such a pain.
– Brook
Brook
ParticipantHowdy Henry,
I would love to help you with this. Are you include the \ in your translation match string? The full text for the string that needs to be translated is:
Don\’t list me on the public attendee list
Notice how there is a slash preceding the ‘ mark. It’s possible your translation tool is stripping this out. Honestly we probably should not have included that \ in our text to being with, it’s making this more difficult.
If the above doesn’t work, you could certainly translate it using this snippet:
[php]
/*
* EXAMPLE OF CHANGING ANY TEXT (STRING) IN THE EVENTS CALENDAR
* See the codex to learn more about WP text domains:
* http://codex.wordpress.org/Translating_WordPress#Localization_Technology
* Example Tribe domains: ‘tribe-events-calendar’, ‘tribe-events-calendar-pro’…
*/
function tribe_custom_theme_text ( $translations, $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
$custom_text = array(
‘Don\’t list me on the public attendee list’ =>’new text here’
);/if((strpos($domain, ‘event-‘) === 0 || strpos($domain, ‘the-events-‘) === 0) && array_key_exists($text, $custom_text) ) {
$text = $custom_text[$text];
}return $text;
}
add_filter(‘gettext’, ‘tribe_custom_theme_text’, 20, 3);[/php]Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook -
AuthorPosts
