Preview Listing page blank (Youtube/Google calendar)

This topic contains 24 replies, has 4 voices, and was last updated by  Giri 8 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #225983

    Tim Martyn
    Full Member
    Post count: 51

    Hi
    We have a serious issue with the add/edit listing process. If a user adds code to the fields for Google calendar or Youtube videos, when they click to preview their listing, the next page is blank. I’ve turned off all plug-ins and the problem persists.

    Can you please advise? Many thanks.

    #226062

    Kor
    Moderator
    Post count: 16516

    Hi bluegnu,

    Do you mind sharing the URL of the site in question so we can take a look? You can use the private reply option below. Also, it would be better if you could share temp admin access to your site so we can take a better look.

    Thanks!

    #226068

    Tim Martyn
    Full Member
    Post count: 51
    This reply has been marked as private.
    #226158

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    you probably have a server security rule that blocks iframes in the POST value.

    Please ask to your server admin if that rings a bell.

    Let us know how you went,

    Thanks

    #226160

    Kor
    Moderator
    Post count: 16516

    Hi Bluegnu,

    I’m getting this console error when I added an iframe Youtube video. http://prntscr.com/bs0eek . Please check with your hosting provider.

    Thanks!

    #226161

    Tim Martyn
    Full Member
    Post count: 51

    Thanks, I will contact host and get back to you with reply.

    #226842

    Tim Martyn
    Full Member
    Post count: 51

    Hi there

    The hosting company has changed the security settings, and the preview page does not show up. However, the information in the calendar field isn’t passed on, and if you go back you will see that it is blank. Can you please advise?

    Many thanks,

    Tim

    #226894

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    username and password are no longer working, can you please double check them?

    Let us know,

    Thanks

    #226987

    Tim Martyn
    Full Member
    Post count: 51
    This reply has been marked as private.
    #227243

    Tim Martyn
    Full Member
    Post count: 51
    This reply has been marked as private.
    #227616

    Paolo
    Site Admin
    Post count: 31206

    hi,

    I believe it will work if you use an html field for the calendar rather than a textarea.

    Let us know,

    Thanks

    #227883

    Tim Martyn
    Full Member
    Post count: 51

    I’ve tried with an html field – the original field was ann html field. I would really appreciate some help with this. I’ve been in contact with the hosting company and spent half a day with them trying to sort this out.

    Oddly, if you put the Google iframe code in the Video box it works okay, but if you put the Youtube code into the Calendar field it doesn’t.

    Support would be appreciated as this is driving me mad and taking up hours of time to try and resolve.

    Thank you.

    #228359

    Paolo
    Site Admin
    Post count: 31206

    Hi again,

    I’ve flagged this for the developers. They will let you know asap.

    Thanks for your patience,

    #228366

    Tim Martyn
    Full Member
    Post count: 51

    Many thanks, very much appreciated.

    #229307

    Giri
    Expired Member
    Post count: 3155

    Hi there, please apply this code in your child theme’s functions.php file.

    Note: replace “geodir_google_calender” text with your google calender field name.

    
    
    function skip_iframe_tag_on_google_cal($tags, $pkey) {
        if ($pkey == 'geodir_google_calender') {
            $tags = '<iframe>';
        }
        return $tags;
    }
    add_filter('geodir_save_post_key', 'skip_iframe_tag_on_google_cal', 10, 2);

    Let me know how that goes.

    Thanks

Viewing 15 posts - 1 through 15 (of 25 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount