Forum Replies Created
-
AuthorPosts
-
Barry
MemberHappy to help π
November 11, 2015 at 4:11 pm in reply to: Custom translation and disable payment option for users. #1024388Barry
MemberHi Dirk,
Apologies first of all for not catching this earlier on in the exchange – but it is actually a bug in the plugin code which means the translation will only be loaded if the plugin is unable to run (such as if one of the plugins it depends on is not activated).
Of course, that isn’t very useful and we’re going to try and fix this as quickly as possible. I’ll keep you updated π
November 10, 2015 at 4:24 pm in reply to: Anonymous Users Unable to Add New Venues or Organizers #1023982Barry
MemberHi @emazinglights,
I’m sorry for the inconvenience.
We’re aiming to deliver a fix as quickly as possible, but I can’t commit to a specific timeline. Rest assured we’ll drop a note into this topic as soon as we’ve got something further to report.
Thanks again for your patience while we work on this π
November 10, 2015 at 7:25 am in reply to: Some items missing from Add event and from Organizer page #1023722Barry
MemberWith regards to the organizer page … it looks like you are not using Events Calendar PRO.
Ordinarily – unless you’ve customized things (or you are using a theme/plugin that fills in the blanks) – you will not be able to view single organizer pages under these conditions.
What you should find is that – again, under default conditions with no other plugins and only a default theme running – links to single organizer pages are not even generated (and so trying to access the single organizer page directly would indeed fail).
If you are finding you are able to link to single organizer pages and that is the result of code in your theme, another plugin or some custom code then I’d recommend talking to the author/team behind that code.
Does that help/make sense here?
November 10, 2015 at 7:19 am in reply to: Is there a way to automatically import events from an extern events calendar? #1023718Barry
MemberFantastic π
Barry
MemberHi Adage,
To understand date formats (such as what things like Y-m-d: h mean), please refer to the PHP manual – we’re using the same conventions.
Beyond that I’m afraid we have no specific resources on this, though you could certainly refer to our own code used for building the date/time (or “schedule”) information for each event, which can be found here:
The Events Calendar repo: tribe_events_event_schedule_details()
You could certainly reuse as much of that logic as you choose. I hope that helps π
Barry
MemberHi Jacob,
You’re right – it wouldn’t happen automatically.
This is something you’d need to handle as part of your customization. Note that the hook I referred to earlier on in the discussion – tribe_community_event_created – could be a part of how you tackle this (when that action fires, you know that a new community event has just been submitted).
I’m sorry we can’t go into further detail on this one. While it is certainly achievable, technical customizations of this nature are tasks that you (or a developer working on your behalf) really need to drive forward.
With that in mind I don’t think we can go any further here and I will close this topic – but I do wish you luck with this task π
November 10, 2015 at 7:10 am in reply to: Anonymous Users Unable to Add New Venues or Organizers #1023712Barry
MemberHi Enno,
Sorry to hear that – and yes, downgrading may be the best course of action (unless you can live with the current situation until we deliver a fix, of course).
November 9, 2015 at 3:26 pm in reply to: Some items missing from Add event and from Organizer page #1023497Barry
MemberHi UroΕ‘,
Thanks for posting π
adding tags is missing in frontend (it works in backend)
This isn’t currently available in the Community Events submission form. Other users have requested it, though, and I’d encourage you to up-vote the idea if you are also keen on the idea:
schedule is missing in frontend (it works perfect in backend)
I’m not completely clear what you mean by schedule – could you provide some more detail about what you are expecting?
add gallery is missing in frontend
Again this is something where we don’t currently provide what you are looking for, but there is an existing feature request which comes close and you may wish to add your support to it:
You can of course add a completely new request if you feel what’s outlined in the above request isn’t sufficient.
I only get organizer page and empty picture.
Could you link me to an example so I can see the problem?
I do note you are using Eventica and if I recall correctly that ships with a number of customizations targeting our plugin – so it may be worth temporarily switching to a default theme such as Twenty Fifteen to check if the problem remains (this would tell us if the issue is the result of a theme customization or not).
Could you give that a try?
Barry
MemberHi Jacob,
In The Events Calendar, organizers are a type of post not unlike events or blog posts – so the easiest approach to your problem is to create an organizer post for each logged in user that submits an event.
For reasons of efficiency you would probably wish to create an easy way of finding whichever organizer post matches the currently logged in user. Thankfully, WordPress allows you to store arbitrary pieces of meta data for each post and user – that means you could add an _organizer_id field to the user’s meta data, or else a _user_id field to the organizer post meta data, or if you really wanted you could do both.
This would effectively link the two together, letting you easily match user and organizer, etc.
I hope that makes a little more sense, but really it was nothing more than a suggestion and you are of course free to implement this however you want π
November 9, 2015 at 1:47 pm in reply to: Anonymous Users Unable to Add New Venues or Organizers #1023448Barry
MemberAwesome – glad you were able to workaround it and we’ll certainly keep you posted π
Barry
Member(… Just to clarify, you would place that code either in your theme’s functions.php file or else in a custom plugin or some other suitable place π )
Barry
MemberHi Adage,
By default the plugin simply uses the time format set up in WordPress’s Settings → General admin screen.
Changing this will however change the time format everywhere, which may not be your goal. The alternative is to customize things using the tribe_events_event_schedule_details_inner hook. Basic example:
function custom_event_schedule_format( $unused, $event_id ) { return tribe_get_start_date( $event_id, false, 'Y-m-d: h' ) . 'h'; } add_filter( 'tribe_events_event_schedule_details_inner', 'custom_event_schedule_format', 10, 2 );Of course, that’s a really simple example and you’d almost certainly want to tweak it to preserve the sort of date formatting you desire, but it should at least serve to outline the basic approach used to solve this sort of customization issue π
November 9, 2015 at 1:18 pm in reply to: Custom translation and disable payment option for users. #1023437Barry
MemberHi Dirk,
Since the code you provided works perfectly that part of the post is done!
Glad it helped!
We put the translation files here (the same directory as the .pot file):
wp-content/plugins/the-events-calendar-community-events-tickets/langSounds like you did everything correctly and you’ve probably covered this already, but just for the avoidance of any doubt: you did set up the .mo file and not just the .po file? Also, is your site configured to use Dutch via the Settings → General admin screen?
Barry
MemberHi Lori,
It looks like you’re covering almost exactly the same areas in your other topic with Cliff (including this other Woo-related issue) … with that in mind I’ll close this one as your discussion with Cliff is already fairly well advanced and he has a lot more context π
Thanks!
-
AuthorPosts
