Barry

Forum Replies Created

Viewing 15 posts - 6,601 through 6,615 (of 17,936 total)
  • Author
    Posts
  • in reply to: RSS Feed – Time showing incorrectly. #638596
    Barry
    Member

    Hi teammultiverse,

    Looks like a possible oversight on our part; can you test out the code below (by adding it to your theme’s functions.php file) and see if that helps here?

    add_filter( 'get_post_time', 'events_rss2_gmt_pubdate_correction', 20 , 3 );
    
    function events_rss2_gmt_pubdate_correction($time, $d, $gmt) {
    	global $post;
    
    	// Don't interfere if this is not the events feed
    	if ( $post->post_type != TribeEvents::POSTTYPE || ! is_feed() || ! $gmt ) return $time;
    
    	// Don't interfere if the timezone hasn't been set
    	$zone = get_option( 'timezone_string', false );
    	if ( false === $zone ) return $time;
    
    	// Get time and timezone
    	$time = new DateTime( tribe_get_start_date( $post->ID, false, $d ) );
    	$zone = new DateTimeZone( $zone );
    
    	// Apply timezone and calculate offset
    	$time->setTimezone( $zone );
    	$offset = $zone->getOffset( $time );
    	$offset *= -2;
    
    	// Apply correction
    	$time->modify( "$offset seconds" );
    	$time = $time->format( TribeDateUtils::DBDATETIMEFORMAT );
    	$time = mysql2date( $d, $time );
    
    	return $time;
    }
    in reply to: Eventbrite Tickets – Google Maps doesn't work #638219
    Barry
    Member

    Hi Nicki – I’m sorry you’re hitting up against difficulties here.

    I don’t actually see that error when I visit the URL you provided (and looking at the source, the Google Maps script is being pulled in once only). Additionally I’m struggling to actually locate your main events page, unless it has been heavily customized. Can you confirm:

    • If this issue has been resolved or if you still need assistance
    • Is the URL you shared accurate, or is there another URL where I can see the problem?

    Thanks!

    in reply to: Remove Event Times only #638162
    Barry
    Member

    Hi Phil!

    if you hover over any event it shows the time of 12:00am in there — i need to remove that too please

    So you’re going to need a further template override in place – this time for month/single-event.php – and the basic idea is to modify the data that is passed across to the tooltip such that the start time is stripped out. I’m going to assume here that you still have the function I suggested in my earlier reply in place.

    Essentially, you need to add this code near the top of the file, but below the line reading global $post:

    $tooltip_data = json_decode( tribe_events_template_data( $post ) );
    $tooltip_data->startTime = remove_schedule_details_time( $tooltip_data->startTime );
    $tooltip_data = json_encode( $tooltip_data );

    Then, you need to find this short piece of code:

    data-tribejson='<?php echo tribe_events_template_data( $post ); ?>'

    Change this segment to:

    data-tribejson='<?php echo $tooltip_data ?>'

    (The complete custom template should basically look something like this.)

    as well as the point above – i have noticed another problem.
    if you look at my client site – http://www.beaverstown.com/
    in the right column i have shown the CALENDAR WIDGET — but if you select any of the dates which have a events in them – nothing gets shown below the calendar?

    We’re happy to help if we can – but we do try to stick to one issue per thread. If you don’t mind posting a new thread for this unrelated issue one of the team will be only too happy to help 🙂

    in reply to: doubling purchase #638018
    Barry
    Member

    If that was the only change then it’s certainly possible, though it’s hard to be certain.

    In any case, I’m glad to hear that it is all working as expected and will go ahead and close the thread – if we can help with anything else though (or if this issue returns) please don’t hesitate to create new threads as needed and one of the team will be only too happy to help 🙂

    Also, if you have a moment to spare, we’d love to hear your thoughts on The Events Calendar over on our review page – thanks again!

    in reply to: Query is too long and keeps timing out. #637978
    Barry
    Member

    Thanks Anthony: bear with us and we’ll update you again as soon as we can.

    in reply to: Venue Map Size / Aspect Ratio #618316
    Barry
    Member

    You’re quite right, some !important CSS rules do override the dimensions specified via that function – sorry for the confusion.

    Sounds like you’re all sorted though which is fantastic – and so I will go ahead and close this thread. Thanks again (particularly for posting back with the tips 🙂 ).

    in reply to: Remove Event Times only #618303
    Barry
    Member

    Interesting: can you confirm you put a template override in place (and let me know what it’s path is)? Could you also share the code you currently have within it?

    in reply to: Filterbar: Backround colour #618290
    Barry
    Member

    Hi Marco,

    Glad it helped.

    To assist with the white borders on the side, try adding:

    #tribe-events .tribe-events-filters-content { border: none }

    To assist with the background of the box that appears containing checkboxes, please try something like this:

    #tribe-events .tribe-events-filter-group li { background: black }

    I hope that helps!

    in reply to: Query is too long and keeps timing out. #618262
    Barry
    Member

    OK, that’s definitely useful stuff. Here’s what I’m thinking:

    1) If you’re amenable to providing us with access we’d love to take a peek at this problem and see it first hand (and, if possible, do something to at least provide short term resolution). With that in mind I believe WPEngine provides a staging environment and, naturally, we’d rather work within that than your production site:

    • Can you “sync things” such that the staging environment has the same database content as the production site, etc?
    • Have you already done this and do you see the same problem there if so?
    • Would you be happy for us to troubleshoot within that environment if so (which might cause some amount of disruption, albeit it wouldn’t impact your live site)?

    2) Just to be clear – you note being locked out of the admin environment, yet reading through the thread I’m not clear if you are completely locked out and can’t perform any admin tasks or if it is only event-related pages (like the events list) that are effectively unavailable – could you confirm?

    Thanks so much for your patience and understanding on this one and, if you are happy to go ahead with the approach outlined above, please do share any details necessary for us to do this (we’d love to have (S)FTP access and the ability to interact with your database, in addition to WP admin access) via private reply.

    Thanks again!

    in reply to: Adding thumbnails to events list widget #618201
    Barry
    Member

    Awesome, glad you’re all sorted and apologies for the confusion – we’ll get the tutorial updated appropriately.

    I’ll go ahead and close the thread but, of course, if we can help with anything else please don’t hesitate to create new threads as needed and one of the team will be only too happy to help.

    Last but not least, if you have a moment to spare we’d love to hear your thoughts on The Events Calendar over on our review page – thanks again!

    in reply to: Search Results Hanging on IE 11 & IE 10 #618195
    Barry
    Member

    Great – glad everything’s now working 🙂

    I’ll go ahead and close this thread, but if we can help with anything else please don’t hesitate to create a new thread and one of the team will be only too happy to help.

    Beyond that, we’re always interested in your feedback and thought on The Events Calendar – so if you have a moment and would like to leave a note on our plugin review page we’d be delighted to hear from you.

    Thanks again!

    in reply to: doubling purchase #618192
    Barry
    Member

    OK, when testing this myself (using the PayPal sandbox) I’m afraid I don’t see the same thing.

    Have you run through our standard troubleshooting steps and does that impact at all? Essentially this would boil down to deactivating every plugin except for:

    • The Events Calendar
    • WooCommerce Tickets
    • WooCommerce

    Make sure they are all up to date, switch to a default and unmodified theme (like Twenty Thirteen) and test again. Does that same thing still happen?

     

    in reply to: Edit a ticket order #618145
    Barry
    Member

    Hi Paul,

    This isnt really a solution, as you cant create orders in the admin for tickets. Sure you can create an order, but this adds products only and not tickets!

    I’m sorry that isn’t working for you, but can you clarify where the problem is? If I create tickets for an event and call one of them “Standard Admission” (as an example), then manually create a new order, I can search for and add that as a line item.

    Tickets are, ultimately, just WooCommerce products – and the order editor seems able to make use of them like any other product best I can tell.

    If I’m misunderstanding definitely let me know and I’ll take another look.

    Barry
    Member

    Thanks again for your patience – and your feedback.

    We’re going to look at this issue in the current release cycle – so, barring any unforeseen obstacles, we’ll hopefully have this resolved in our next release.

    in reply to: Subscribing to iCal using Outlook #617326
    Barry
    Member

    Following from Andy’s question, is the URL in question the one you shared when you opened this thread? If so, it seems you’ve “protected” it by ensuring the user logs in before the see whatever page or resource they are requesting.

    Might that be impacting?

Viewing 15 posts - 6,601 through 6,615 (of 17,936 total)