• Resolved slparker67

    (@slparker67)


    Greetings!

    I have activated the plugin on my new multi-site. I am able to access the default’s next gen images in that installation. However, is there a way I can duplicate those images in a subdomain site and then use them as a separate set of images?

    I understand the plugin isn’t set up to have one set of images available for the entire network, so that’s now what I’m asking.

    Thanks!
    Stephen

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @slparker67 – The best I have to offer for this at the moment is the following:

    add_filter('ngg_datamapper_table_name', 'something', 10, 2);
    function something( $table_name, $name ) {
      global $table_prefix;
      if ( strpos( $table_name, ‘ngg' ) !== FALSE ) {
        return $table_prefix . $name;
      }
    }

    That will provide all sub-domains with access to the main site’s NextGEN Gallery library (and all operations / modifications to the galleries etc. will also have to be done via the main site’s admin).

    Thanks!

    – Cais.

    Thread Starter slparker67

    (@slparker67)

    Sorry for not responding sooner, Cais!

    I do appreciate your help- this will help a lot!

    Thanks for your efforts! I love NextGEN and at the next opportunity I have, will be upgrading to a paid version.

    Thread Starter slparker67

    (@slparker67)

    One last question – what do I add the above code to? wp-config? or another? My apologies.

    Stephen

    Plugin Contributor photocrati

    (@photocrati)

    @slparker67 – A custom code plugin or the current main site theme’s functions.php file would be best.

    Thanks!

    – Cais.

    Thread Starter slparker67

    (@slparker67)

    Thank you again! 🙂

    Plugin Contributor photocrati

    (@photocrati)

    @slparker67 – You’re welcome!

    – Cais.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Multisite installation’ is closed to new replies.