WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Login Logo Domain Mapping Issues on Multi Site?

[Resolved] Login Logo Domain Mapping Issues on Multi Site?

Viewing 8 replies - 1 through 8 (of 8 total)
  • It;s not built to have a different logo per site.

    rpetersnmt
    Member

    @rpetersnmt

    Hmmm….I guess Im confused…so what is the option here in step 4 used for?

    http://wordpress.org/extend/plugins/login-logo/installation/

    I assumed “Network” meant “Site”…I tried to find the definition here but came up empty handed? Any chance you can clear this up for me? Thx in advance…

    Network means all your sites together. This will be a LOT clearer in 3.1.

    There’s no assumption of domain mapping with this plugin. there *is* an assumption that you’re using it with a subdomains or subfolders (the default) and want the same login screen for each site.

    rpetersnmt
    Member

    @rpetersnmt

    Looking forward to 3.1 for sure. Okay…gotcha…I understand. I still need a a way to display a different logo (per site) here but I suspect a person could find a way to do this per multisite “site” based on site ID….assuming one could snag that value. I’ll fiddle. Thanks for the clarification.

    You could fork the plugin to look for the logo in that blog’s uploads folder. then you’d get per site. 😉

    rpetersnmt
    Member

    @rpetersnmt

    Yeah…I only have a few “sites” on this “network” at the moment so I stuck with the same general model (of putting various logos in the /wp-content/ folder) & added a little bit in the init function to grab them based on site ID:

    global $blog_id;
    
    if ( $blog_id != "" ) {
    $this->logo_locations['site'] = array(
    'path' => WP_CONTENT_DIR . '/login-logo-site-' . $blog_id . '.png',
    'url' => WP_CONTENT_URL . '/login-logo-site-' . $blog_id . '.png'
    );
    }

    [Please post code snippets between backticks or use the code button.]

    Seens to work okay and solve it for me. Thx for your help. 🙂

    John Gardner
    Participant

    @jgardner03

    @rpetersnmt – any chance you could tell me what line you put that code into? I placed at the bottom of if( is_multisite() (the only logical place I thought it could go) but it’s not working.

    Thanks!

    Hi, I’ve created another topic which has a similar issue but doesn’t involve domain mapping, so that it isn’t so misleading.

    Basically I want to:

    1. Use the png in the individual blog’s folder,
    2. Or revert to the default png in the wp-content folder
    3. Or revert to the default WordPress logo
    4. Whatever it is, just don’t crash or give the White Screen of Death
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Login Logo Domain Mapping Issues on Multi Site?’ is closed to new replies.