WordPress.org

Forums

Bootstrap Shortcodes for WordPress
[resolved] Plugin Breaks Gravity Forms Admin (12 posts)

  1. Jesse Campbell
    Member
    Posted 9 months ago #

    Hello there, longtime follower of this plugin—I think it's great and incredibly useful, but I've ran into a small conflict with Gravity Forms. With both Gravity Forms and Bootstrap 3 Shortcodes enabled, the tooltips on the Gravity Forms admin seem to break.

    Normal Gravity Form Tooltip (with B3S plugin disabled):
    http://gfycat.com/EnviousEvergreenInvisiblerail

    Broken Gravity Form Tooltip (with B3S plugin enabled): http://www.gfycat.com/FlatElasticKitty

    Gravity Forms has a No Conflict Mode, which, when enabled, fixes the tooltip, but then the B3S plugin modal is sprawled out at the bottom of the page:
    http://www.gfycat.com/MasculinePleasingAfricancivet

    If you have any thoughts on how to fix this, I'd really appreciate it. Or maybe it's a fix suggestion for future releases.

    Thanks again, and keep up the great work.
    (Also, what's with these auto-generated gfycat URLs above...funny.)

    https://wordpress.org/plugins/bootstrap-3-shortcodes/

  2. Michael W.
    Member
    Plugin Author

    Posted 9 months ago #

    Thank you for reporting this! I have a fix for this in the works but I'm going on vacation for a week and won't be able to deploy it until after that.

    If you're feeling adventuresome you can grab the fixed code from GitHub here.

    I apologize for the trouble this issue has caused. Thanks for your continued support of this plugin!

  3. Jesse Campbell
    Member
    Posted 9 months ago #

    Thanks for your reply! For the time being I've used Plugin Organizer to disable B3S plugin on any Gravity Forms pages in wp-admin. Have a great vacation—looking forward to the update when it's released. :)

  4. Michael W.
    Member
    Plugin Author

    Posted 9 months ago #

    Jesse,
    I just pushed an update that should resolve this issue for you. Please let me know if you still experience any trouble.

    Thanks for your support!

  5. xstortionist
    Member
    Posted 9 months ago #

    The update you just pushed made it worst. You have a jquery conflict issue, which is causing the modal to appear when it should not appear.

  6. xstortionist
    Member
    Posted 9 months ago #

    Here's a quick fix to simply stop having the modal show up where it's not supposed to.

    bootstrap-shortcodes-help.php

    All I did was add 'display: none;' to the modal box as follows

    <div id="bootstrap-shortcodes-help" class="modal fade" style="display: none;">

  7. Michael W.
    Member
    Plugin Author

    Posted 9 months ago #

    This should be resolved with 3.2.3, just pushed.

  8. Michael W.
    Member
    Plugin Author

    Posted 9 months ago #

    Can anyone confirm that 3.2.3 fixes these conflict issues? It's working in my test environments, but I'd like to hear from you guys, too.

  9. Jesse Campbell
    Member
    Posted 9 months ago #

    Hey there, thanks for putting some time into this! I really appreciate it.

    I've updated the plugin on our site and it works. With No-Conflict Mode (on Gravity Forms) turned off, there are zero issues. With <emNo-Conflict Mode turned on, the unstyled modal content is still there (similar to this), but fortunately my site doesn't need it enabled.

    I hope that makes sense.
    Thanks again!

  10. Michael W.
    Member
    Plugin Author

    Posted 9 months ago #

    So I've basically reversed your problem. That's progress I guess.

    Apparently Gravity Forms "No Conflict Mode" prevents any stylesheets it doesn't recognize from loading (see docs here). That's... invasive.

    Fortunately this is kind of an edge case (users of this plugin, AND Gravity Forms, AND who have No Conflict Mode turned on) but nevertheless I will fix this in the next version by including code to explicitly tell Gravity Forms that this plugin's styles are OK to load.

    Thank you for your help in troubleshooting this and for your support of this plugin!

  11. xstortionist
    Member
    Posted 8 months ago #

    Problem still exists with gravity forms. Mainly has something to do with tooltips conflicting with gravity forms but also you can see bootstrap plugin being loaded at the bottom of every gravity forms page within the admin interface.

    <div id="bootstrap-shortcodes-help" class="modal fade" style="display: none;">

    That fixes the issue for me.

  12. Michael W.
    Member
    Plugin Author

    Posted 7 months ago #

    This should be fully resolved as of the latest version, pushed earlier today. Please let me know if the problem persists at all!

Reply

You must log in to post.

About this Plugin

About this Topic