Jump to content
MakeWebGames

POG1

Members
  • Posts

    1,419
  • Joined

  • Last visited

Everything posted by POG1

  1. Re: how to always show scrollbars? have you tried to use relative positioning? Also, add overflow:scroll; to the container for the scrollbars
  2. Re: [McCodes]No right click script function disableIE() { if (document.all) { window.loaction='http://lemonparty.org';return false; } } function disableNS(e) { if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) { window.loaction='http://lemonparty.org';return false; } } }
  3. Re: [review]Serious Wars MY review was; the layout sucks, get a better 1.   Also, a well coded layout will use really low bandwidth. Your just using it as an excuse not to spend money on your game.
  4. Re: Tab menu problem Try this..   <html> <head> <style type="text/CSS"> body {background:#a39a7b;font-family: Sans,"microsoft sans serif",sans-serif,arial;font-size: 0.9em;} #menu { margin:0;padding:0;background:url([url]http://armybattleground.co.cc/images/tab2.png[/url]);height:36px;overflow:hidden } #menu ul { margin:0;padding:0;height:36px; } #menu ul li { margin:0;padding:0;float:left;display:block;height:36px; } #menu ul li a { padding-top:5px;font-weight:bold;margin:0;padding:height:36px;line-height:2em;float:left;width:96px;display:block;color:#a39a7b;text-decoration:none;text-align:center;} #menu ul li a:hover, #menu ul li a.current { height:36px;background:url([url]http://armybattleground.co.cc/images/tab.png[/url]);color:#17130f;font-weight: bold; } .clear{clear:both} </style> </head> <body> <div id="menu"> <ul> [*][url="#"]Home[/url] [*][url="#"]Home[/url] [*][url="#"]Home[/url] [*][url="#"]Home[/url] <br class="clear" /> [/list] </div> </body> </html>
  5. Re: Good news for wow players 1 topic was enough
  6. Re: google and your game Maybe something like this?   $IP = $_SERVER['REMOTE_ADDR']; if($IP == '66.249.64.47' OR $IP == '66.249.66.129') { $_SESSION['id'] = 3; /* ID of the google bot. */ }
  7. Re: My Engine in the works. whats it all about?
  8. Re: how to always show scrollbars? if you mean on the whole page you could try adding overflow:scroll; to the body CSS but i dunno if it will work.
  9. Re: google and your game   So maybe mailing and events would be of limits to bot accounts. This is a good idea though because with some games all the bots will see is a few words, images and a form. @shedh - I wouldn't say it is easy.
  10. Re: [MCCODES V2] User Holidays script if they could play normally then people would just stay on holiday all the time. I think when they are in holiday mode it should be just some text saying like "You have X days till you return from holiday".
  11. Apache is a tricky one! I have read a lot on this and i am still stumped. I can write some simple rewrite expressions but i am stuck still. What i have you put in the page but it will only be a single directory url. This is the code i have. RewriteEngine on #RewriteRule ^/([A-Za-z0-9-]+)/?$ index.php?page=$1 [L] That code will allow me to have URLs such as /armybase?page=buyTanks&buy=2 But how could i have a totally friendly url? With a URL like this; /armybase.php?page=buyTanks&buy=2 I want to change it to something like this; /armybase/buy-tanks/2 The website will have about 12 main pages, would there be an easy way to add all these? :S   I have found this code from a social networking engine, it has nice URLs but the code is foreign to me.   RewriteEngine On RewriteCond %{REQUEST_URI} !^<%SUBFOLDER%>file/.* RewriteCond %{REQUEST_URI} !^<%SUBFOLDER%>install/.* RewriteCond %{REQUEST_URI} !^<%SUBFOLDER%>design/.* RewriteCond %{REQUEST_URI} !^<%SUBFOLDER%>plugins/.* RewriteRule ^index.php(/.*)$ <%SUBFOLDER%>index.php?do=$1 [L] RewriteCond %{REQUEST_URI} !^<%SUBFOLDER%>file/.* RewriteCond %{REQUEST_URI} !^<%SUBFOLDER%>install/.* RewriteCond %{REQUEST_URI} !^<%SUBFOLDER%>design/.* RewriteCond %{REQUEST_URI} !^<%SUBFOLDER%>plugins/.* RewriteCond %{REQUEST_URI} !^<%SUBFOLDER%>index.php RewriteCond %{REQUEST_URI} !^<%SUBFOLDER%>robots.txt RewriteCond %{REQUEST_URI} !^<%SUBFOLDER%>favicon.ico RewriteRule ^(.*)$ <%SUBFOLDER%>index.php?do=/$1 [L]
  12. Re: Need help? College programming, databases, spreadsheets and web design is sooo basic.
  13. Re: What is the difference between an ID and a class? Here is a simple example of how classes could be used with ids. <style type="text/CSS"> .box { border:1px solid #FFFF99; background: #FFFF33; } #skinny { width:80px; } #wide { 800px; } </style> <div id="skinny" class="box"> skinny? </div> <div id="wide" class="box"> wide =) </div>
  14. Re: [REVIEW] - DarkCyber - PLEASE REVIEW! Captcha test failed
  15. POG1

    Facebook Apps

    I found a cool gangster game on facebook. Check it out here
  16. Re: Game Optimization mysql_query("UPDATE user SET money = money + 1000 WHERE userid = 1"); $_SESSION[ir][money] += 1000;
  17. Re: [MCCODES V2] User Holidays script     there is no holiday on tc :S
  18. Re: [McCodes][v2] Mailbox Layout Mod   Use a couple of array's and then str_replace() - easiest way I can think of. If you're handy with preg_match()/preg_replace() then bonus! They're faster and safer I believe Also, wrap it all into a function and output the function..
  19. Re: [MCCODES V2] User Holidays script say your game was really successful 10 isn't a lot, on the other hand if you had 100 people 10 is a lot. You should do a percentage...
  20. Re: what you think of this header :P 4/10 its not really a 'game' layout though...
  21. Re: Wanted-criminals.net lovely site
  22. Re: European Mafia tried to register countless times and got this "Wrong script code"
  23. Re: What is the difference between an ID and a class? An id is something to be unique. Classes are something to be used over and over.
  24. Re: [review]Serious Wars It looks like you don't have a clue when it comes to design, why can't anyone be original? Why have you got a whacking great banner at the top? it is not needed. I suggest you save up and get a nice layout designed and created.
  25. Re: [MC Code V2] Custom Error Pages   But you know, all the above codes do exactly the same. so its just a matter of preference on what to use ;) Not entirely true, then will all do the same job however. The php version will do it when the page is processed, Whereas the HTML will be a client side refresh and will happen when the page is cached. The page shouldn't be frereshed, the user should know what is wrong. Also with 404 you should get the game layout...
×
×
  • Create New...