Forum Replies Created
-
AuthorPosts
-
Ilkka
ParticipantHi, it is not only displaying it incorrect it is also writing the tickets wrong. So the time will fail on the tickets as well.
Ilkka
ParticipantHi,
are your events type post? Because i have the same problem that the site wide timezone is changing the displayed time on the event pages that are posts. If i have normal events the time is displayed correctly.
ilkka
Ilkka
ParticipantHi,
Your example is working like it should be. The only problem being for those who do not have any events in march it will show blank. Try a category where you do not have any events in march and you will see what i mean.
thanks
Ilkka
ParticipantHi, One addition. We believe that is how the events calendar is working or is it not?
Ilkka
ParticipantHi,
We do not have any conflicts. Everything is working like it should be. The only problem being that events calendar will always open the calendar from the current date in month view. And we have situations that there is no events in the current date. And this is strange for the customer because it have to start looking for months that has events.
This is our problem. nothing else.
thanks
Ilkka
ParticipantThis reply is private.
Ilkka
ParticipantHi,
We dont have this problem as we stripped the code. The only problem we are facing is that we can not forward the calendar to a current date with events or to next date having events. We can set the default date, but as this has passed, it is really not the best idea to have the default date. If we do not define the default date it will just go to current date with no events. Which is confusing to our customers.
Thanks
Ilkka
ParticipantHi, Okay my above comment is not totally true. We have modified this with the following:
$next_event = tribe_get_events( array(
‘posts_per_page’ => 1,
‘start_date’ => date( ‘Y-m-d H:i:s’ ),
‘tag__not_in’ => array(41),
‘tax_query’ => array(
array(
‘taxonomy’=>‘tribe_events_cat’,
‘field’=>‘slug’,
‘terms’ => $current_category
)
)
));And this will lead to problems. Everything will work just will give error log. So any ideas how we could get our calender to the month that has events and after the current date.
Thanks.
Ilkka
ParticipantHi,
This problem is caused by this:
/**
* Sets the default date for event queries.
*
* Expects to be called during tribe_events_pre_get_posts. Note that this
* function modifies $_REQUEST – this is needed for consistency because
* various parts of TEC inspect that array directly to determine the current
* date.
*
* @param WP_Query $query
*/
function tribe_force_event_date( WP_Query $query ) {
// Don’t touch single posts or queries other than the main query
if ( ! $query->is_main_query() || is_single() ) {
return;
}
// If a date has already been set by some other means, bail out
if ( strlen( $query->get( ‘eventDate’ ) ) || ! empty( $_REQUEST[‘tribe-bar-date’] ) ) {
return;
}
// Change this to whatever date you prefer
$default_date = ‘2017-08’;
// Use the preferred default date
$query->set( ‘eventDate’, $default_date );
$query->set( ‘start_date’, $default_date );
$_REQUEST[‘tribe-bar-date’] = $default_date;
}
add_action( ‘tribe_events_pre_get_posts’, ‘tribe_force_event_date’ );This is found on here:
Which leads us to the next problem. How can we fast forward our calendar to the date where is available events.
thanks
Ilkka
ParticipantThis reply is private.
Ilkka
ParticipantHi,
Thanks for your answer.
Maybe i was not clear enough:
I have events tickets plus and to get it working i need to have the event tickets normal version as well.
Should i update the normal version first or the premium version? Or the opposite?
thanks.
March 12, 2018 at 2:26 am in reply to: Tickets and normal woocommerce products in the same checkout #1476237Ilkka
ParticipantHI,
I wanted to give you a quick update on this one.
As we were trying to fix this. We run a script that we were trying to force woocommerce sending the email ticket to the customer. As we were doing this we started getting blank ticket emails from the system. Once we deleted our script the system started working perfectly.
So i would like to inform you that we believe there is no error in anywhere. It just for some reason does not get activated after the new woocommerce update. Once it has been activated it will start working just fine.
So you do not have errors in the script. I do not know what happens if you would deactivate the plugins. Maybe could do the trick as well.
So for us, everything is working. This was really weird…
thanks
March 5, 2018 at 4:30 am in reply to: Tickets and normal woocommerce products in the same checkout #1469869Ilkka
ParticipantHi,
Okay thanks. i will keep my fingers crossed that this will be fixed soon…
Thanks.
March 4, 2018 at 6:51 am in reply to: Tickets and normal woocommerce products in the same checkout #1469353Ilkka
ParticipantHi,
Just curious to know if you have any solutions for this. As this is really hard to handle manually. I understand that this not the most important thing in your priority list, but i would like to know if there is anything i could to fix this temporarily. Or do you know when the fix is going to be released.
Thanks
March 3, 2018 at 10:46 am in reply to: How to generate tickets again after the check in (function)? #1469176Ilkka
ParticipantSo, this case is solved. Great work.
ilkka
-
AuthorPosts
