2005-10-17, 03:59 PM
2005-10-17, 06:38 PM
No, but you can set a theme for each category or forum. To me, that would be pretty random, but no there isn't a Random Theme hack.
2005-10-17, 07:17 PM
Actually it's possible
it'll be something like
it'll be something like
$query = $db->query("SELECT rand_theme FROM ".TABLE_PREFIX."users WHERE uid='".$mybb->user['uid']."'");
$row= $db->fetch_array($query);
if($row['rand_theme'] == "yes")
{
$gettheme = $db->query("SELECT * FROM ".TABLE_PREFIX."themes WHERE tid ORDER BY RAND() ");
$theme= $db->fetch_array($gettheme);
//more code here
}
else
{
//the sql query get the style from the user
}
2005-10-18, 03:46 AM
oh cool!