UberCMS 1 User Per IP

Results 1 to 18 of 18
  1. #1
    Account Upgraded | Title Enabled! Ðavid is offline
    MemberRank
    Mar 2009 Join Date
    AntarcticaLocation
    233Posts

    UberCMS 1 User Per IP

    Hey David207 here lulz. Releasing a code to stop clonning. it's small and not a big deal, and I know anyone can code this, but this is for the noobs. This was pretty simple to make, I used the phpretro one and changed it so it's compatible with uberCms. Anyways enjoy.

    HOW TO INSTALL: Just add the following code on the top page of page-register.tpl


    Code:
    <?php  $sql = mysql_query("SELECT * FROM users WHERE ip_last='$_SERVER[REMOTE_ADDR]'");
        if(mysql_num_rows($sql) > 0) {
            echo '<script type="text/javascript">
    <!--
    
    alert ("You can only create 1 account per IP!")
    
    // -->
    </script>';
            echo '<meta http-equiv="refresh" content="1 url=index.php"> ';
            die;
        }
    
    ?>

    Don't post anything if you have nothing nice to say.


  2. #2
    TheJacob was here. TheJacob is offline
    MemberRank
    Jun 2010 Join Date
    Toronto, CanadaLocation
    326Posts

    Re: UberCMS 1 User Per IP

    This has probably already been released in an archived thread, and knowing you (if you're the David I am thinking of) I don't even slightly believed you coded in even the <?php ?> (php tags).

  3. #3
    I need money in RS. Help? TiMxD is offline
    MemberRank
    Jun 2010 Join Date
    MineCraftLocation
    539Posts

    Re: UberCMS 1 User Per IP

    Quote Originally Posted by David207 View Post
    I know anyone can code this, but this is for the noobs.
    I believe that is wrong. Your the newb. You went on Donkjam's test hotel and called people newbs therefore taking down your respect and making you a newb. Understand?

  4. #4
    Account Upgraded | Title Enabled! Ðavid is offline
    MemberRank
    Mar 2009 Join Date
    AntarcticaLocation
    233Posts

    Re: UberCMS 1 User Per IP

    Quote Originally Posted by TiMxD View Post
    I believe that is wrong. Your the newb. You went on Donkjam's test hotel and called people newbs therefore taking down your respect and making you a newb. Understand?
    When I said noob, I ment new people, people who have no idea on how to make scripts. Now stop spamming. Jesus.

    ---------- Post added at 04:39 AM ---------- Previous post was at 04:36 AM ----------

    Quote Originally Posted by TheJacob View Post
    This has probably already been released in an archived thread, and knowing you (if you're the David I am thinking of) I don't even slightly believed you coded in even the <?php ?> (php tags).
    If you can't read, I didn't code it, I used the PHPretro one and changed it so it can work on UberCMS. And I'm not the David you know.

  5. #5
    I need money in RS. Help? TiMxD is offline
    MemberRank
    Jun 2010 Join Date
    MineCraftLocation
    539Posts

    Re: UberCMS 1 User Per IP

    I wasn't spamming. I just forgot about the rest of the release because the porn video was starting to tease me. My bad.

    EDIT: Forgot again! lol ... Anyways, TY as I had several people make multiple accounts and thats why my hotel had so many members. lol

  6. #6
    Account Upgraded | Title Enabled! Ðavid is offline
    MemberRank
    Mar 2009 Join Date
    AntarcticaLocation
    233Posts

    Re: UberCMS 1 User Per IP

    Quote Originally Posted by TiMxD View Post
    I wasn't spamming. I just forgot about the rest of the release because the porn video was starting to tease me. My bad.

    EDIT: Forgot again! lol ... Anyways, TY as I had several people make multiple accounts and thats why my hotel had so many members. lol
    No problem.

  7. #7

    herp a derp

    vLife is offline

    Super ModRank
    Apr 2009 Join Date
    The BahamasLocation
    3,811Posts

    Re: UberCMS 1 User Per IP

    You need to learn PHP David cause I see you like to do cool add ons. This would be cooler to see some more work in the future. Great release bro.

    @ TheJacob, you made no sense. You are the people who cause developers to leave this section. No one gets a chance when your hands are so cocky to type when you are not even releasing anything.

  8. #8
    Account Upgraded | Title Enabled! Ðavid is offline
    MemberRank
    Mar 2009 Join Date
    AntarcticaLocation
    233Posts

    Re: UberCMS 1 User Per IP

    Quote Originally Posted by vLife View Post
    You need to learn PHP David cause I see you like to do cool add ons. This would be cooler to see some more work in the future. Great release bro.

    @ TheJacob, you made no sense. You are the people who cause developers to leave this section. No one gets a chance when your hands are so cocky to type when you are not even releasing anything.
    Thanks Trent.

  9. #9

    me ridez bykes

    Sean is offline

    LegendRank
    Jun 2007 Join Date
    JerseyLocation
    4,098Posts

    Re: UberCMS 1 User Per IP

    Nice release David and i'm not gonna hate. Good job :)

  10. #10
    Proficient Member MoBaTeY is offline
    MemberRank
    Jul 2008 Join Date
    169Posts

    Re: UberCMS 1 User Per IP

    Mysqli is confusing ;[. I coded a staff page all by myself, though later realizing the whole cms Pure made was in mysqli. I cannot figure out the INSERT functions xD.

  11. #11
    yerro Adde is offline
    MemberRank
    Feb 2010 Join Date
    none ur bizzLocation
    2,731Posts

    Re: UberCMS 1 User Per IP

    Another great release David. Thanks for this! <3

  12. #12
    TheJacob was here. TheJacob is offline
    MemberRank
    Jun 2010 Join Date
    Toronto, CanadaLocation
    326Posts

    Re: UberCMS 1 User Per IP

    This isn't practical as well. Some people play at internet cafes and such, so what if 5 of your users from your community played at an internet cafe? You need to keep track of more statistics then JUST the ip. So it should be limited to 5.

  13. #13
    Account Upgraded | Title Enabled! LMC is offline
    MemberRank
    Apr 2009 Join Date
    United KingdomLocation
    429Posts

    Re: UberCMS 1 User Per IP

    Quote Originally Posted by MoBaTeY View Post
    Mysqli is confusing ;[. I coded a staff page all by myself, though later realizing the whole cms Pure made was in mysqli. I cannot figure out the INSERT functions xD.
    Ive never used or even downloaded ubercms, but that code dosent look like mysqli, just looks like standard mysql_querys.

  14. #14
    凸(ಠ益ಠ)凸 Omnija is offline
    MemberRank
    Jun 2008 Join Date
    QuebecLocation
    2,233Posts

    Re: UberCMS 1 User Per IP

    ty, i actually asked for this a few weeks ago, and all ppl came up with was for holo and something else that didn't work for uber. and by the way it should be tracked as 2 only cuz usually kids have a brother or sister either way. also no nobody has released this for uber, till now.
    Last edited by Omnija; 03-08-10 at 07:37 PM.

  15. #15
    Proficient Member BeanHLFM is offline
    MemberRank
    Apr 2009 Join Date
    164Posts

    Re: UberCMS 1 User Per IP

    umm shouldnt it be ip_registred instead of ip_last because what if you go to your friends house and they already got an account

    Just a tip :)

  16. #16
    Account Upgraded | Title Enabled! wichard is offline
    MemberRank
    Jul 2009 Join Date
    The NetherlandsLocation
    649Posts

    Re: UberCMS 1 User Per IP

    Nice, keep going.!
    Posted via Mobile Device

  17. #17
    I use to love it more! Jmandupree is offline
    MemberRank
    Oct 2009 Join Date
    /ragezone/homeLocation
    996Posts

    Re: UberCMS 1 User Per IP

    PHP Code:
    <?php  $sql mysql_query("SELECT * FROM users WHERE ip_last='$_SERVER[REMOTE_ADDR]'");
        if(
    mysql_num_rows($sql) > 0) {
            echo 
    '<script type="text/javascript">
    <!--

    alert ("You can only create 1 account per IP!")

    // -->
    </script>'
    ;
            echo 
    '<meta http-equiv="refresh" content="1 url=index.php"> ';
            die;
        }

    ?>
    <?php $sql = mysql_query("SELECT * FROM users WHERE ip_last='$_SERVER[REMOTE_ADDR]'");
    if(mysql_num_rows($sql) > 3) {
    echo '<script type="text/javascript">
    <!--

    alert ("You can only create 3 account per IP!")

    // -->
    </script>';
    echo '<meta http-equiv="refresh" content="1 url=index.php"> ';
    die;
    }

    ?>
    All I did was change o to 3 so u can make more accounts

  18. #18
    Old Habbo Developer AresCJ is offline
    MemberRank
    Jan 2009 Join Date
    USALocation
    1,183Posts

    Re: UberCMS 1 User Per IP

    Make it easier for users (or noobs as YOU call them) can edit easier.

    PHP Code:
    <?php
    $limit 
    0;

    // NOTE:  You can edit the $limit and make it to how much you want it to be.   Right now they can only have 1 account per internet protocol, so if you switch it to 1, they can have 2 accounts per IP.. and so forth and so on...

    $sql mysql_query("SELECT * FROM users WHERE ip_last='$_SERVER[REMOTE_ADDR]'");


        if(
    mysql_num_rows($sql) > $limit) {
            echo 
    '<script type="text/javascript">
    <!--

    alert ("You can only create 1 account per IP!")

    // -->
    </script>'
    ;
            echo 
    '<meta http-equiv="refresh" content="1 url=index.php"> ';
            die;
        }

    ?>


    ---------- Post added at 12:59 AM ---------- Previous post was at 12:55 AM ----------

    Quote Originally Posted by holthelper View Post
    easily bypassed with proxies
    Also, proxies can be blocked with .htaccess so GG.



Advertisement