• Resolved WarpCode

    (@warpcode)


    Running:
    Wordpress 3.0.1
    PHP 5.2.4
    MySQL 5.1.50
    Plugins Active: Collapsing Archives, Google XML Sitemaps, Sharedaddy, WordPress Database Backup, WordPress XML Export, WP-UserOnline.

    I am able to drag and drop and arrange the icons in settings just fine, however I am not able to change any of the other settings from the default setup.

    Whether I select a single option such as changing Default button style to “icon only” or change all the settings at once, it wont update the database and the settings page just reloads the defaults. I have deactivated and reactivated this plugin and reinstalled it but nothing seems to fix this issue. Any help would be appreciated in getting this fixed.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Chris

    (@comradeseidl)

    Same problem and setup.

    Chris

    (@comradeseidl)

    OK, this is an easy fix. Edit the plugin file, sharing.php. Line 33 reads:

    if ( isset( $_GET['page'] ) && $_GET['page'] == 'sharing' )

    and it should read:

    if ( isset( $_GET['page'] ) && $_GET['page'] == 'sharing.php' )

    Ta-da, problem solved.

    Thread Starter WarpCode

    (@warpcode)

    Awesome. that fixed it. Thanks.

    And if you do that it will break for everyone else. The code in the plugin is correct, I don’t know why it needs to be different for you – the URL should always be page=sharing

    Thread Starter WarpCode

    (@warpcode)

    well I just updated to the latest version and it looks like there was a change to that line of code. I am not sure why the old code didnt work for me or for Seidl as I have other get functions that dont require the .php at the end. I didnt look deep enough into the coding to see if it might be something else. Here is the new code they put in which works just fine.

    if ( isset( $_GET['page'] ) && ( $_GET['page'] == 'sharing.php' || $_GET['page'] == 'sharing' ) )
    			$this->process_requests();
    	}

    I’ve the same problem and, even though I agree with John, I’ve checked the line of code and looks fine.

    Anything I do when I configure my settings is lost after submitting them, except the section after the “Live Preview” box.

    Opening the Javascript console I see these 2 errors:

    ReferenceError: Can’t find variable: jQuery
    /wp-admin/load-scripts.php?c=0&load=utils,jquery-ui-draggable,jquery-ui-droppable,jquery-ui-sortable,jquery-form&ver=7070417fdb7d8ef6f08109c3f769e7ae:14

    TypeError: Result of expression ‘$( ‘#new-service form’ ).ajaxForm’ [undefined] is not a function.
    /wp-content/plugins/sharedaddy/admin-sharing.js?ver=1:303

    sciamannikoo, the problem should be fixed as described above. What you are seeing is another problem that seems to be that jQuery is not being loaded. This could be another plugin that is affecting what JavaScript is loaded – try disabling some.

    Thanks John.

    I tried something so simple that it tooks day to mee to find out ??
    I tried my admin page on Firefox instead of Safari and… it works! :S
    Now I need to understand why Safary gives me this error, while Firefox doesn’t, but this is not on topic anymore, is it? ??

    Thanks again!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Sharedaddy] Cant change settings’ is closed to new replies.