WordPress.org

Ready to get started?Download WordPress

Forums

WP Hide Dashboard
Profile form display:none (4 posts)

  1. estebansp
    Member
    Posted 3 years ago #

    Hi, I just test this plugin, and the dashboard part works like a charm.. but it also hides the Profile form.. That is not what you see in the plugin screenshots! Luckily you did it by css; so changed to display:inherit; in another plugin of mine to display the form again.

    Thanks!

    http://wordpress.org/extend/plugins/wp-hide-dashboard/

  2. Kim Parsell
    Volunteer Moderator
    Plugin Author

    Posted 3 years ago #

    @estebansp: What browser were you using when you had the issue?

    Also, what other plugins are you running?

    The plugin does not hide the Profile form by default; however, someone else posted that they had a similar issue when using IE8 but it works properly in Firefox, Chrome, etc. I don't have access to IE8 so have been unable to test/track down the problem.

  3. esolano
    Member
    Posted 3 years ago #

    Hi,

    Thanks for the replay.

    It seems to me like you're doing a display:none in line 70 in your wp-hide-dashboard.php plugin file, like this:

    echo "\n" . '<style type="text/css" media="screen">#your-profile { display: none; } .update-nag, #screen-meta { display: none !important; }</style>';

    That #your-profile is the css id for the profile form..

    I use Mac OS versions of Firefox, Chrome and Safari.

    Regards,

  4. Kim Parsell
    Volunteer Moderator
    Plugin Author

    Posted 3 years ago #

    @esolano: Yes, I am using display: none on line 70 - that is to hide the profile temporarily until the javascript loads to avoid the hidden section appearing then disappearing once the javascript has loaded.

    If the javascript does not load for some reason (user has it turned off, etc.), the profile form will stay hidden.

    Also, if you have installed the plugin somewhere other than /wp-content/plugins/ folder (such as the /wp-content/mu-plugins/ folder on a multisite install), the path to the javascript on line 71 will be incorrect, causing it not to load.

    @estebansp: What was the other plugin that you changed?

    Also, are you two working on the same project together, or are both usernames for the same person?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic