New messages Members Forum rules Search
  • Page 1 of 1
  • 1
Forum moderator: kostova  
uCoz Support Forum by uCozers » uCoz » Design Customization » Disable user / admin bar (sml[tutorial])
Disable user / admin bar
jackassDate: Tuesday, 2009 June 30, 10:04 PM | Message # 1
Font size: A | A |
Major general
Group: Administrator
Message: 433
[ ]
Offline
If you use unet registration, than in your site is active user bar
So if you don't want to use it...

Disable user / admin bar is site, paste this code in CSS

Code
#puzadpn {display:none}

Want to disable it only in on template?
Paste this between tags

Code
<head> HERE </head>

This code
Code
<style>
#puzadpn {display:none}
</style>



Taken from http://arnis.ucoz.lv/forum/6-144-2


 
jackassDate: Tuesday, 2009 June 30, 11:22 PM | Message # 2
Font size: A | A |
Major general
Group: Administrator
Message: 433
[ ]
Offline
Your right wink

 
kostovaDate: Wednesday, 2009 August 05, 8:54 AM | Message # 3
Font size: A | A |
Colonel
Group: Administrator
Message: 268
[ ]
Offline
It can also only be for "users". By doing
Code

<?if($USER_GROUP$='admin')?>#puzadpn {display:inline;}<?else?>#puzadpn {display:none;}<?endif?>

or reduce the amount of coding by putting it in a separate style inside the page itself:
<style type="text/css">
#puzapdn {display:<?if($USER_GROUP='admin'?>inline<?else?>none<?endif?>;}
</style>

Edited Byheysupp - Wednesday, 2009 August 05, 8:56 AM
 
uCoz Support Forum by uCozers » uCoz » Design Customization » Disable user / admin bar (sml[tutorial])
  • Page 1 of 1
  • 1
Search:


Copyrights uCozers 2009 - 2019 To TOP
Refresh Smileys Manager