WordPress.org

Support

Support » Plugins and Hacks » WP-TopBar » [Resolved] Admin Bar Not Working When WP-TopBar isActive

[Resolved] Admin Bar Not Working When WP-TopBar isActive

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Bob

    @rfgoetz

    istiridye, what version of the plugin are you using? The latest versions have submenus that are automatically shown in the left sidebar. Thus, the submenu never closes.

    Bob g, the plugin version i am using is 3.09

    Thanks for your interest

    Plugin Author Bob

    @rfgoetz

    I tried to solve the problem by I am having trouble recreating it. Can you capture some screen shots and then send me a link to them in the reply below? That way I can see exactly what your issue is.

    Bob

    Thank you, here is a small video of what happens: http://www.mjturkfan.com/downloads/wptopbar.avi

    Plugin Author Bob

    @rfgoetz

    Exactly what I needed to see.

    My plugin does not adjust or change any of the Admin Bar (at the top of the screen.)

    There may be a conflict with an existing plugin that you have and TopBar. One option is for you to turn off all your plugins except TopBar then add each one back on (one by one) until you find the conflict. If you tell me the combination, I can try to see what is wrong and which plugin needs to be fixed.

    Also, have you tried using Chrome and Looking at the JavaScript console to see if there are any errors? (View | Developer | JavaScript Console) That may point to the conflict.

    Here is the error:
    http://g1206.hizliresim.com/y/7/7m1n5.jpg

    I’ve disabled about 10 suspicious plugins one-by-one (i can’t disable all, because the site is live), but it didn’t resolve the problem. I may try others, if the error below won’t help.

    Plugin Author Bob

    @rfgoetz

    Are you sure that the image you sent me is from the Admin pages? Because that javascript is only added to non-admin pages.

    The error is because javascript cannot find the HTML element “wptbheadline”. That element is only added to non-admin pages when the TopBar will be displayed. It should never show up on an admin page.

    I use the WordPress function is_admin() to check to see if the user is on an admin page.

    If the image is from the admin page, then you have some plugin that is making TopBar think it is not on the Admin page and thus causing the JavaScript error.

    OR

    You have found a defect in the core of WordPress.

    Bob

    🙂 No it’s not from the admin page. That bar is used in non-admin pages either, that’s why i’ve checked the error from a non-admin page.

    I can supply a password to you if you’d like.

    Plugin Author Bob

    @rfgoetz

    Yes, send me an email. My address is in the plugin’s readme.txt file. I don’t want to post it here.

    Mail sent. Thank you.

    Plugin Author Bob

    @rfgoetz

    Istiridye found that there was a CSS confict in his settings:

    z-index of the admin bar is 1000.
    z-index of wp-topbar was 99999.

    Thus the TopBar was displayed over the admin bar.

    He updated it (on the CSS options tab) to 999 and now it doesn’t overlay the admin bar.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] Admin Bar Not Working When WP-TopBar isActive’ is closed to new replies.
Skip to toolbar