WordPress.org

Forums

Custom Sidebars
[resolved] "Create a new sidebar" button (11 posts)

  1. eddyferns
    Member
    Posted 12 months ago #

    After installing the plugin for the first time I went into the Appearance>Widgets to create a new sidebar.

    After clicking "Create a new sidebar" button nothing happens as though it is stuck. Also I can't scroll up or down on the Resposnive theme's sidebar section, which is below the "Create a new sidebar" button.

    It is the same with the Import/Export Sidebars link.

    https://wordpress.org/plugins/custom-sidebars/

  2. ssgro66
    Member
    Posted 12 months ago #

    I have a similar problem. "Create a new sidebar" doesn't work for me either. Its state changes to look like its being clicked but nothing happens.

  3. WPMU DEV
    Member
    Plugin Contributor

    Posted 12 months ago #

    Hi Everyone,

    This is a big miss in process for us here and we've been working flat out to fix it up since this was noticed (with a new set of developers no less as the core one had gone to sleep thinking stuff was ok :/)

    There should be a brand new working version ready for you any time now.

    In the meanwhile to fix this issue could you please try temporary editing the following Custom Sidebars plugin file on line numbers 18 and 35 respectively.

    Custom Sidebars plugin file:
    custom-sidebars\inc\external\wpmu-lib\functions-wpmulib.php

    Edit it on line number 18 as following:
    Before Editing:

    function css_url( $file ) {
    	static $Url = null;
    	if ( null === $Url ) {
    		$basedir = dirname( __FILE__ ) . '/';
    		$basedir = str_replace( ABSPATH, \site_url() . '/', $basedir );
    		$Url = $basedir . 'css/';
    	}
    	return $Url . $file;
    }

    After Editing:

    function css_url( $file ) {
    	return plugins_url( 'css/'.$file , __FILE__ );
    }

    Custom Sidebars plugin file:
    custom-sidebars\inc\external\wpmu-lib\functions-wpmulib.php

    Edit it on line number 35 as following:
    Before Editing:

    function js_url( $file ) {
    	static $Url = null;
    	if ( null === $Url ) {
    		$basedir = dirname( __FILE__ ) . '/';
    		$basedir = str_replace( ABSPATH, \site_url() . '/', $basedir );
    		$Url = $basedir . 'js/';
    	}
    	return $Url . $file;
    }

    After Editing:

    function js_url( $file ) {
    	return plugins_url( 'js/'.$file , __FILE__ );
    }

    It won't happen again, huge apologies and sorry for any inconvenience caused.

    Regards,
    WPMU DEV

  4. David
    WPMU DEV Support Staff
    Posted 12 months ago #

    Hi there @eddyferns and @ssgro66,

    Thanks for reporting this, we're able to replicate this in testing locally though it apparently may be just a Windows-specific error.

    It should work on Linux systems but the developer's looking into it and we'll have an update along asap.

    Thanks for your patience, looking forward to getting this sorted for you!

    Cheers,
    David

  5. Philipp
    Member
    Posted 12 months ago #

    Hey there,

    thanks for taking time to report that bug to us! We could replicate the issue, as David mentioned, and were debugging the issue. Finally we could pin it down and solve that annoying bug!

    There was a javascript error only happening on Servers running on Windows. With version 2.0.3 this is now fixed!

    Have fun with the plugin :-)

  6. eddyferns
    Member
    Posted 11 months ago #

    Hi Philipp and David,

    Good job! Thanks for sorting it out soon.

    Regards,
    Edwin

  7. David
    WPMU DEV Support Staff
    Posted 11 months ago #

    Hi Edwin,

    You're most welcome of course, glad that sorted it for you. Thanks for the speedy fix and awesome updates Philipp! :)

    Cheers,
    David

  8. vanjwilson
    Member
    Posted 11 months ago #

    WPMU, thanks for the patch. It got us back up and running.

    I can confirm that this issue does not only affect Windows servers.

    We have a site in development on a Ubuntu 12.04 box, and it was affecting that site as well.

    We are on the latest version of Custom Sidebars, but we are stuck at WordPress 3.8.2 for a couple of week until after launch.

    Also, our WP is installed in a /wp folder, with the custom plugins and themes in a /content folder, as per Mark Jaquith's WP-Skeleton folder structure (https://github.com/markjaquith/WordPress-Skeleton).

    (Of course, the latest plugin works fine on my local MAMP install with WP 3.9.1.)

  9. David
    WPMU DEV Support Staff
    Posted 11 months ago #

    Hi there @vanjwilson,

    Thanks for reporting that. Could I just verify though, the latest update resolved the issue completely?

    I wasn't totally sure if you were still seeing the issue with that older version site.

    Looking forward to your reply. :)

    Cheers,
    David

  10. vanjwilson
    Member
    Posted 11 months ago #

    No, the plugin update did not fix the issue on the site with WP 3.8.2. I had to manually apply the patches listed above in this thread in order to get even the new plugin to work on that site.

    I installed the plugin fresh on my local install of WP 3.9.1, and it works fine.

  11. WPMU DEV
    Member
    Plugin Contributor

    Posted 11 months ago #

    Hi @vanjwilson,

    Sorry to hear of the problem you are having.

    Could you please just clarify what issue you are facing?

    Can you check the browser javascript console for errors?

    In Chrome go to "View -> Developer -> Javascript Console" and in Firefox you can go to "Tools -> Web Developer -> Consoleā€

    Let me know what errors if any you are getting!

    Are you using single WordPress site or WordPress multisite?

    Regards,
    WPMU DEV

Reply

You must log in to post.

About this Plugin

  • Custom Sidebars
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic