WordPress.org

Ready to get started?Download WordPress

Forums

Lightbox Plus Colorbox
[resolved] [Plugin: Lightbox Plus] SSL Support (+ fix) (7 posts)

  1. nelero
    Member
    Posted 2 years ago #

    Hi,

    i don't need help cause i solved my problem, but could you fix https url in your plugin ?
    My website need to be accessed both in http and in https.
    But when i access on https, i received errors on IE. It's due that colorbox script is always loaded with http.
    The solution is to replace line 41 in lightboxplus.php file :
    $g_lightbox_plus_url = WP_PLUGIN_URL.'/lightbox-plus';
    by
    $g_lightbox_plus_url = plugins_url('/lightbox-plus');

    See more at http://codex.wordpress.org/Determining_Plugin_and_Content_Directories#Available_Functions
    With this, WordPress can manage SSL easily.

    Thanks to fix it for the next version :)

    http://wordpress.org/extend/plugins/lightbox-plus/

  2. Josh Leuze
    Member
    Posted 2 years ago #

    @nelero Thanks for sharing your fix, came in handy!

    I hope Lighbox Plus adds SSL support, I really like it and use it often, but occasionally need to run SSL.

  3. photocurio
    Member
    Posted 1 year ago #

    this still needs a fix..

  4. Dan Zappone
    Member
    Plugin Author

    Posted 1 year ago #

    It's fixed in the recent release - apologies for the delay in updating. The functionality got regressed when I deprecated support for older versions of WordPress.

  5. photocurio
    Member
    Posted 1 year ago #

    Thanks!!

  6. Dan Zappone
    Member
    Plugin Author

    Posted 1 year ago #

    Please let me know if it still isn't working - I only did some moderate testing.

  7. Dan Zappone
    Member
    Plugin Author

    Posted 1 year ago #

    Can I mark this as resolved?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic