Domain Mapping + Pro sites issues

Hey There,

Quick couple of questions about some of the plugins we’re using.

We just updated both domain mapping + Pro-Sites and noticed a couple changes.

1) The “Manage Site” button that Pro-Sites adds to the admin bar has all been styled using !important.. this is really making it hard to customize the look of this button. We’ve removed the !important tags in the appropriate CSS files but obviously, on update, we’ll lose our changes. Anyway you guys can take those !important tags out of the CSS?

2) Noticed that after update our mapped domains are giving an error under “Domain Health”. Instead of getting the normal “Valid” we are getting the error “Needs Revalidation”. When we click to revalidate the propagation, the error persists. The mapped domains seem to be functioning correctly however, we’d like to sort this out?

3) I don’t know if this is a plugin error, or an error in our .htaccess file but we have custom dynamic styling that should be loading on our wp-login.php page. The styles don’t load on any of our mapped domains initially. If we click the “forgot password” link, then the dynamic styles load. The dynamic styles come from a custom admin plugin we’re using. We’ve contacted the developer and he seems to think that the issue has something to do with the domain mapping single sign-on. We attempted to disable SSO but the problem persists.

Here what he thinks is causing the issue: https://sermonboxonline.com/dm-sso-endpoint/1462726193/?dm_action=domainmap-setup-cdsso

Sorry for hitting you with these random problems. We’d really like to get these figured out :slight_smile:

Thanks again for all your help!

  • Rupok
    • Ex Staff

    Hi Josh, hope you had a wonderful day.

    1) The “Manage Site” button that Pro-Sites adds to the admin bar has all been styled using !important

    Obviously I’m missing something very common or my coffee is not working because I can’t find the “Manage Site” button. I can see “Your Account” button though. Can you please give us a screenshot of where I can see the “Manage Site” button? I’ll jump in as soon as you provide. If we can solve this issue with MU Plugin, then I’ll suggest you required code. If not possible with MU Plugin, I’ll contact our developer regarding this.

    2) Noticed that after update our mapped domains are giving an error under “Domain Health”. Instead of getting the normal “Valid” we are getting the error “Needs Revalidation”.

    Can you tell me which specific mapped domain on which subsite I can check this and make some tests? I could tell you better about the issue if I could see it live, check your current configuration and make some tests on your site. Would you mind allowing Support Access so we can have a closer look at this?

    To enable support access you can follow this guide here:

    http://wpmudev.com/manuals/wpmu-dev-dashboard-enabling-staff-login/

    I can also see, you are using an older version of Domain Mapping. Can you try updating to the latest and see if the issue is gone?

    we have custom dynamic styling that should be loading on our wp-login.php page

    How are you loading this? With any plugin or did you write your own code? Which hook are you extending? Can you confirm this is not a caching issue? Are those styles loaded perfectly in subdomains (not mapped)?

    I’m looking forward to hear from you and resolve these issues as soon as possible.

    Have a nice day. Cheers!

    Rupok

  • Josh
    • Site Builder, Child of Zeus

    Hey There,

    Thanks for the help again in advance!

    I've tried to clear up some of the confusion on my questions below.

    1) We've attached a screen shot of the button that pro-sites adds to the admin bar. This may not originally be called the "manage plan" button… I think we changed that in the settings.

    2) On the domain mapping issue… this is related to the mapped domain (reviveusnow.com) the original domain is revive.sermonboxonline.com. We've granted support access via the dashboard so you can access the site.

    3) On the dynamic-css login page issue… This is being loaded by the "Slate Pro" plugin (custom admin plugin). If you have a chance to check out our login page, you'll notice that if you go to sermonboxonline.com/admin, the page loads with all the intended styles. However, if you go to any of the mapped login pages like reviveusnow.com/admin, the styles aren't loaded. The styles also aren't loaded if we attempt to login via the original domain either (revive.sermonboxonline.com)

    We did notice that if you click a link on the mapped login page (i.e. "Forgot Password":wink: then the styles get loaded. We just updated domain mapping last night and I thought we uploaded the most current version. I'm also not seeing a notice to update the plugin in either the WPMU dashboard or the native WordPress updates page.

    Thanks again for all the help on this!!

    Josh

  • Rupok
    • Ex Staff

    Hi Josh, hope you had a wonderful day.

    I'm so sorry for the delay from our end. I checked your issues in details. Let me describe one by one:

    # "Manage Plan" Button

    I checked your code and found, !important rules are coming from "sbo patches" plugin. I'm not sure what that plugin is doing actually. Please check the attached screenshot for reference.

    [attachments are only viewable by logged-in members]

    But still I believe, you can override those rules with our "Ultimate Branding" plugin with "Admin Custom CSS" module.

    Issue 2 and 3 might be related. When I went to the login page at "reviveusnow.com/wp-login.php", in source-code, I found this is calling data from "http://sermonboxonline.com" instead of "https://sermonboxonline.com". I assume, you mapped this domain first, and then setup SSL for your main site? Please correct me if my assumption is wrong. Please check the attached screenshot for reference.

    [attachments are only viewable by logged-in members]

    If I guessed right, can you remove mapping and map that domain again? Please let us know the result. Or is there a chance you manually added this block of code in the header section? In that case, can you try adding https:// link instead of http:// link? It will fix the login page design issue.

    I'm looking forward to hear from you and resolve this issue as soon as possible.

    Have a nice day. Cheers!

    Rupok