• Resolved SooBahkDo

    (@soobahkdo)


    Hello,

    Great plugin!

    I run another outdated plugin just to be able to view the site ID. It displays the site ID at the end of each site name. Now it no longer switches sites reliably as it is supposed to.

    Multisite Dashboard Switcher
    https://www.ads-software.com/plugins/multisite-dashboard-switcher/

    Your plugin is a much more elegant solution and if it displayed the site ID with the site name (before or after it) that would be a very helpful feature and I could eliminate the other plugin.

    Please consider this enhancement in a future update.

    I also would like to see multi-network support added as discussed in this other thread, but I realize its a low demand feature.

    https://www.ads-software.com/support/topic/feature-request-multinetwork-compatibility/

    Thanks for considering this request.

    • This topic was modified 7 years ago by SooBahkDo.
    • This topic was modified 7 years ago by SooBahkDo.
    • This topic was modified 7 years ago by SooBahkDo.
    • This topic was modified 7 years ago by SooBahkDo.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author flynsarmy

    (@flynsarmy)

    I actually display site ID on my site so here’s the code I use (dropped in functions.php)

    // Display blog IDs in MABS for super admins
    add_filter('mabs_blog_name', function($blog_name, $blog) {
        if ( is_super_admin() )
            return '('.$blog->userblog_id.')' . ' ' . $blog_name;
        else
            return $blog_name;
    }, 10, 2);
    Thread Starter SooBahkDo

    (@soobahkdo)

    Hi flynsarmy,

    Thanks for the tip!

    I actually failed to mention that I also use the second plugin Multisite Dashboard Switcher because it reveals the actual multisite url of subsites which is helpful when subsites have mapped domains.

    For example, one of our multisite networks is subdomains with multi-domains available for new sites and domain mapping available for all sites, seeing the name of a site in the drop down list may not be enough information to locate the underlying subsite associated with that a site name in the drop down. Does that make sense? Do you per chance have a code snippet to also display the base site url along with the site name and site ID in the drop down?

    Thanks again!

    Phil D

    • This reply was modified 7 years ago by SooBahkDo.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display Site ID at End of Site Name’ is closed to new replies.