The Pokemon ELemental RPG

Status
Not open for further replies.

anng12

Banned
  • 31
    Posts
    17
    Years
    • Seen Jul 31, 2008
    Hi.
    I just started my own Pokemon RPG called tpe.
    We are in need of a php coder that works for free.
    www.tperpg.net
     
    umm... Ooka is right, you should add some css. I give it a 1/10. The 1 is for content. But I'll check on the site later on, and my rating might get higher.
     
    I know.
    We added a background in.
     
    Not just a background you need to make it look appealing which it isn't.
     
    It's a just a start guys.
    Dude,we have not even opened for at least a month.
    We are one week old.
     
    It's a just a start guys.
    Dude,we have not even opened for at least a month.
    We are one week old.

    Most sites are developed, then launched... Not launched, then developed...
     
    Link will be removed if you guys complain to me.
     
    =( Seriously people, cut him some slack. Oddly enough, a girl that knows PHP/CSS/JavaScript is here =D (lol, alot of people laugh that I would know any of that stuff =P).

    Unfortunately, I can't code for you =( got too many projects, too much school work (taking college classes -_-), etc.

    However, try using some tables to start off. I know that whenever I make a site, it usually has a simple boxy layout at first, then I move it up to using images and stuff.

    W3Schools (google it) is a great place to go to learn CSS, HTML, PHP, and lots of other useful stuff ^_^

    I didn't learn from there, I used books =P but I still go there for reference sometimes :D

    Hope that helps a little ^_^ Good luck with your site!

    ~BR
     
    Yeah I wasn't trying to be mean but I spend 2-3 months working on one site before I release it. Spend some time reading at w3school. That should be your bible for as long as you are a webmaster.
     
    Thanks for your advice guys.
    I might need some help so if you can help me just PM me.
     
    I kinda fixed my layout.
    Check it out.
     
    looks pretty good, but how are you going to add more content?
    Also you should consider getting rid of your banner and the links below it
     
    looks pretty good, but how are you going to add more content?
    Also you should consider getting rid of your banner and the links below it
    That banner is a vitAL PART OF THE RPG!!!!!!!!!!!!!!!!!!!!!!!!!
    :shocked: HOW DARE YOU!
    AND THOSE LINKS ARE FOR ADVIRSTMENTS

    I CAN'T AFFORD THE SERVER
    I NEED THOSE
    YOU DON'T PAY,YOU DON'T COMPAIN
     
    That banner is a vitAL PART OF THE RPG!!!!!!!!!!!!!!!!!!!!!!!!!
    :shocked: HOW DARE YOU!
    AND THOSE LINKS ARE FOR ADVIRSTMENTS

    I CAN'T AFFORD THE SERVER
    I NEED THOSE
    YOU DON'T PAY,YOU DON'T COMPAIN

    I seriously doubt you actually have server costs more than a couple of bucks a month.. I also seriously doubt those banners bring in more than a few cents a month, unless you sit and click them yourself..

    Anywho, where is the actual game? ;)

    the site said:
    4.Do not try to hack us because we will hack you

    ... Really? :P
     
    I seriously doubt you actually have server costs more than a couple of bucks a month.. I also seriously doubt those banners bring in more than a few cents a month, unless you sit and click them yourself..

    Anywho, where is the actual game? ;)



    ... Really? :P
    The actual game is in the makings.
    SHUT UP ABOUT THE ADS AND I WILL HACK ANYONE WHO ASKS "WHERE'S THE GAME"?
     
    The actual game is in the makings.
    SHUT UP ABOUT THE ADS AND I WILL HACK ANYONE WHO ASKS "WHERE'S THE GAME"?

    Oh, you've scared us now.... Seriously dude. Stop making yourself look like an idiot, complete the game and post again when its completed. Then we might be nice about it.

    On the plus side, you've invested a bit of cash in it by purchasing the domain which means there is some hope it'll actually be done! :)
     
    The actual game is in the makings.
    SHUT UP ABOUT THE ADS AND I WILL HACK ANYONE WHO ASKS "WHERE'S THE GAME"?

    Indeed. I'm sure you know nothing about hacking. ^_^

    First off, you need someone's IP to do any real damage. What sux for you is that on almost any forum out there, you need Admin privileges to see IP addresses.

    Second, if you're saying that you'll either attempt to find an SQL injection exploit and make either yourself an admin or find an admin's password hash, then perhaps that should be taken as a threat against the security of these forums? =/

    Third, why the heck would you hack someone just because they ask where your game is? =P It's a perfectly legitimate question, and it in no way derides or ridicules you. They're merely asking how far along you are with your project.

    =) I hope you're not planning on trying to exploit the forums, I'd really like to see your project succeed.

    ~BR

    EDIT: Here's a simple register.php and login.php for you =P

    Login.php
    PHP:
    <?php
    if (!mysql_connect("localhost","database_username","db_user_password")){
    die(mysql_error());
    }
    if (!mysql_select_db("database_name")){
    die(mysql_error());
    }
    ?>
    <form method="post" action="login.php">
    Username: <input type="text" name="username" /><br />
    Password: <input type="password" name="password" /><br />
    <input type="submit" name="login" value="Login" />
    </form>
    <?php
    if(isset($_POST['login'])){
    $query = "SELECT * FROM users WHERE username='".$_POST['username']."'";
    $array = mysql_query($query);
    $user = mysql_fetch_array($array);
    if ($user['password'] == md5($_POST['password'])){
    print "Successfully logged in! Redirecting . . .";
    header("Location: index.php");
    } else {
    print "Wrong username/password!";
    }
    }
    ?>

    Register.php
    PHP:
    <?php
    if (!mysql_connect("localhost","database_username","db_user_password")){
    die(mysql_error());
    }
    if (!mysql_select_db("database_name")){
    die(mysql_error());
    }
    ?>
    
    <form method="post" action="register.php">
    Desired Username: <input type="text" name="username" /><br />
    Password: <input type="password" name="password1" id="password1" /><br />
    Confirm Password: <input type="password" name="password2" id="password2" /><br />
    <input type="submit" name="submit" value="Register" id="submit" />
    </form>
    <script language="javascript">
    function check_pass(){
    if(document.getElementById("password1").value != document.getElementById("password2").value){
    alert("Your passwords do not match!");
    }
    return false;
    window.stop();
    }
    document.getElementById("submit").onclick = check_pass;
    </script>
    <?php
    if (isset($_POST['submit'])){
    if($_POST['password1'] != $_POST['password2']){
    $errormsg += "<b>Your passwords do not match!</b><br />";
    $error = 1;
    }
    $query = "SELECT * FROM users WHERE username='".$_POST['username']."'";
    $array = mysql_query($query);
    $user = mysql_fetch_array($array);
    if($user['username'] != '' || $user['username'] != 0){
    $errormsg += "<b>That username is already taken!</b><br />";
    $error = 1;
    }
    if ($error >0){
    die("You have one or more errors that need your attention!");
    } else {
    $query = "INSERT INTO users (username, password) VALUES ('".$_POST['username']."','".md5($_POST['password1'])."')";
    if (!mysql_query($query)){
    die(mysql_error());
    } else {
    print "Registered successfully! Redirecting . . . ";
    header("Location: login.php");
    }
    }
    }

    Hope these help ^_^ I never use functions for simple stuff like this btw, so it might be a tiny bit messy ;P
     
    Last edited:
    Status
    Not open for further replies.
    Back
    Top