Jump to content
MakeWebGames

-CrAzY-

Members
  • Posts

    150
  • Joined

  • Last visited

    Never

Everything posted by -CrAzY-

  1. Re: [mccode] Ajax chat script Hi, Is there anyway instead of it just inputting the Message it could input this: <div align='Center'><table width="100%" cellspacing="0" cellpadding="0" border="0" id="table1"> <tr><td width="2"> <p style="margin-top: 0; margin-bottom: 0"> </td><td background="header_center.png"> <p style="margin-top: 0; margin-bottom: 0"><font face="Verdana" size="1" color="White"><center>Name Says: Message</center></font></td> <td width="2"> <p style="margin-top: 0; margin-bottom: 0"> </td></tr></table></div> I've tried fiddling with: $out = $chattext . $n . $spaces . "| " . $msg . "\n"; But it rejects it, Can any body help
  2. Ok, So i have a iFrame, And i want it so when i click a link the page appears in the iframe but the iFrame automatically goes to the height of the page shown, Now!, This is easy in IE:   <script type="text/javascript" language="javascript"> function getElement(id) { return document.getElementById? document.getElementById(id) : document.all? document.all(id) : null; } function getIFRAME_doc_height(oIframe) { return document.body && document.body.scrollHeight? oIframe.document.body.scrollHeight : oIframe.document.height? oIframe.document.height : null; } function IFRAME_size_to_content(iframe_id) { var oIframe = frames[iframe_id]; if (typeof oIframe!= 'undefined') { var wid = getElement(iframe_id).offsetWidth; var hgt = getIFRAME_doc_height(oIframe); if (wid && hgt) oIframe.resizeTo(wid,hgt); } } onload = function() { IFRAME_size_to_content('content'); } </script> <script type='text/javascript'> function elem(id) { return document.getElementById(id); } function iframeLoaded() { var idoc = elem('content').contentDocument; idoc.body.innerHTML = "awideriframethatshouldbeallononeline"; var more = " qwer poiu"; for (var i=10;i--;) idoc.body.innerHTML += more; alert(idoc.defaultView.location.href); // see [url]http://www.mozilla.org/docs/dom/dom...ndow_ref76.html[/url] idoc.defaultView.sizeToContent(); } </script>   But when i came to testing my site, After being pleased that it looked great in IE, I tested it on FireFox, And that script wouldn't work, Has any one got the script to make it work in FF, Cheers ;)
  3. Re: Please Can Someone Give Me A Kill Mod - Where Users Can Kill Each Other Hey1, Im bk!, i've been offline for a while! and GAAWDD!< this topic is ancient!
  4. Re: FREE SERVER THAT WORKS WITH MCCODES Thats My Server Right Now, x10 Rules!
  5. Re: F.A.Q. http://64.233.183.104/search?q=cache:2t ... cd=2&gl=uk
  6. Re: [mccode] mailbox with smilies go on www.gangparadise.com, register, login, then go on send message, n right click on all them and save them, there mint smilies
  7. Re: [mccode] mailbox with smilies Please Tell Me, I Want It Just Like When You Reply To A Topic On CE
  8. Re: [mccode] mailbox with smilies Is There Anyway I Could Add Some Buttons, Above The Msg Box, And Say When You Press The One With The Smiley Face It Enters :)
  9. Re: How Can I Make It So When Someone Presses F5 It Goes To news.php................ I Have, Its Mint, But Upseeting
  10. Re: How Can I Make It So When Someone Presses F5 It Goes To news.php................ I Can't :(
  11. Re: How Can I Make It So When Someone Presses F5 It Goes To news.php................ Can You Give Me The Code, Or Do I JUst Stick That In??
  12. On My Game When People Press F5 ( Refresh ) , It Refreshes But Stays On The Same Page, I Want It So When You Press F5 It Refreshes But Goes To news.php, Or index.php, Thanks!
  13. Says VALID Next To Your Username Once You've Entered It And Its Ok, And Pass Too, Can Someone Post The Code Here, THanks
  14. Re: Random Banner On Login.php   </style> </head> <body onload="getme();">EOF; $auto = (int)rand(1, 2); if ($auto == 1) { print"[img=banners/1.jpg]"; } if ($auto == 2) { print"[img=banners/2.jpg]"; } $ip = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; if(file_exists('ipbans/'.$ip)) {die("[b]<font color=red size=+1>Your IP has been banned, there is no way around this. If you feel this is unfair please contact the Admin! </font>[/b]</body></html>"); }   =   Please Help
  15. I Tryed This:   $auto = (int)rand(1, 2); if ($auto == 1) { [img=banners/1.jpg]; } if ($auto == 2) { [img=banners/2.jpg]; } EOF; $ip = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; if(file_exists('ipbans/'.$ip)) {   in login.php But It Just Shows Two Banners And Some Writing ( if ($auto == 2) .. Etc. )   Can Someone Help
  16. Re: Need Help Quick [Viewuser.php] if($ir['level']== 1) {$rank = Scallywag; then loads more
  17. Re: Is There Anyway I Could........ Can You Please Give Me The Coding, And Queries, Please Like Find This: ........... And Replace With This: .... Cheers
  18. I Added This To View User.php:   if($r['user_level']== 2) { $userlevel="[b]ADMIN[$rank][/b]"; } elseif($r['user_level']== 3) { $userlevel="[b]MOD[$rank][/b]"; } elseif($r['user_level']== 4) { $userlevel="[b]HDOP[$rank][/b]"; } elseif($r['user_level']== 5) { $userlevel="[b]Forum Mod[$rank][/b]"; } elseif($r['user_level']== 1) { $userlevel="[b]$rank[/b]"; }   And Added The $rank 's , So On People Profiles I've Added It All, Now When I Go On An Admins Profikle Next To Rank It Says: ADMIN[ADMINS RANK HERE] and same with hdop, mod, and forum mod, (different colors though) but when i look at a normal members profile, Its supposed just to there thier rank specified in the $rank list i made, just like admin, or mod but with no ADMIN[rank] just the rank on its own, but nothing comes up can someone please tell me why, when i visit a user with the user_level = 1 the rank dosent show up thanks!, +1 if help
  19. Re: Is There Anyway I Could........ No, Because Its Just Like Brave, But I Want A Timer, Anyway, Thanks For Your Post, (I Think) , Anyone Know How???
  20. Re: [mccode] Ajax chat script thanks mate ;)
  21. Make It So You Have To Wait, Say: 1 Minute In Between Doing A Crime, So If Someone Does A Crime Then Clicks On Crime Straight Away It Just Comes Up With: Sorry, You Have To Wait **Minute And **Seconds Before You Can Do Another Crime!, Thanks! Because I Don't Like Brave Anymore, I Want A Timing, Thanks!
  22. I Want To Have It So When You Sign Up Your Profile Sig Is Firstly: No Information On File This What Happens When I Try: Error SQL query: ALTER TABLE `users` CHANGE `signature` `signature` TEXT CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT 'No Information On File' MySQL said: #1101 - BLOB/TEXT column 'signature' can't have a default value Can Someone Help
  23. Re: [mccode] Ajax chat script is there anyway i can get it so the user dont have to type in their name because someone can pretend to be someone else
  24. Re: Admin.php Modification - Why Isn't It Working??? i dont want to, i want a dead.php page
  25. Re: Admin.php Modification - Why Isn't It Working??? if($ir['hp'] == 0) { echo "<meta http-equiv='refresh' content='0; url=dead.php'>"; exit; } = No Effect :(
×
×
  • Create New...