5GB, you are probably using a newer version of mysql and need a better query :-p
find in topsites_admin.php
PHP Code:
if ($action=="dooptions") {
$DB_site->query("UPDATE topsites_options SET display='$display',active='$active',require='$require',hitson='$hitson',buttons='$buttons',arrows='$arrows',perpage='$perpage',totalbuttons='$totalbuttons',daytime='$daytime',htmlallowed='$htmlallowed',bheight='$bheight',bwidth='$bwidth',bborder='$bborder',resolve='$resolve',rankby='$rankby'");
echo "<p>Options Updated!</p>";
$action = "options";
}
and replace with
PHP Code:
if ($action=="dooptions") {
$DB_site->query("UPDATE topsites_options SET display='$display',active='$active','require'='$require',hitson='$hitson',buttons='$buttons',arrows='$arrows',perpage='$perpage',totalbuttons='$totalbuttons',daytime='$daytime',htmlallowed='$htmlallowed',bheight='$bheight',bwidth='$bwidth',bborder='$bborder',resolve='$resolve',rankby='$rankby'");
echo "<p>Options Updated!</p>";
$action = "options";
}
also, the function should go into any page you wish to use it on. so if you want it on yuor index, put it on index.php. on top of all the threads? showthread.php
you get the idea