• Resolved redstormj

    (@redstormj)


    This plugin is great and does mostly what I need. I found a couple of small things that I have manually adjusted and wanted to share:

    1) The plugin could break some stuff on your website since it forces a specific version of jquery without respecting if jquery has already been loaded. This can be easily fixed:

    Open ssp-director-tools.php file on the main plugin directory and around line 65 add the following:

    if(!wp_script_is('jquery')) {
    			wp_deregister_script( 'jquery' );
    			wp_register_script( 'jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js');
    			wp_enqueue_script( 'jquery' );
    		}

    Essentially this will enclose the jquery calls on a conditional so that it only loads jquery if its not available from your theme or another plugin.

    2) I wanted to bring my images watermarked from the API. This is easily adjusted. Open the file: SSPDT.php within the plugin includes directory. Around line 146 you’ll find: $content->large->url. Simply replace this for: $content->large->watermarked_url and your large images will be requested watermarked.

    That could probably be done as a plugin option in the settings but I will leave it for the author to decide on a future update.

    Other than that the plugin is awesome and I love it!

    Thank you!

    https://www.ads-software.com/plugins/ssp-director-tools/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author parelius

    (@parelius)

    Thank you for reviewing the plugin!
    I will consider your suggestions in the next update.

    Plugin Author parelius

    (@parelius)

    Should be fixed now in version 1.2.
    Thanks again for your input.

    Thread Starter redstormj

    (@redstormj)

    Awesome. Excited to see the update. I had modified a few other things but I’ve kept notes of everything so I’ll just reset, update and re-implement my customizations as needed.

    One important update I did (as it looks way better) was a change to fancybox2 which has far more options to play with and better overall look. This was simple enough by just placing the folder in the package and pointing the correct links.

    Will report if I find any bugs or worthy suggestions.

    Thanks again for such great plugin!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Great plugin, some notes for enhancements’ is closed to new replies.