Jump to content
MakeWebGames

POG1

Members
  • Posts

    1,419
  • Joined

  • Last visited

Everything posted by POG1

  1. Re: script to prevent users to register or login using proxies what about AOL users?
  2. POG1

    hey

    Re: hey iamwicked with your game you could reduce the loading time for the log in page time to basically nothing. The big gray squares could be done with CSS. The container the style added could be something like this.. background: #565656; border: 1px solid #959595;   :mrgreen:
  3. POG1

    hey

    Re: hey Adobe Imageready is good for slicing images. Having images tiled also helps to slim down loading times.
  4. POG1

    hey

    Re: hey   yeah, i have seen sites with 1 big BG image as the whole website layout it took about 5 mins to load fully
  5. POG1

    hey

    Re: hey if your worried about loading times don't have any images :P
  6. POG1

    hey

    Re: hey if ($ir['rankxp'] > 1) { $rank = "Rank1"; ) if ($ir['rankxp'] > 150) { $rank = "Rank2"; } if ($ir['rankxp'] > 400) { $rank = "Rank3"; ) $result = mysql_query("UPDATE `users` SET `rank` = '".$rank."' WHERE `userid` = '".$userid."'"); if (!$result) { echo 'Invalid query: ' . mysql_error(); $h->endpage(); // not sure if that is rite as i don't use mccodes. die(); }
  7. Re: [V2] Libary     Cron add it to the day cron, to reset the books read   $db->query("TRUNCATE TABLE booksread_here;");     the bookread field is in the users table in this case, you would only want to set the value to 0 or a better idea would be to have it done with no cron and a timestamp..
  8. Re: Login Pages/Other Questions..?   lol
  9. Re: The world mite end on Wednesday 10ths september 2008...   what is light from the sun?
  10. Re: Maintenance What wou should do for backups is only take the new data since the last backup, it would make much faster.
  11. Re: Small Mod :) its "colour" the British invented the language, we should know how to spell it
  12. Re: Maintenance i don't think mccodes has downtime at the end of the day :S
  13. Re: Small Mod :)   ay?
  14. Re: The world mite end on Wednesday 10ths september 2008...   That's an every day occurrence for me
  15. Re: The world mite end on Wednesday 10ths september 2008...   It's run by the Swedish so possibly not :P
  16. Re: The world mite end on Wednesday 10ths september 2008... it's got nothing to do with black holes allthough they aim to understand dark matter better. I read somewhere that by 2010 they chould have it running at its best so its still a trial still :-P
  17. Re: Small Mod :) not anymore :-P
  18. Re: The world mite end on Wednesday 10ths september 2008... It's just a 17 mile long fridge cooled to the cooled to the lowest achievable temperature (about -270 to make the magnets "super conductors") of which photons (light) will be injected.
  19. Re: Changing background color. you will need to set a cookie and have a window.onload event to check the colour..
  20. I like the idea of having different colour names to make it easier to spot staff / donators. Here it is :) open global_func.php and go right to the bottom and paste this in..   function nameFormat($id) { $result = mysql_query("SELECT userid,user_level,donatordays,username FROM `users` WHERE `userid` = '".$id."' LIMIT 1") or die(mysql_error()); $row = mysql_fetch_object($result); if(!empty($row->donatordays)){$color="blue";}elseif($row->user_level == 2){$color="red";}elseif($row->user_level == 3){$color="orange";}elseif($row->user_level == 5){$color="green";}else{$color="black";} return '[url="viewuser.php?u='.$row->userid.'"]'.$row->username.'[/url]'; }   Then where ever you want the name you will need to change the code slightly. For user list for example.. get this.   print "<tr><td>{$r['userid']}</td><td>[url='viewuser.php?u={$r[']{$r['gangPREF']} {$r['username']} $d[/url]</td><td>\${$r['money']}</td><td>{$r['level']}</td><td>{$r['gender']}</td><td>";   change that row to this.   print "<tr><td>{$r['userid']}</td><td>".nameFormat($r['userid'])."</td><td>\${$r['money']}</td><td>{$r['level']}</td><td>{$r['gender']}</td><td>";       I will probly have done something "wrong" with the function and the speed but it works! :)
  21. Re: Advance mail box It was a while ago i made this. :evil: If anyone is using this add this into the CSS; .row1 { background-color: #DEDEDE; } .row0 { background: #fff; }
  22. Re: Advance mail box wtf, this is a mailbox i posted free somewhere. *please give me credit :mrgreen:*
  23. Re: Changing background color. onClick="document.bgColor = '#0000FF';" That is JS. It's changing the DOM which HTML alone can't do.
  24. Re: Changing background color. this should be in the JavaScript section.
  25. Re: Whole Game Template   No offense but that is horrible... he is only stating a fact.
×
×
  • Create New...