Jump to content
MakeWebGames

Djkanna

Members
  • Posts

    3,137
  • Joined

  • Last visited

  • Days Won

    35

Everything posted by Djkanna

  1. Not so much error more of a notice :P Lemme get another copy of Zap and put it online see what happens :)
  2. XD traps are fun! (back on topic now) Awesome looking template and I sure do hope ZapEngine gets going :D
  3. Well it would be me but I really dislike the word n00b it's just something a n00b would say!
  4. I think the reason Alain never worked on it is because no one else ever expressed willingness to work on it either so why should he work on this "community project" if no one else is going to? Or at least I think that's one of the reasons. :)
  5. Djkanna

    Gym

    But it's just a rip off of TORN QQ Nice work Zed :thumbsup:
  6. Djkanna

    Stumped ... need help

    function jsLoad($name) { if(file('assets/js/'.$name)) { return '<script src="assets/js/'.$name.'"></script>'; } } I use something along those lines to load Js
  7. Here are some more things you may find usefull; jQuery Simple to use Ajax requests. jQuery UI A nice collection of effects built upon the jQuery Framework. Usefull for moving stat bars, Tabbing profiles maybe, Acordians, Drag and Drop. Css message boxed Usefull for interface, they are much like these that MWG have. [warnbox]Blah[/warnbox] [infobox]Blah[/infobox] Etc. Post sticked very useful topic let's hope more contribute :)
  8. Djkanna

    Stumped ... need help

    Haha :)
  9. Djkanna

    Stumped ... need help

    <?php class Css { public $cssSheet; public function show() { echo '<style>'.$this->cssSheet.'</style>'; } public function addClass($name, $content) { $newClass = '.'.$name.' { '.$content.' }'; $this->cssSheet .= $newClass; } public function addId($name, $content) { $newId = '#'.$name.' { '.$content.' }'; $this->cssSheet .= $newId; } } $css = new Css; ?> EDIT: Didn't see your previous post :S
  10. Yeah, I don't care so much about the economy of games as long as there is always something that I just cannot afford, having everything isn't fun. The only thing that is weird is the games that give you $100 to start with but the first weapon you can buy is like $15000 that makes me thing users are going to get bored real quick.
  11. Interesting, got to admit most of your modifications bring a certain level of uniqueness to MCC so kudos for that. :)
  12. I think he means can you make as you would a normal paid mod for the members of MWG that way he gets it for like $10-20 (average paid mod price) rather than it being custom for him which would cost a considerable amount more. :)
  13. Very nice work, well done George.
  14. Gzip has been mentioned but something to look at. Optimize your images, CSS, Javascript. Look for a few articles on optimizing your Website. I'll start you off, (it's even a video) http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-improve-your-sites-performance-in-3-easy-steps/
  15. Djkanna

    News about PHP 6

    Yup not cancelled just suspended.
  16. Mine works for me an Paul ?( http://www.deverz.com/time.php
  17. I really didn't think about doing it with jQuery. Here's what I got. <span>This Server Time</span><p id="stime"></p> <script> var sdate = new Date('<?php echo date("F j, Y, g:i:s a"); ?>'); var seconds = sdate.getSeconds(), minutes = sdate.getMinutes(), hours = sdate.getHours(); function serverTime() { seconds++; if(seconds >= 60) { minutes++; seconds = 0; } if(minutes >= 60) { hours++; minutes = 0; } if(hours >= 12) { var sabr = 'PM'; } else { var sabr = 'AM'; } //document.getElementById('stime').innerHTML='Time: '+sdate.getHours()+'.'+sdate.getMinutes()+'.'+sdate.getSeconds()+sabr; document.getElementById('stime').innerHTML='Time: '+hours+'.'+minutes+'.'+seconds+' '+sabr; setTimeout('serverTime()', 1000); } serverTime(); </script>
  18. Nice one, mind if I add this to my collection of resources? :P
  19. Probably was :P
  20. Honestly I'd prefer to see: http://www.domain.tld/blah/profiles/user/id/1 Rather than http://www.domain.tld/blah.php?profiles=user&id=1 An example was a project I worked on quite sometime ago (a url shortening service), It was much easer to see: 32kj4 - a random code than: index.php?code=32kj4 So I would say it depends on what you'll be using it for.
  21. Not really as you suggested somewhat uncertainty about what you were saying, CrimGame asked a question and I answered ^.^
  22. Percentage exp or strict number? Percentage (2%) $expUpdate = $ir['exp'] + (($ir['exp']/100)*2); $db->query("UPDATE `users` SET `exp` = ".$expUpdate." WHERE(`userid` = ".$userid.")"); Exact Number (5) $db->query("UPDATE `users` SET `exp` = `exp` + 5 WHERE(`userid` = ".$userid.")");
  23. You would be right. If your assigning or checking an 'int' there is no need for quotations (:
×
×
  • Create New...