final public function hasClones($ip)
{
global $engine;
if($engine->num_rows("SELECT * FROM users WHERE ip_reg = '" . $_SERVER['REMOTE_ADDR'] . "'") == 4)
{
return true;
}
return false;
}
It's already coded into revcms. The default is like 4 accounts I think. It's in the users control class on the Register() function in a method called like CheckClones() or something similiar
thank you.you'll always be able to circumvent the limit, via vpn or user agent switchers.
However, the class you're looking for is in
root > app > class.users.php
PHP:final public function hasClones($ip) { global $engine; if($engine->num_rows("SELECT * FROM users WHERE ip_reg = '" . $_SERVER['REMOTE_ADDR'] . "'") == 4) { return true; } return false; }