Jump to content
MakeWebGames

Djkanna

Members
  • Posts

    3,138
  • Joined

  • Last visited

  • Days Won

    36

Everything posted by Djkanna

  1. Nice one, I'll take a look later on. Thanks :)
  2. Um thanks I guess. :S
  3. To my understanding MCC was created after people were pissed about Torn (City), so MCC emulated Torn.
  4. Speak for yourself, my noobish moment happened at like 4am this morning...
  5. You may want to change the FB link unless your game is called Gabriela :D
  6. Honestly mine would have to be wasting 20 minutes on a code that has a bug in it and all it turns out to be is a missing (`) on a column name within a query -_-
  7. Just some tips * will effect all elements. [css] * { color: #000; } [/css] _ /9 * Will effect IE only [css] .blah { color: #000; /*All*/ color: #FFF\9; /*IE8 < */ *color: #999; /* IE7 < */ _color: #CCC; /* IE6 */ [/css] Conditional statements is probably better but hey at least you know. http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-how-to-target-ie6-ie7-and-ie8-uniquely-with-4-characters/ - IE Selectors http://net.tutsplus.com/tutorials/html-css-techniques/the-30-css-selectors-you-must-memorize/ - 30 CSS selectors you must memorize.
  8. Yes in the download section here on MWG. EDIT: Seems we don't have that anymore -__-
  9. Well the theory is correct but I just don't think it would work like that.
  10. Certainly does look pretty good.
  11. I like the outline of the suggestion just needs a little more improvement. I do think there is a need for a place where the new comers can just talk amongst themselves without the hassle of the older members but also have the ability and freedom to go to these older members if they would like. The only practical problem I can see is it will take a little work to achieve.
  12. I actually want to know Danny how you do your ajax request, not interested in copying don't worry just curious but I'll pm you.
  13. May I ask in what price range are you looking for exactly (approximately of course)? Also wouldn't harm knowing what was the price range paid for it to begin with, no need for exact numbers if you don't wish to share but a rough estimate might help people make up their minds as to how much they think it's worth.
  14. LOL Ps: Twilight doesn't exist here pretty please don't shame the topic that way.
  15. Sarah Michelle Gellar => Buffy from Buffy the vampire slayer/Angel Elisha Dushku => Faith from Buffy the vampire slayer/Angel Kate Beckinsle => Selene from Underworld (as you mentioned) At this moment all I can think of.
  16. Hmm considering it's not Black Ops specific. PS2. Call Of Duty (the first). Nope. Wasn't available at that time.
  17. Um this may help people understand it a little better (manual) Here The exceptions class isn't exactly suitable in this situation I would much prefer to use an actual error class however as it's a built-in class therefore available to everyone so I didn't think it would do much damage to use it like this in this example. Thanks Equinox in my opinion it's much clearer and cleaner this way.
  18. <?php require_once (dirname (__file__) .'/globals.php'); if (!isset ($_POST['user']) ) { echo ' <form action="jailuser.php" method="post"> <label for="user">User:</label> '.user_dropdown ($c,"user", $_GET['userid']).' </p> <label for="days">Days:</label> <input type="text" name="days" id="days" required /> </p> <label for="reason">Reason:</label> <textarea rows="10" cols="40" name="reason" id="reason" required /> </p> <input type="submit" value="Jail User" /> <input type="reset" value="Reset Fields" /> </p> </form> '; } else { try { if (!in_array ($ir['user_level'], array (2, 3, 5) ) ) { throw new Exception ('You aren\'t allowed to do this.'); } if (empty ($_POST['days']) || empty ($_POST['reason']) ) { throw new Exception ('Please fill in all fields'); } if (!filter_var ($_POST['user'], FILTER_VALIDATE_INT) ) { throw new Exception ('The user you provided was not in the correct syntax'); } else { $_POST['user'] = abs (filter_var ($_POST['user'], FILTER_SANITIZE_NUMBER_INT) ); } if (!filter_var ($_POST['days'], FILTER_VALIDATE_INT) ) { throw new Exception ('The amount of days you provided was not in the correct syntax'); } else { $_POST['days'] = abs (filter_var ($_POST['days'], FILTER_SANITIZE_NUMBER_INT) ); } $check = $db->query ('SELECT `userid`, `user_level` FROM `users` WHERE (`userid` = '.$_POST['user'].')'); if (!$db->num_rows ($check) ) { throw new Exception ('The user you provided doesn\'t exist'); } else { $them = $db->fetch_row($check); } if (in_array ($them['user_level'], array (2, 3, 5) ) ) { throw new Exception ('If you wish to jail this user you must remove them from staff first.'); } $_POST['reason'] = filter_var ($_POST['reason'], FILTER_SANITIZE_STRING); $db->query ('UPDATE `users` SET `fedjail` = 1 WHERE (`userid` = '.$_POST['user'].')'); $db->query ('INSERT INTO `fedjail` VALUES ('', '.$_POST['days'].', '.$userid.', "'.$db->escape($_POST['reason']).'")'); $db->query ('INSERT INTO `jaillogs` VALUES ('', '.$userid.', '.$_POST['user'].', '.$_POST['days'].', "'.$db->escape ($_POST['reason']).'", UNIX_TIMESTAMP())'); echo 'This user has been jailed.'; } catch (Exception $e) { echo 'Error: '.$e->getMessage(); $h->endpage(); exit; } } $h->endpage();
  19. I really do have no clue how to do these I'm really just following lines in Blender that's all. Wish me luck please!
  20. Oh noes it's back to haunt us again!
  21. I really like the Dragon Mage Ice one :D
  22. There is things called error handlers/exceptions/trigger_error() even, die() shouldn't be used in that situation now.
  23. It's a shame this never really took off. :/
  24. Well it's nice, I've seen the design before today and I did say it was a nice design. I just personally don't think it suits the product you supply, however I'm glad you've managed to complete the redesign/structure.
  25. Considering the release date is within the next year (or somewhere round there (it's on the forums)) I doubt they can give you a definitive answer, I should hope that it's would be kind of compatible, or at least easy to change like v1 to v2 now.
×
×
  • Create New...