Viewing 15 replies - 1 through 15 (of 18 total)
  • I have the same problem, sharing does not use sub-domains.

    I switched to Hupso https://www.ads-software.com/plugins/hupso-share-buttons-for-twitter-facebook-google/

    Plugin Author Simple Share

    (@davidoffneal)

    Hi both,

    I’m afraid that multisite installs are not currently supported.

    There are plans to include this option in the future, apologies that it is not the case currently.

    Thanks,

    David

    I changed function ssba_current_url() in simple-share-buttons-adder.php to

    global $wp;
    return add_query_arg( $_SERVER['QUERY_STRING'], '', home_url( $wp->request ) );

    And now it works perfectly WP 4.2.1 multisite.

    @ville6000, thanks for the fix for multisite installation, but I am just thinking loud: what if you updated the plugin would that overwrite your modified function? as a solution: can I put this code inside functions.php of the child theme to keep it even after updating the plugin?

    @doctorate Yes it would overwrite the modified function. I’m hoping that plugin author would test and implement the suggested solution and update the plugin.

    I don’t see any problem with my multisite setting i.e. WPMU and I have no problem at all with sharing the subfolders/subsites of the network using this fantastic plugin. I have multilingual network (development local server though) and sharing of subsites is just fine. I am speaking of plugin version 5.6. May be this issue has already been fixed since PO started this thread.
    May setting is like this:
    example.com
    example.com/ar
    example.com/cn
    example.com/de

    Plugin Author Simple Share

    (@davidoffneal)

    Hi,

    This feature is now available. When using the shortcode, simply add ‘multisite’ within it:

    [ssba multisite]

    Thanks,

    David

    Hi, the shortcode is useful but our users are not very experienced. Is it possible to add ville6000’s solution into the code, so that it just works?
    Cheers.

    Where should I add the short code [ssba multisite] in order for the plugins to work with a multisite ?

    Using WordPress 4.1.9 with Simple Share Buttons Adder 6.1.4

    The SSBA on default site in multisite instalation worked fine.
    On the other site it failed to display the configuration page, showing a bunch of php errors regarding the ssba_admin_panel.php starting from line 990, where the plugin checks for options, but options failed to load in 984 since there were none in wp_[x]_options table (where [x] is the site id)
    I just copied option_value for option_name = ‘ssba_buttons’ from wp_options (the default site) and inserted the key value pair into wp_[x]_options table.

    now it works like a charm.

    Oddly I can not find ssba_buttons table in wp_options

    Also can not find ssba_current_url() in simple-share-buttons-adder.php

    Would be nice to get multi site support on this.

    ADDED: OK found the table.

    Multisite no work, no appear the icons in the second site.
    If mrgud solved it, explain step by step how we can fix it.

    I hope you can fix it for full use.

    The plugin is good, thanks.
    The light version need select after and befor post and the widget.

    Guillermo77 you have to do what ville6000 said above. Go into phpmadmin and add the tables to each site.

    @mellco, I understand that someone who knows phpMyAdmin could make those records. Plugins shouldn’t be written so their use requires people make changes in phpMyAdmin.

    @everyone: If you don’t know phpMyAdmin, don’t go in trying to change things, you’ll likely make changes you didn’t mean to make and really mess things up.

    @davidneal: If what is needed is database records added to the proper tables, than You should be using the standard WordPress functions for determining what tables those should be. Your plugin isn’t multi-site compatible, if you aren’t asking WordPress what tables you should use.

    @davidneal: This issue is not “Resolved” and so the topic should be un-marked resolved.

    I have WordPress 4.4.2 Multi-Site in sub-domain mode, with Simple Share Buttons Adder 6.1.5, and I get nothing under “Networks” so I can not “drop icons below”.

    The Simple Share Buttons configuration screen gives these errors:

    Warning: array_keys() expects parameter 1 to be array, null given in /home/ACCOUNT/public_html/wp-content/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 1005

    Warning: array_diff(): Argument #1 is not an array in /home/ACCOUNT/public_html/wp-content/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 1005

    Warning: Invalid argument supplied for foreach() in /home/ACCOUNT/public_html/wp-content/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 1011

    Warning: Invalid argument supplied for foreach() in /home/ACCOUNT/public_html/wp-content/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 328

    Notice: Undefined index: twitter_newsharecounts in /home/ACCOUNT/public_html/wp-content/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 622

    @DavidNea I am sure the plugin author is aware of the problem. Since this is a free plugin I can only appreciate the functionality it gives me where it works properly. If I have to go an extra mile to make a plugin work on my site I will do so.

    Multisite requires more technical expertise then regular WordPress sites. So posting that suggestion here by ville6000 was entirely appropriate.

    Those errors you are getting are because of the extra tables you can not add and the author has not patched.

    I suggest that finding another plugin solution would be a better choice. Obviously it is not providing the functionality you seek and you can not adapt it to your site.

    Hopefully there will be an update.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘multi-site compatibility’ is closed to new replies.