Jump to content
MakeWebGames

ShadyCoco

Members
  • Posts

    98
  • Joined

  • Last visited

Everything posted by ShadyCoco

  1. This has to go today as I'm deleting all my MCCode mods.... Anyone can get it just post here...
  2. Hey... I use notepad++ but I just searched some IDE's now. Going to try some and see how much time I save. I've only ever used dreamweaver (in college) and didn't like it at all :/ thanks for the post
  3. ermm... I got help from magictallguy, pudda, djkanna... im sure some guys here might do a live tut for some people...
  4. I wouldn't feel right adding your email... You need a unique idea with some amount of funds ($200-ish?) a valid copy of mccodes and most important time. Also make the login and register match the inside look :S GL with this project. PS change your email to something better? [email protected] maybe?
  5. Thanks dave. The mod is still up for grabs + it's a great mod,secure and nice looking.
  6. Sent you a PM with paypal ID.
  7. Hey, I have Daves old donation mod. [Found here: http://makewebgames.io/showthread.php/34773-Advanced-Donation-Mod.] I've had this mod on my computer for a long ass time... I don't own a mmcode game or any other game I could use this for. It's un used and I'm willing to give up my copy to anyone with a good well planned game. Post here images, links, anything to do with your game and I'll pick someone.. I'll email Dave my paypal transaction ID and email used, also your email and game URL. PS: Waiting for Dave to reply to my email about this - hope he says its okay. Regards Shady
  8. Hey, I wanted to make a game out of NEaB but the site/game/server have been attacked and turned off. Has anyone got a copy of NEaB free verion (most up to date if possible?) they could upload for me? Thanks in advance :)
  9. ShadyCoco

    forum

    I agree with a_ber, I would say use Wolt lab BB. The free version is really nice :)
  10. I'd also advise turning off errors while login as the header will error along with classes :)
  11. Hello mafia, You know they is different lvl's of staffing in GRPG? you should change ($user_class->admin == 1) to ($user_class->admin > 0) Then all your staff members can get to the admin panel :3
  12. Basicly, Only problem I found when using it. Is the input for removing points. just add abs(intval()); around ALL inputs. or under include 'header.php'; $_POST['amout'] = abs(intval($_POST['amount'])); for all number inputs. Or even do it in the header and "secure" all files/ish Maybe make 2-3 functions in classes and secure every file a little more. And also danny I don't think Xanthia has worked with GRPG ^_^ Wish you the best with securing the pointmarket :)
  13. Nice, gonna try add a admin function for this :)
  14. Okay - It works. It's not secure however... Removing points can give people unlimited ammount of points.
  15. Hello This mod allows users to change thier name and not the login name. This is a very basic mod but helpful. First open classes.php +find: $this->username = $worked['username'];   Replace this line with $this->username = $worked['dusername'];   Save and close. Create a file called changepass.php (or whatever you wish...) and insert this:   <?php include 'header.php'; if (isset($_POST['submit'])) { $dusername = strip_tags($_POST["newduser"]); $checkduser = mysql_query("SELECT * FROM `grpgusers` WHERE `dusername`='$dusername'"); $username_exist = mysql_num_rows($checkduser); if(strlen($dusername) < 4 or strlen($dusername) > 20){ $message .= "<div>The username you chose has " . strlen($dusername) . " characters. You need to have between 4 and 20 characters.</div>"; } if($username_exist > 0){ $message .= "<div>I'm sorry but the username you chose has already been taken. Please pick another one.</div>"; } //insert the values if (!isset($message)){ $result= mysql_query("UPDATE `grpgusers` SET `dusername`='".$dusername."' WHERE `id`='".$user_class->id ."'"); echo Message('Your username has been changed.'); die(); } } ?> <? if (isset($message)) { echo Message($message); } ?> <tr><td class="contenthead"> Change Username </td></tr> <tr><td class="contentcontent"> <form name='login' method='post'> <table width='25%' border='0' align='center' cellpadding='0' cellspacing='0'> <tr> <tr> <td height='28'><font size='2' face='verdana'>New username</font></td> <td><font size='2' face='verdana'> <input type='test' name='newduser'> </font></td> </tr> <td> </td> <td><font size='2' face='verdana'> <input type='submit' name='submit' value='Login'> </font></td> </tr> </table> </form> <?php include 'footer.php'; ?> Save and close open register replace with this one: <?php include 'nliheader.php'; if (isset($_POST['submit'])) { $username = strip_tags($_POST["newname"]); $dusername = strip_tags($_POST["newname"]); $signuptime = time(); $password = $_POST["newpass"]; $password2 = $_POST["newpassagain"]; $email = $_POST["email"]; $checkuser = mysql_query("SELECT * FROM `grpgusers` WHERE `username`='$username'"); $checkduser = mysql_query("SELECT * FROM `grpgusers` WHERE `dusername`='$dusername'"); $username_exist = mysql_num_rows($checkuser); $dusername_exist = mysql_num_rows($checkduser); if($username_exist > 0){ $message .= "<div>I'm sorry but the username you chose has already been taken. Please pick another one.</div>"; } if($dusername_exist > 0){ $message .= "<div>I'm sorry but the username you chose has already been taken. Please pick another one.</div>"; } if(strlen($username) < 4 or strlen($username) > 20){ $message .= "<div>The username you chose has " . strlen($username) . " characters. You need to have between 4 and 20 characters.</div>"; } if(strlen($password) < 4 or strlen($username) > 20){ $message .= "<div>The password you chose has " . strlen($password) . " characters. You need to have between 4 and 20 characters.</div>"; } if($password != $password2){ $message .= "<div>Your passwords don't match. Please try again.</div>"; } if (!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email)) { $message .= "<div>The e-mail address you entered was invalid.</div>"; } //insert the values if (!isset($message)){ $result= mysql_query("INSERT INTO `grpgusers` (ip, username, dusername, password, email, signuptime, lastactive)". "VALUES ('".$_SERVER['REMOTE_ADDR']."', '$username', '$dusername', '$password', '$email', '$signuptime', '$signuptime')"); echo Message('Your account has been created successfully! Redirecting to login page in 5 seconds. <meta http-equiv="refresh" content="5;url=login.php">'); if ($_POST['referer'] != ""){ $result= mysql_query("INSERT INTO `referrals` (`when`, `referrer`, `referred`)". "VALUES ('$signuptime', '".$_POST['referer']."', '".$username."')"); } die(); } } ?> <?php if (isset($message)) { echo Message($message); } ?> <tr><td class="contenthead"> .: Register </td></tr> <tr><td class="contentcontent"> <table width='28%' border='0' align='center' cellpadding='0' cellspacing='0'> <form name='register' method='post' action='register.php'> <tr> <td height='26'><font size='2' face='verdana'>Username</font></td> <td><font size='2' face='verdana'> <input type='text' name='newname'> </font></td> </tr> <tr> <td height='28'><font size='2' face='verdana'>Password</font></td> <td><font size='2' face='verdana'> <input type='password' name='newpass'> </font></td> </tr> <tr> <td height='28'><font size='2' face='verdana'>Confirm Password</font></td> <td><font size='2' face='verdana'> <input type='password' name='newpassagain'> </font></td> </tr> <tr> <td height='26'><font size='2' face='verdana'>Email address</font></td> <td><font size='2' face='verdana'> <input type='text' name='email'> </font></td> </tr> <tr> <td> </td> <td><font size='2' face='verdana'> <input type='hidden' name='referer' value='<? echo $_GET['referer'] ?>'> <input type='submit' name='submit' value='Register'> </font></td> </tr> </table> </form> <br> <center> © 2007 MyNeoCorp Productions<br> </center> </td></tr> <?php include 'nlifooter.php'; ?>   Now run this sql..   ALTER TABLE `grpgusers` ADD `dusername` VARCHAR( 75 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL
  16. Have you changed the default in the DB?
  17. Maybe you don't have the plug in flash player? :)
  18. Filter input mate :) Even if it's a GET.... and with GRPG and it's "security" :)
  19. Lools alot like Crime style from RPG bunny. On the whole. Nice lots to do. But security is a must in any game. PS: Your name is my Real name xD
  20. Hehe noted, I'll change that now and repost :)   http://img23.imageshack.us/img23/440/loginncopy.png
  21. Hello, It's been about a year since I touched Photoshop so thought'd I give it a try again Output: http://img851.imageshack.us/img851/440/loginncopy.png   Just want some feedback good and bad all welcome. Thanks.
  22. I think a little abs intval needs to be used here :) EG: $newpoints = abs(intval($newpointsr));
  23.   I think adding a [ban] link next to every users name in chats, forums, mailbox, staff logs, send logs etc... but very nice mod :)
×
×
  • Create New...