Jump to content
MakeWebGames

03laceys

Members
  • Posts

    863
  • Joined

  • Last visited

Everything posted by 03laceys

  1. Re: [All versions] Mailbox clickable bbcode and smilies   I have attempted this but with no avail i will looks into it, i can only think of doing it in Java which my capabilities do not cater for.
  2. Re: FLASH MENU ($30) One of those examples a is a template. Using flash on a game will slow it down and lose many valuable users.
  3. Re: [All versions] Mailbox clickable bbcode and smilies Preview Username: test Password: test
  4. Re: [All versions] Mailbox clickable bbcode and smilies   Thats what i thought killah but dosn't seems to work on basic v2 with the /
  5. Re: [All versions] Mailbox clickable bbcode and smilies Ok i can not explain the reason but on the base code of mccodev2 not test v1 yet it does not like the starting / for the images so simply do the following.. Replace your bbcodestyle.css with.. <style> body { behavior:url("csshover3.htc"); } .bbcode_hover { background-image: url('icons/bold.gif'); background-color: transparent; height: 20px; width: 20px; border: 0px; } .bbcode_hover:hover { background-image: url('icons/bold_on.gif'); background-color: transparent; height: 20px; width: 20px; border: 0px; } .bbcode_hover1 { background-image: url('icons/italics.gif'); background-color: transparent; height: 20px; width: 20px; border: 0px; } .bbcode_hover1:hover { background-image: url('icons/italics_on.gif'); background-color: transparent; height: 20px; width: 20px; border: 0px; } .bbcode_hover2 { background-image: url('icons/underline.gif'); background-color: transparent; height: 20px; width: 20px; border: 0px; } .bbcode_hover2:hover { background-image: url('icons/underline_on.gif'); background-color: transparent; height: 20px; width: 20px; border: 0px; } .bbcode_hover3 { background-image: url('icons/insert_hyperlink.gif'); background-color: transparent; height: 20px; width: 20px; border: 0px; } .bbcode_hover3:hover { background-image: url('icons/insert_hyperlink_on.gif'); background-color: transparent; height: 20px; width: 20px; border: 0px; } .bbcode_hover4 { background-image: url('icons/strikethrough.gif'); background-color: transparent; height: 20px; width: 20px; border: 0px; } .bbcode_hover4:hover { background-image: url('icons/strikethrough_on.gif'); background-color: transparent; height: 20px; width: 20px; border: 0px; } .bbcode_hover5 { background-image: url('icons/insert_picture.gif'); background-color: transparent; height: 20px; width: 20px; border: 0px; } .bbcode_hover5:hover { background-image: url('icons/insert_picture_on.gif'); background-color: transparent; height: 20px; width: 20px; border: 0px; } .bbcode_hover6 { background-image: url('icons/justify_center.gif'); background-color: transparent; height: 20px; width: 20px; border: 0px; } .bbcode_hover6:hover { background-image: url('icons/justify_center_on.gif'); background-color: transparent; height: 20px; width: 20px; border: 0px; } .bbcode_hover7 { background-image: url('icons/forecolor.gif'); background-color: transparent; height: 20px; width: 20px; border: 0px; } .bbcode_hover7:hover { background-image: url('icons/forecolor_on.gif'); background-color: transparent; height: 20px; width: 20px; border: 0px; } </style>   Replace function mail_compose() with... function mail_compose() { global $ir,$c,$userid,$h; echo <<< EOF <script type="text/javascript"> function insert(el,ins) { if (el.setSelectionRange){ el.value = el.value.substring(0,el.selectionStart) + ins + el.value.substring(el.selectionStart,el.selectionEnd) + el.value.substring(el.selectionEnd,el.value.length); } else if (document.selection && document.selection.createRange) { el.focus(); var range = document.selection.createRange(); range.text = ins + range.text; } } </script> <form action='mailbox.php?action=send' method='post'> <table width=75% border=2> <tr> <td>ID to send to:</td> <td><input type='text' name='userid' value='{$_GET['ID']}'/></td></tr><tr> <td>Subject:</td> <td><input type='text' name='subject'/></td></tr><tr> <td>Message:</td> <td> <center> <input type="button" class="bbcode_hover" onClick="insert(this.form.message,'[b][/b]'); return false;" value="" /> <input type="button" class="bbcode_hover1" onClick="insert(this.form.message,'[i][/i]'); return false;" value="" /> <input type="button" class="bbcode_hover2" onClick="insert(this.form.message,'[u][/u]'); return false;" value="" /> <input type="button" class="bbcode_hover3" onClick="insert(this.form.message,'[url][/url]'); return false;" value="" /> <input type="button" class="bbcode_hover4" onClick="insert(this.form.message,''); return false;" value="" /> <input type="button" class="bbcode_hover5" onClick="insert(this.form.message,'[img][/img]'); return false;" value="" /> <input type="button" class="bbcode_hover6" onClick="insert(this.form.message,''); return false;" value="" /> <input type="button" class="bbcode_hover7" onClick="insert(this.form.message,'[color=#xxxxxx][/color]'); return false;" value="" /> <textarea name='message' rows='10' cols='70' style='color: black; background-color: white'></textarea> <input type="image" src="smilies/smiley1.gif" alt="Smile" title="smile" onclick="insert(this.form.message,':)'); return false;" /> <input type="image" src="smilies/smiley2.gif" alt="Wink" title="Wink" onclick="insert(this.form.message,';)'); return false;" /> <input type="image" src="smilies/smiley3.gif" alt="Suprised" title="Suprised" onclick="insert(this.form.message,':o'); return false;" /> <input type="image" src="smilies/smiley4.gif" alt="Cheesy Grin" title="Cheesy Grin" onclick="insert(this.form.message,':D'); return false;" /> <input type="image" src="smilies/smiley5.gif" alt="Confused" title="Confused" onclick="insert(this.form.message,':s'); return false;" /> <input type="image" src="smilies/smiley6.gif" alt="Sad" title="Sad" onclick="insert(this.form.message,':('); return false;" /> <input type="image" src="smilies/smiley7.gif" alt="Angry" title="Angry" onclick="insert(this.form.message,':red'); return false;" /> <input type="image" src="smilies/smiley8.gif" alt="Clown" title="Clown" onclick="insert(this.form.message,':clown'); return false;" /> <input type="image" src="smilies/smiley9.gif" alt="Embarrassed" title="Embarrassed" onclick="insert(this.form.message,':bashful'); return false;" /> <input type="image" src="smilies/smiley10.gif" alt="Star" title="Star" onclick="insert(this.form.message,':x'); return false;" /> <input type="image" src="smilies/smiley11.gif" alt="Sick" title="Sick" onclick="insert(this.form.message,':green'); return false;" /> <input type="image" src="smilies/smiley12.gif" alt="Bored" title="Bored" onclick="insert(this.form.message,':|'); return false;" /> <input type="image" src="smilies/smiley13.gif" alt="Begging" title="Begging" onclick="insert(this.form.message,';('); return false;" /> <input type="image" src="smilies/smiley14.gif" alt="Smug" title="Smug" onclick="insert(this.form.message,':]'); return false;" /> <input type="image" src="smilies/smiley15.gif" alt="Horny" title="Horny" onclick="insert(this.form.message,':horny'); return false;" /> <input type="image" src="smilies/smiley16.gif" alt="Cool" title="Cool" onclick="insert(this.form.message,':cool'); return false;" /> <input type="image" src="smilies/heart.gif" alt="Heart" title="Heart" onclick="insert(this.form.message,':heart'); return false;" /></center> </td></tr><tr> </td></tr><td colspan=2><input type='submit' value='Send' class='btn'></td></tr></table></form> EOF; if($_GET['ID']) { print " <table width=75% border=2><tr><td colspan=2>[b]Your last 5 mails to/from this person:[/b]</td></tr>"; $q=mysql_query("SELECT m.*,u1.username as sender from mail m left join users u1 on m.mail_from=u1.userid WHERE (m.mail_from=$userid AND m.mail_to={$_GET['ID']}) OR (m.mail_to=$userid AND m.mail_from={$_GET['ID']}) ORDER BY m.mail_time DESC LIMIT 5",$c); while($r=mysql_fetch_array($q)) { $sent=date('F j, Y, g:i:s a',$r['mail_time']); print "<tr><td>$sent</td> <td>[b]{$r['sender']} wrote:[/b] {$r['mail_text']}</td></tr>"; } } OUT; $h->endpage();   And replace function mail_send() with... function mail_send() { global $ir,$c,$userid,$h; $subj=str_replace(array("\n"),array(" "),strip_tags($_POST['subject'])); $msg=bb2html($_POST['message']); $codes = array(":)", ";)", ":o", ":D", ":s", ":(", ":red", ":clown", ":bashful", ":x", ":green", ":|", ";(", ":]", ":horny", ":cool", ":heart"); $images = array("<img src=smilies/smiley1.gif>", "<img src=smilies/smiley2.gif>", "<img src=smilies/smiley3.gif>", "<img src=smilies/smiley4.gif>", "<img src=smilies/smiley5.gif>", "<img src=smilies/smiley6.gif>", "<img src=smilies/smiley7.gif>", "<img src=smilies/smiley8.gif>", "<img src=smilies/smiley9.gif>", "<img src=smilies/smiley10.gif>", "<img src=smilies/smiley11.gif>", "<img src=smilies/smiley12.gif>", "<img src=smilies/smiley13.gif>", "<img src=smilies/smiley14.gif>", "<img src=smilies/smiley15.gif>", "<img src=smilies/smiley16.gif>", "<img src=smilies/heart.gif>"); $newmsg = str_replace($codes, $images, $msg); $to= (int) $_POST['userid']; mysql_query("INSERT INTO mail VALUES ('',0,$userid,$to,unix_timestamp(),'$subj','$newmsg')",$c) or die(mysql_error()); print "Message sent. [url='mailbox.php']> Back[/url]"; }
  6. Re: [All versions] Mailbox clickable bbcode and smilies   I am sure your ploblem is the same but cannot say for sure please post game link or PM the link for me to check thank you.
  7. Re: [All versions] Mailbox clickable bbcode and smilies   Just checked your game the bbcode is working fine and just isn't showing the images, this is because you have not uploaded the bbcode images to the icons folder.
  8. Re: [All versions] Mailbox clickable bbcode and smilies     Version?
  9. Re: Mailbox clickable bbcode and smilies Removed.
  10. Removed.
  11. Re: problem   Then thats the one.
  12. Re: problem For goodness sake lol, dbdata.txt Next question how to i add it to the database.
  13. Re: problem Let me guess you have made your data base, you have connected it using the MYSQL or config file but have not uploaded the file contain the actually database queries, that is if you are using MCcodes which i am guessing you are.
  14. Re: problem   Well duh but you never know he may have been playin in the db and chaged the name or somthing.
  15. Re: problem Sounds to me You have removed userid from the database.
  16. Re: [self Made] New Login Page Lmao he just asked me to make a login with him so hey what does that tell you especially when you got upset after i said no.  
  17. Re: Spotify - Free Legal Music   Thank you for pointing that out i would go back and change it, but i can't.
  18. Re: Spotify - Free Legal Music   This programme has caused no lag to me, by on your network i presume you mean your internet connection. If so are you sure a programme was not running in the background, A virus was not on the computer, Your speed was down due to the ISP.
  19. So after watching the news today i went straight to their site signed up and downloaded the programme, ummm looks like itunes "I hate itunes", but still went ahead and after only 5 minutes i had a playlist with over 100 of my favorite songs. I decided to play them to see if there is any lag i.e buffering, or computer speed, result no lag unlike windows media player. Overall i thought it was a great programme in which i will be using daily. Note you must listen to an ad every 20 Min's or pay for an upgrade! Their description. The daily telegraph (UK newspaper) interview with the founder and CEO BBC news video http://news.bbc.co.uk/1/hi/sci/tech/7913586.stm Their website http://www.spotify.com Have you tried spotify yet? What are your views? Do you like it? If you havn't tried it will you?
  20. Re: Declared As A Business? (UK) While your site is on-line and receiving donations it is classed as a non-commercial site thus no need for any declaration of any sort, the moment your site starts to receive profit in the UK at least you should be paying tax and declaring your site as an income, as your site has now become commercial. Hope that helped.
  21. Re: New explore city (HTML) Mmm not bad, out of all the explores it's my favorite simple but nice. Only problem is too bunched to gether and to space it out it would look like any other explore. Overall good attempt keep up the work.
  22. Hitmans-Legacy is an MMORPG (Massive Multiplayer Online Game), To survive you will have to fight your way to the top, avoid the cops and earn respect. Which way of life do you choose the straight and narrow by getting a job and a business or the crooked way of life with crime and slippery dealings. **PG 13 due to mild violence and language.**     Any reviews/comments are welcome, thank you.
  23. Re: [V2] Error when registering new accounts FIXED
  24. Re: [V2] Error when registering new accounts   There try that.   $r=$db->fetch_row($q); } $db->query("INSERT INTO users (username, login_name, userpass, level, clevel, rlevel, money, platinum, crystals, donatordays, user_level, energy, maxenergy, cenergy, maxcenergy, gas, maxgas, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, lastip, lastip_signup) VALUES( '{$username}', '{$username}', md5('{$_POST['password']}'), 1, 1, 1, $sm, 0, 0, 0, 1, 12, 12, 12, 12, 4, 4, 100, 100, 5, 5, 100, 100, 1, '{$_POST['gender']}', unix_timestamp(), '{$_POST['email']}', -1, '$IP', '$IP')"); $i=$db->insert_id(); $db->query("INSERT INTO userstats VALUES($i, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10 )"); $db->query("INSERT INTO mail VALUES ('',0,1,$i,unix_timestamp(),'Welcome','Welcome to Corrupted City, we hope you enjoy your stay here. If you need any assistance feel free to mail a staff member. Make sure you read the Game Rules and Help Tutorial')",$c); if($_POST['ref']) { require "global_func.php";
  25. Re: MCCODE V2 LOGIN PAGE   I do believe I read that he was ASKING for a login not posting one... This was said as he hasn't realised he has posting in the wrong section.
×
×
  • Create New...