Untested and not a complete mod - but this should get you going in the right track.<br /><br />In ubbt.inc.php you'll see an icon_select function.<br /><br />We can modify this here.<br /><br />In this example you'll upload two special icons to the icons directory named admin1.gif and admin2.gif<br /><br />Then in ubbt.inc.php find this:<br />
<br /> function icon_select($icon="") {<br /><br /> global $thispath,$tempstyle, $ubbt_lang, $config,$debug;<br /><br /><br />Change to this:<br />
<br /> function icon_select($icon="") {<br /><br /> global $thispath,$tempstyle, $ubbt_lang, $config,$debug,$user;<br /><br /><br />Then find this:<br />
<br /> if ( ($file == ".") || ($file == "..") || ($file == "lock.gif") ) {<br /> continue;<br /> }<br /><br /><br />BELOW IT add this:<br />
<br />if (($user['U_Status'] != "Administrator") && (strstr($file,"admin"))) {<br /> continue;<br />}<br /><br /><br /><br />Again untested - but then I *think* if you're not an administrator it will skip any icons with "admin" in their name. So just make sure the icons are named with admin in the name. <br /><br />I think that would have the desired effect. <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" />