Forum Replies Created
-
AuthorPosts
-
Barry
MemberHi Laith,
Great question!
We provide various settings to control date formatting in the Events → Settings → Display admin screen however in this case you would probably need some custom code to bring about the formatting you desire:
function custom_event_schedule_format( $html, $event_id ) { $start_date = tribe_get_start_date( $event_id, false, 'j-F' ); $start_time = tribe_get_start_date( $event_id, false, 'H:i' ); $end_date = tribe_get_end_date( $event_id, false, 'j-F' ); $end_time = tribe_get_end_date( $event_id, false, 'H:i' ); $description = $start_date; if ( $end_date !== $start_date ) { $description .= " to $end_date"; } if ( $start_time !== $end_time ) { $description .= " from $start_time to $end_time"; } if ( $start_time === $end_time ) { $description .= " at $start_time"; } return $description; } add_filter( 'tribe_events_event_schedule_details_inner', 'custom_event_schedule_format', 10, 2 );The above (which is just a starting point you can further adjust to meet your needs) could be added either to a custom plugin or even to your theme’s functions.php file.
Does that help at all?
Barry
MemberHi Ben — hope you’re well!
All kinds of customization are possible and for a high level overview of creating template overrides (and related custom dev tasks) I can recommend our Themer’s Guide. It’s well worth a read if you are new to our plugins or simply new to customizing them:
theeventscalendar.com/knowledgebase/themers-guide
Additionally, this far more specific knowledgebase article may also be of interest to you:
theeventscalendar.com/knowledgebase/understanding-the-tribe-events-bar
What you want to achieve falls into a more advanced category of customization and so, regrettably, we’re limited in terms of just how much support we can offer for this, but I do hope the above resources give you some insights into how you might tackle things.
Let me know if that helps!
Barry
MemberHi Teri,
I’m sorry to say we haven’t yet been able to progress this specific issue — but rest assured we’ll do our best to post an update here in this support topic as soon as there is some news to share 🙂
Thanks for your support and patience in the meantime.
Barry
MemberOK, so just to summarize where we’re at:
- You wish to use BokmÃ¥l (nb_NO) which isn’t a translation we ship with our plugins
- You are trying to create a Bokmål (nb_NO) translation for The Events Calendar, but for some reason PoEdit will not let you edit any strings
Is that basically correct and is there anything else you can tell me about the problems you are facing within PoEdit (specific errors or warnings, or anything of that nature)?
Do you find the process works smoothly for other plugins?
I already linked to the above resources, but just wanted to highlight them again in case you had not yet had an opportunity to review.
Thanks for your patience as we look into this!
Barry
MemberThanks for sharing!
I don’t see anything relating directly to our plugins in your log, though there are event-related errors that seems to start life from within the templates of your child theme.
Were you able to do basic troubleshooting/set up a test site per the notes in my last few replies? I strongly suspect this problem has its origins in your theme or child theme, or else may be a plugin conflict. Again – other users are not generally reporting the same issue and in Maralynn’s case (above) it seems to have been a conflict with Jetpack, which you do not appear to be using.
theeventscalendar.com/knowledgebase/testing-for-conflicts
As a sidenote, I’ve made your previous reply private just as a precaution to stop others from viewing your log.
Barry
MemberThanks for the suggestion 🙂
Rupert — did Maralynn’s idea help here, or else were you able to do any further troubleshooting as per my last reply?
Thanks!
Barry
MemberI don’t think there’s any reason to suspect this is theme-related, so the theme developer is probably correct there.
I am still not able to translate the strings.
Can you clarify if you are trying to do this using a tool such as PoEdit? If so, when exactly are things going wrong – are you completely unable to create, edit and update translations, or is the problem that once you’ve made your manual translations you are unable to use them?
Barry
MemberHi Greg,
We’ll do our best to post updates in this and the other topic you referenced as soon as we have something to share, however there’s no news yet.
Unfortunately, the specialist nature of many fixes for WPML integration issues means it can take longer to roll out fixes than might be the case for other bugs.
Thanks for your support and patience in the meantime.
Barry
MemberHmm, that’s certainly a possibility but I’m afraid we’re unlikely to be able to put together an example of such a solution for you — though of course I’ll update the corresponding bug report to ensure the scenario you described is captured.
March 2, 2017 at 8:41 am in reply to: Custom Fields Check Box Display Issue on Community Events Submission Form #1248449Barry
MemberGlad that worked — and my apologies for the delayed response.
The following knowledgebase article may help you in terms of requiring various fields in the Community Events submission form:
theeventscalendar.com/knowledgebase/required-fields-for-events-submission-form
Please note though that we try hard to stick to one issue per topic, so if you need any more help with this question specifically it would be best to create a new support topic 🙂
Thanks!
Barry
MemberHi Christopher,
My apologies for the delayed response.
That could definitely be a valid feature request: the attendee screen and the breakdown of information has been revised quite a few times and we’ll probably continue to make adjustments and improvements in response to feedback such as yours.
Our UserVoice page is the best way to submit feature requests — and of course you can upvote any suitable requests that already exist or indeed add comments if you are largely on-board with an idea, but have one or two quibbles or observations you feel are valid.
Thanks again!
March 2, 2017 at 8:30 am in reply to: Added a new field in an event, how add data to already registers? #1248353Barry
MemberThanks again! I’ll go ahead and close this topic – but of course if we can help with anything else please don’t hesitate to open a new support topic and one of the team will be only too happy to help!
Barry
MemberThere are times when Facebook will simply not supply us with images when requested (and we made a change recently to try again later in such a situation), so that could be a factor.
Second: We still have after the last update that when we look at the calendar in photo view that the page(s) after the first page are a mess. It looks like it doesn’t load completly. When we refresh this messy page everything comes as it must be.
This is a known bug and we hope to fix it soon: I’ll link this issue with the corresponding bug report and we’ll update you as soon as a fix is available.
February 25, 2017 at 2:42 pm in reply to: _tribe_tickets_attendee_user_id meta is being set to "0" #1245936Barry
MemberThat looks like a decent approach (though it’s a shame it’s necessary) — if you do hit any insights that would help us to see and replicate the source problem though, definitely let us know (and to that end, we’ll leave this support topic open for the time being).
Barry
MemberOh dear!
I can take another poke at this but can’t promise anything, I’m afraid. Even if that snippet was originally provided by one of the team, customization work is something we’re not always able to assist with — especially at times where we are dealing with high volumes of support requests.
That said, do bear with me and I’ll try to circle back to this as soon as I can 🙂
-
AuthorPosts
