This is as the title says, a Habbo theme for RevCMS! To use it you will need to use the custom index.php included in the file. I've also put the MangoCMS theme inside as well, as the old one will not work with the new index.php!
Download:You must be registered for see links
u can find that hereYou must be registered for see links
i didnt see any solution from that thread
function GetUserVar($id, $var, $allowCache = true) //Modified by Jacob Pollack
{
if ($allowCache && isset($this->userCache[$id][$var]))
{
if ($var == "last_online")
{
if ($var == "")
{
return "<i>Never</i>";
}
else
{
return $this->userCache[$id][$var];
}
}
else
{
return $this->userCache[$id][$var];
}
}
function GetUserVar($id, $var, $allowCache = true) //Modified by Jacob Pollack
{
if ($allowCache && isset($this->userCache[$id][$var]))
{
if ($var == "last_online")
{
return "<i>Never</i>";
}
else
{
return $this->userCache[$id][$var];
}
}
$val = @mysql_result(dbquery("SELECT " . $var . " FROM users WHERE id = '" . $id . "' LIMIT 1"), 0);
$this->userCache[$id][$var] = $val;
return $val;
}
Fine class.user.php, replace this;
Code:function GetUserVar($id, $var, $allowCache = true) //Modified by Jacob Pollack { if ($allowCache && isset($this->userCache[$id][$var])) { if ($var == "last_online") { if ($var == "") { return "<i>Never</i>"; } else { return $this->userCache[$id][$var]; } } else { return $this->userCache[$id][$var]; } }
With this;
Code:function GetUserVar($id, $var, $allowCache = true) //Modified by Jacob Pollack { if ($allowCache && isset($this->userCache[$id][$var])) { if ($var == "last_online") { return "<i>Never</i>"; } else { return $this->userCache[$id][$var]; } } $val = @mysql_result(dbquery("SELECT " . $var . " FROM users WHERE id = '" . $id . "' LIMIT 1"), 0); $this->userCache[$id][$var] = $val; return $val; }