Jump to content
MakeWebGames

CJ - Twitch

Members
  • Posts

    391
  • Joined

  • Last visited

Everything posted by CJ - Twitch

  1. Yeah. Paranormal Entity was far better. I can't belive she got stapped. :| I thought the male was going to be killed until the ghost spelled maron!
  2. Thank you and may I just say great game! :) But its raven... :P
  3. Great! How about some screen shots? :P
  4. thank you DJK and MTG
  5. xD
  6. Here is the code...   <? if(isset($_POST['Submit'])) { ?><table width="100%" border="0" cellspacing="1" bordercolor="#000000" bgcolor="#333333"> <tr> <td width="432"><? $dataf = "jailshouts.txt"; $name = $ir['username']; $whiteist " <img>[i] <u>"; $codes = array(':)', ':D', ':O'); $images = array('[img=images/smile/smile.gif]', '[img=images/smile/biggrin.gif]', '[img=images/smile/wow.gif]'); $message = str_replace($codes, $images, $_POST['message']); $fo=fopen("$dataf","r"); $stuff=file_get_contents("$dataf"); fclose($fo); $message = strip_tags($message, $whiteist); $comfile = file($dataf); if ($message != "") { $file = fopen("$dataf","w"); $stuff2 = "<table width='90%' border='0' align='center' cellspacing='1'> <tr> <td><font color=black>[i]$name[/i]: [b]$message[/b]</font></td> </tr> </table>"; $stuff3=$stuff2.$stuff; $write = fwrite($file,"$stuff3"); fclose($file); } ?></td> </tr> </table><? } ?> <table width="100%" border="0" cellspacing="1" bordercolor="#000000"> <tr> <td width="432"><form name="guestbook" action="" method="post"> <input name="message" type="text" id="message"><input type="submit" name="Submit" value="Shout"> </p> </form></td> </tr> </table> <table width="100%" border="-" cellpadding="0" cellspacing="1"> <tr> <td class="style3">[i][b]<font color=black>Shouts</font>[/b][/i]::</td> </tr> <tr> <td><? include("jailshouts.txt"); ?></td> </tr> </table>   I am trying to add smilies to seanybobs jail chat and prevent meta refresh/meta redirect tags... The smilies work fine untill i prevent the meta tags and then they don't..
  7. Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/public_html/jailshout.php on line 10 Line 10   $whiteist " <img>[i] <u>";
  8. So it would be this...   $whiteist = array (' ', '<img>', '[i]', ' ', '[b]', '<u>'); $message = stripslashes(strip_tags($message, $whiteist));
  9. Thank you DJK but woud should the img tag be? <img src />?
  10. This is my little bit of code and i'm trying to make it allow image tags...   $message = stripslashes(strip_tags($message, ' '));   Any ideas?
  11. When you release it can I buy 2 licences?
  12. Loving it. :) Thanks for screenshots.
  13. Thanks DJK. :) Will do.
  14. I haven't even opened ,my site yet so I can't but I will defiatly be buying this. How about more screenies? But if you want me to test it on a offilne game I will. :rolleyes:
  15. @illusions: thanks. :) @illegalife: Sarcasm? If not thanks. xD
  16. Ok so I made this for my game but I have made a better one. This login page uses JS. :) Unfortunately you fill have to download the .ZIP file. xD Link: http://uploading.com/files/5157b811/Login.zip/ Screenies: Main Login Page: Wrong Pass/Username: (Same for empty fields) Register on Login Page: Registered: Thanks! :) PSD for Main login image included. Thanks again. CJ - Twitch
  17. No problem. Take your time. :) What features will the lite version have?
  18. go on mate show me 1 forum that is fully intergrated with mccodes other then MTGs and the crappy one that comes with mccodes. yea you can have SMF IPB but i bet you they will not be used 1/2 as much as a intergrated one ...Sorry to be a dick but... Spelling updated. xD On Topic: I agree. I don't think the users want to leave your site to talk on a forum. By the way when will it be released?
  19. Has any one integrated this chat script with mccodes? http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/   Its a nice looking script.
  20. LOL. Simple stuff. :P Basic table use.
  21. Use this BBCode. [expander] <?php function bb2html($text) { $pattern[] = "/\[url=([^<> \n]+?)\](.+?)\[\/url\]/i"; $replacement[] = '[url="\\1"]\\2[/url]'; $pattern[] = "/\[url\](.+?)\[\/url\]/i"; $replacement[] = '[url="\\1"]\\1[/url]'; $pattern[] = "/\[email=([^<> \n]+?)\](.+?)\[\/email\]/i"; $replacement[] = '[email="\\1"]\\2[/email]'; $pattern[] = "/\[img[=]?(left|right)?\](([^<> \n]+?)\.(gif|jpg|jpeg|png|bmp))\[\/img\]/i"; $replacement[] = '[img=\\2]'; $pattern[] = "/\[[bB]\](.+?)\[\/[bB]\]/s"; $replacement[] = '[b]\\1[/b]'; $pattern[] = "/\[[iI]\](.+?)\[\/[iI]\]/s"; $replacement[] = '[i]\\1[/i]'; $pattern[] = "/\[[uU]\](.+?)\[\/[uU]\]/s"; $replacement[] = '<u>\\1</u>'; $pattern[] = "/\[[pP]\](.+?)\[\/[pP]\]/s"; $replacement[] = ' \\1</p>'; $pattern[] = "/\[[sS]\](.+?)\[\/[sS]\]/s"; $replacement[] = '<s>\\1</s>'; $pattern[] = "/\[hr]/s"; $replacement[] = '<hr />'; $pattern[] = "/\[center](.+?)\[\/center\]/is"; $replacement[] = '<center>\\1</center>'; $pattern[] = "/\[align(=left|=right|=center|=justify)?\](.+?)\[\/align\]/is"; $replacement[] = '<div align\\1>\\2</div>'; $pattern[] = "/\[color=(#[A-F0-9]{6})\](.+?)\[\/color\]/is"; $replacement[] = '<font color="\\1">\\2</font>'; $pattern[] = "/\[link=([^<> \n]+?)\](.+?)\[\/link\]/i"; $replacement[] = '[url="\\1"]\\2[/url]'; $pattern[] = "/\[nbsp]/s"; $replacement[] = ''; $pattern[] = "/\[div]/s"; $replacement[] = '<div class="hr"></div>'; $pattern[] = "/\[bp]/s"; $replacement[] = '[img=icons/bullet.png] '; $pattern[] = "/\[arrow]/s"; $replacement[] = '[img=icons/arrow.png] '; $pattern[] = "/\[ab=([^<> \n].+?)\](.+?)\[\/ab\]/i"; $replacement[] = '<abbr title="\\1">\\2</abbr>'; $text = preg_replace($pattern, $replacement, $text); return $text; } function strip_bbcode($text) { $pattern[] = "/\[url=([^<> \n]+?)\](.+?)\[\/url\]/i"; $pattern[] = "/\[email=([^<> \n]+?)\](.+?)\[\/email\]/i"; $pattern[] = "/\[img(=left|=right)?\](([^<> \n]+?)\.(gif|jpg|jpeg|png))\[\/img\]/i"; $pattern[] = "/\[[bB]\](.+?)\[\/[bB]\]/s"; $pattern[] = "/\[[iI]\](.+?)\[\/[iI]\]/s"; $pattern[] = "/\[[uU]\](.+?)\[\/[uU]\]/s"; $pattern[] = "/\[hr]/s"; $pattern[] = "/\[center](.+?)\[\/center\]/is"; $pattern[] = "/\[align(=left|=right|=center|=justify)?\](.+?)\[\/align\]/is"; $pattern[] = "/\[font(#[A-F0-9]{6})\](.+?)\[\/font\]/is"; $pattern[] = "/\[link=([^<> \n]+?)\](.+?)\[\/link\]/i"; $pattern[] = "/\[nbsp]/s"; $pattern[] = "/\[div]/s"; $pattern[] = "/\[bp]/s"; $text = preg_replace($pattern, '', $text); return $text; } ?> [/expander] I didn't make it it is Laceys work. I don't think he updated it though.
  22. Well... lets all face the facts. MCC's capcha if crap. Can someone make a new one knida like this? The numbers are random and you click on the correct one...
  23. Sounds Good :thumbup:
  24. Here you go ... Screenies! Main Forum (Staff forums also) In Test Forum (Notice pagination (Im on page one)) In Test Forum (Page three) I can't be arsed to do more screenies but there some features...
×
×
  • Create New...