WordPress.org

Ready to get started?Download WordPress

Forums

Srizon Facebook Album
[resolved] It doesnt work on multi site (4 posts)

  1. Daniel Edano
    Member
    Posted 1 year ago #

    I have a multi site wordpress setup and I tried to install the free version but it doesnt work on my child site.

    Whenever I add an album and go back on Album List, I see nothing.

    P.S. It works on the main site though.

    Anyone have an idea on how to fix this?

    http://wordpress.org/extend/plugins/srizon-facebook-album/

  2. afzal_du
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    The plugin uses database table and for database prefix it gets the default wordpress prefix.
    As a result, it only works with the main site.
    A simple code edit will make it work on 'one' of the child site (not all). But it's not a very good practice.
    1. find out the database prefix for your target child site
    2. use that prefix to edit the code of the file 'srizon-fb-db.php' as follows
    replace all of the following code with your database prefix
    $wpdb->prefix

    for example if you find a line like following and your db prefix for the child site is 'ch1_'
    $table = $wpdb->prefix.'srzfb_galleries';

    then change it to
    $table = 'ch1_'.'srzfb_galleries';

    after making all the changes, save the file and deactivate+activate the plugin.

    This is just an workaround until I make the plugin multi site supported.

  3. bronath
    Member
    Posted 5 months ago #

    Hi there,
    any better Solutions in between?
    Use Srizon Facebook Album Pro on three of my WordPress Installations and migrated them all into one multisite.

    So right now my Galleries all are broken :-(

    Greetings,
    Chris

  4. afzal_du
    Member
    Plugin Author

    Posted 5 months ago #

    Hi, Email me directly for pro version support.
    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags