"teamfsx, post: 36666":use this
<script type="text/javascript" src="<?= $site_config["SITEURL"]; ?>/themes/default/overlib.js"></script>
</head>
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
"teamfsx, post: 35278":lol, lol, lol, read please, i don't say to put the code in the linking menu, lol
read this....
search this (for exemple protect your block section) in your admincp.php file :
and replace by this///////////////// BLOCKS MANAGEMENT /////////////
if ($action=="blocks" && $do=="view") {
stdhead("Blocks Management");
navmenu();
begin_frame("View Blocks");
///////////////// BLOCKS MANAGEMENT /////////////
if ($action=="blocks" && $do=="view") {
stdhead("Blocks Management");
navmenu();
if (get_user_class() < 7)
show_error_msg("STOP", "This page is reserved for administrators");
begin_frame("View Blocks");
Protect by class, so 7 is the admin class. If you want atorize supermodos use 6 and etc....
"assus, post: 35524":Use thats code
if ( ($CURUSER["edit_users"]=="yes") || ($CURUSER['username'] == $row['user']) ){
echo "<div align='right' style='float: right'><a href='".$site_config['SITEURL']."/shoutbox.php?del=".$row['msgid']."' style='font-size: 8px'>[D]</a><div>";
}
$a = mysql_query("SELECT class FROM `users` WHERE id = $row[userid] ");
$a = @mysql_fetch_row($a);
switch ($a[0]) {
case 7: // Administrator
$user = "<font color=#ff0000>$row[user]</font>";
break;
case 6: // Super Moderator
$user = "<font color=#FF8080>$row[user]</font>";
break;
case 5: // Moderator
$user = "<font color=#0000FF>$row[user]</font>";
break;
case 4: // Uploader
$user = "<font color=#800000>$row[user]</font>";
break;
case 3: // VIP
$user = "<font color=#FF6600>$row[user]</font>";
break;
case 2: // Szuper Felhasznalo
$user = "<font color=#00CC00>$row[user]</font>";
break;
case 1: // Felhasznalo
$user = "<font color=#000000>$row[user]</font>";
break;
default: // User
$user = $row[user];
}
echo '</td><td style="font-size: 12px; padding-left: 5px"><a href="'.$site_config['SITEURL'].'/account-details.php?id='.$row['userid'].'" target="_parent"><b>' .$user. ':</b></a> '.nl2br(format_comment($row['message']));
echo '</td></tr>';
}