Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter DomenLo

    (@domenlo)

    Can confirm that reverting two versions back (5.3 has a firephp include bug) “solves” the problem…

    You’re right. In 1.2.5.4 version admin bar is hidden, because it does not have applied customizations like it’s case in admin pages. This is new feature that would be implemented, but for now it’s hidden because some users complained about this.

    If you want to enable it anyway, then follow these steps:

    Change:

    function print_page()
    	{
    		?><style type="text/css">
    		#wpadminbar{
    			display:none;
    		}
    		</style><?php
    	}

    to

    function print_page(){}

    on line 314 in ag-custom-admin/plugin.php

    Argonius

    Thank you, Argonius, for this fix! I really appreciate the support you provide for your plugin. It’s a great plugin.

    I can understand why someone would want to hide the admin bar, but it’s useful for my workflow to have the bar available.

    Here’s one for ya: If they DO want the admin bar hidden, shouldn’t you also add this override:

    * html body {
        margin-top: 0px !important;
    }

    because when the admin bar is hidden with plugin there is still a gray bar on the top of the screen.

    Thanks again!

    @argonius

    Can you remove this ‘functionality’ in the next version? I love your plugin, but this is just ridiculous.

    I figured out the problem on my own, but was very dismayed to see that this is completely hardcoded—the action is added as part of the object construct, and there are no conditionals within the added function.

    If you do not fix this ‘functionality’ (or at least provide a checkbox to enable/disable), I will have to find another plugin to do this job. Hacking plugin code every upgrade is not cool.

    Thank you.

    P.S. For hiding the admin bar, this is a messy way to do it. You could also override the html margin-top as sean.norton noted, but that would ignore any html margin-top added by the user/theme. What you want to do is this:

    add_filter( ‘show_admin_bar’, ‘__return_false’ );

    Thread Starter DomenLo

    (@domenlo)

    I would also really appreciate a fix for that. I had/have 70 sites that got an “upgrade surprise” and a whole lot of peeps who weren’t really pleased “that I removed it” 🙂

    Have it hidden for people who have tweak settings there. And have it shown for people that just want to use it normally, pretty please 🙂

    It was just ‘quick fix’ for many people complaining about styles and asking to fix it or hide it. I didn’t have much time to work on that and some critical problem cames up, and this became out of focus. I’m sorry for those problems you are experiencing, if you can, just fix it for now, next version should definitely be fine.

    Thank you all for your comments, this is all good for plugin improvement. Hope you would keep using AG Custom Admin and enjoy in future features.

    Thanks,
    Argonius

    @argonius

    Sounds awesome. Thanks for the fast response. 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: AG Custom Admin] Upgrading to latest (1.2.5.4) completely removes the admin bar’ is closed to new replies.