preventing multiple registers?

olliedean

ollie.cool
Jan 28, 2013
433
107
Is there possibly a way to block multiple registers from a Machine? All comments are appriciated.

I'm using RevCMS
 

JayC

Always Learning
Aug 8, 2013
5,493
1,398
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
 

Menkz

Member
Jul 9, 2010
374
167
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;
    }
 

olliedean

ollie.cool
Jan 28, 2013
433
107
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
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;
    }
thank you.
 

Users who are viewing this thread

Top