Forum Replies Created
-
AuthorPosts
-
June 28, 2017 at 12:12 pm in reply to: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) #1310503
Barry
MemberOK – glad to hear you found a way to workaround this, it can certainly cause some confusion but unfortunately it’s not something we can directly control 🙂
Barry
MemberFantastic 🙂
Barry
MemberThanks for clarifying, Anders – I see what you mean now.
As a piece of customization work you can certainly tweak the arguments used to build the query using the following hook:
tribe_events_pro_this_week_widget_query_args
Modifying either the start_date or end_date field (or both) could work for you here. Here’s an example, assuming that in practice all you really need to do is push out the end date by one day:
add_filter( 'tribe_events_pro_this_week_widget_query_args', function( array $args ) { $end_date = strtotime( $args['end_date'] ) + DAY_IN_SECONDS; $args['end_date'] = date( 'Y-m-d', $end_date ); return $args; } );You could of course pull the start date back a day using a similar approach (and this code could be placed inside a custom plugin).
Does that work for you, at least as a starting point you can build on?
Barry
MemberHi @peterppm,
That’s a really interesting question!
So just to clarify: if you have a single event normally found at example.com/event/meeting-on-yyyy-mm-dd you wish to effectively embed this in its entirety within a regular/static WordPress page?
Or, is it something different from that?
Barry
MemberHi Danielle,
I’m sorry to hear that you’re experiencing problems.
There actually isn’t any settings tab specifically for Eventbrite – the process of connecting your site to your account is handled from the APIs tab.
Can you describe what is going wrong when you try to make the connection — are you following the recommended steps such as setting the oAuth Redirect URL as described in that section of the admin screen?
Once the setup process is complete you can perform any actual imports via the Events → Legacy Imports screen 🙂
Barry
MemberHi Anders,
If you have an event spanning a long period of time – suppose it started 4 weeks ago and ends 4 weeks from now – it should indeed appear in the This Week widget’s output.
Are you finding that isn’t the case, or is there something about the way this works you want to tweak further? I’m not completely clear as to the end goal here – so any extra info you can provide would be appreciated!
Thanks 🙂
June 28, 2017 at 7:46 am in reply to: Plugin asking to be activated after being activated. Recurring Event error. #1310145Barry
MemberHi Adam,
That extension does indeed require both The Events Calendar and Events Calendar PRO to function. Looking at your system information, Events Calendar PRO doesn’t appear to be active.
Would you be able to activate it and try again?
Let me know how you get on!
Barry
MemberHi Charlotte,
Great question!
theeventscalendar.com/knowledgebase/fast-forward-list-widget-to-next-upcoming-event
Might the plugin linked to from the above knowledgebase article help with this? Let me know if that helps!
June 28, 2017 at 7:17 am in reply to: Fatal error: Class 'Tribe__Events__Pro__Recurrence__Old_Events_Cleaner' #1310126Barry
MemberHi Adrian,
I’m sorry to hear that: it’s not something I can replicate locally however – and we’re not seeing any similar reports from other users.
Is your version of Events Calendar PRO up-to-date? It may be worth deleting it and re-uploading it in case, for any reason, files are missing.
Can you give that a try and let me know how you get on?
June 28, 2017 at 7:12 am in reply to: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) #1310124Barry
MemberHi NoVa Synchro,
Great question!
Some browsers – and I believe this is especially common with Safari – automatically unzip any downloaded zip files. I believe there is a browser setting that lets you change this. Perhaps the following resource will be helpful here:
discussions.apple.com/thread/2297632
Alternatively, perhaps you could try using a different browser such as Chrome, Firefox or Opera for this task?
Let me know how you get on!
Barry
MemberHi David,
That’s a great question!
By design, rather than fetching the entire page, we just grab the contents of the #tribe-events-content div. There are a few ways you might workaround this.
The important thing of course is that you communicate the desired title in the ajax responses. You could do this by additionally including the events title in a hidden element, or as a data attribute for an existing element. Alternatively, you could include it in the response data by utilizing the tribe_events_ajax_response filter hook.
Client/browser-side, some Javascript could be setup to listen for successful ajax responses (the ajax-success.tribe event will be triggered) which can then grab that fresh title and use it to overwrite the content of your desired title element.
Does that make sense? Unfortunately we cannot go into too much detail with custom dev questions like this one, but I hope that at least gives you a strategy you can explore further 🙂
Barry
MemberHi Rebecca,
That’s odd! Let’s see if we can get to the bottom of this.
Can you open an event that is scheduled to take place on a Monday, Tuesday or Wednesday and confirm it is published? If it is, can you provide me with the URL for that single event (you can grab this from the event editor itself)?
Thanks 🙂
Barry
MemberHi again Dave,
I unfortunately missed that you were referencing the list widget. To change the date format used here, you would need to adjust the following template from Events Calendar PRO:
views/pro/widgets/modules/single-event.php
Following the steps described here please copy this to your theme and make the changes there:
YOUR_THEME/tribe-events/pro/widgets/modules/single-event.php
The section of code you are looking for is the <div class=”list-date”> section, and you can simplify that down to use whatever format you prefer.
Does that help? Let me know if you need any further direction!
Barry
MemberHi Dave,
Thanks for posting and our apologies for the delay in responding.
The first thing to do here is check out the Date Format Settings found in the Events → Settings → Display screen: if tweaking these doesn’t help then we’ll need to take another look — and if you could share your domain (by private reply if you prefer) that might help us to gather some insights into the problem.
Let me know how you get on 🙂
June 28, 2017 at 6:34 am in reply to: isOrganizer error: trying to get property of non-object #1310097Barry
MemberHi Kevin,
Thanks for flagging this!
We’ll be sure to address as soon as possible.
-
AuthorPosts
