How can I get SlideDeck 2 to work with FORCE_SSL_ADMIN turned on?

Follow

Comments

113 comments

  • Avatar
    Andrew McCarthy-Wood

    I tried the code above and got this error:

    Fatal error: Call to undefined function header_remove() in/home/mwdoit/public_html/mwweb.me/wp-content/themes/twentythirteen/functions.phpon line 538

  • Avatar
    Andrew McCarthy-Wood

    Dropped the Iframe setting which I had put in for this earlier and it works!!! Thanks!!!

  • Avatar
    Mapping Festival

    Another fix : in wp-content/plugins/slidedeck2-personal/slidedeck2.php (line 2302)

    replace :

    $url = admin_url( "admin-ajax.php?action={$this->namespace}_preview_iframe&uniqueid=" . $uniqueid . "&slidedeck={$id}&" . http_build_query( $dimensions, '', '&' ));

    by :

    $url = admin_url( "admin-ajax.php?action={$this->namespace}_preview_iframe&uniqueid=" . $uniqueid . "&slidedeck={$id}&" . http_build_query( $dimensions, '', '&' ), strtolower(substr($_SERVER["SERVER_PROTOCOL"],0,strpos( $_SERVER["SERVER_PROTOCOL"],':'))) );

     

    to autodetect current protocol (i.e. http in frontend, https in admin).

    it's better (security-wise) even if it won't survive a plugin update.

  • Avatar
    shon.venus

    I am trying this code in my the venus factor reviews blog in wp-admin to go through HTTPS for security purposes. It is work really good.

  • Avatar
    medh6

    Thank you so much for share this awesome article;

    <a href="http://hairlosscuree.com">hair loss curee</a>

  • Avatar
    enjoysex
    This site is excellent and so is how the subject matter was explained. I also like some of the comments too. Waiting for next post. sales coaching
  • Avatar
    zaib
    Useful information always gets the attention of others and this one is get my attention too.
    buy vicodin es online
  • Avatar
    caran.watson15
    After many searches I found this page and it has interesting information for me and I like it.
    buy k25 online
  • Avatar
    caran.watson15
    I always looking for finding new information and you help me with sharing this article with everyone.
    retail consultancy
  • Avatar
    caran.watson15
    This Information is actually superb and I like it very much and I will share it with my friends too.
    retail sales training sydney
  • Avatar
    enjoysex

    Wonderful site and I wanted to post a note to let you know, ""Good job""! I’m glad I found this blog. Brilliant and wonderful job! Your blog site has presented me most of the strategies which I like. Thanks for sharing this.sales training Sydney

  • Avatar
    enjoysex

    I just want to thank you for sharing your information and your site or blog this is simple but nice Information I’ve ever seen i like it i learn something today. sales consultancy sydney

  • Avatar
    enjoysex

    Awesome post, thanks so much for sharing this with us!Sales coaching Sydney

  • Avatar
    zaib
    I am waiting to see more information from you because this one is awesome.
    buy oxycodone pills
  • Avatar
    umarkk32

    Please continue this great work and I look forward to more of your awesome blog posts. 

    "like this"

    https://www.youtube.com/watch?v=flfEe4XeHgk

  • Avatar
    umarkk32

    I am so glad to see this post on your blog. It is highly informative and contains latest information on the discussed topic. Keep updating such types of posts on your blog :) !!

    how to talk to girls

    http://www.supersm.com/

    how to talk to girls http://www.supersm.com/
  • Avatar
    umarkk32

    It was a positive conversation and each day since then he has made an effort to come and speak to her about his success of the day.

    shakeology nutrition information

    http://superfooddrinks.org/shakeology-ingredients/

  • Avatar
    hilky698

    Much obliged to you, I have as of late been looking for data about this point for a really long time and yours is the best I have found as such. How to Get Rid of Moles

  • Avatar
    hilky698



    I completely admire your site post. Your post offered me some stunning data and inventiveness that I was searching for to upgrade my substance.

    disinfectant wipes
  • Avatar
    hilky698

    It seems too complex and extremely broad for me. I'm looking forward for your next post,

    Vettys - how to become a flight attendant
  • Avatar
    hilky698


    This material was well done. I have been searching for recently this sort of web page.Thank you for this data.

    Certified Document Translation
  • Avatar
    hilky698

    I need to voice my energy for your sharpness in composing and new theme in this post makes your website is significantly refreshing crossy road mod

  • Avatar
    hilky698

    Can you tell me how I can add your site in my news reader. your help would be helpful I really want to access your articles.

    aaron 950 generator
  • Avatar
    angelar.hayes
    This is really a remarkable topic close to my heart thanks. Keep up the good working!

    http://garciniacambogiahowto.com/dr-oz-free-trial-supplements/

  • Avatar
    malinmarry

    The Post Is Written in a very good manner "and it" entail Many Useful information for me. I Appreciated What You Have Done here. <a href="http://www.ronilocks.com/#!-/c2216">מחזיר דלת</a>

  • Avatar
    malinmarry

    The Post Is Written in a very good manner "and it" entail Many Useful information for me. I Appreciated What You Have Done here.[url=http://www.ronilocks.com/#!-/c2216]מחזיר דלת[/url]

  • Avatar
    jhonmarvi6

    I am exploring this subject as part of a report I need to do on possible careers I might choose. Thank you for your post it has valuable information on this topic.<a href="http://mylovestatus.com/ramadan-facebook-status/">ramadan mubarak status facebook</a>

  • Avatar
    nationalsecurityguard

    Security Guard Services: find best & top professional security guard companies in New York, security services, security guards providers, armed guards, bodyguards, armed personal security. More Info you can call: (888) 386-4068

  • Avatar
    Jane A Adkins

    [url=google.com]google it[/url]

  • Avatar
    Jane A Adkins

    [[google.com google]]

Please sign in to leave a comment.

Powered by Zendesk