Jump to content
MakeWebGames

Aurora078

Members
  • Posts

    103
  • Joined

  • Last visited

    Never

Everything posted by Aurora078

  1. I don't see any security flaws. I understand people have preferences but i don't see anything wrong with it in my eyes.
  2. Well, i had a little free time, and i havent seen one on here, so here it is. Basically it allows members to forward their mails to either one or multiple users. Hope you enjoy. Feel free to ask questions or acknowledge any problems you may have. Open: mailbox.php Find: Line 30-33 case 'send': mail_send(); break;   Under it add: case 'forward': mail_forward(); break;   Find: Line 84-85 <td>Sent at: {$sent} [url='mailbox.php?action=compose&ID={$r[']Reply[/url]   Under it add: [url='mailbox.php?action=forward&ID={$r[']Forward[/url]   The rest: function mail_forward(){ global $db,$ir,$c,$userid,$h; $_GET['ID']+=0; if(!$_GET['ID']){ echo 'We can\'t seem to find the mail you are trying to forward. Please try again. If it continues, contact an administrator.'; $h->endpage(); exit; } $mysql_ = 'SELECT `mail_id`,`mail_to`,`mail_from`,`mail_text` '. 'FROM `mail` '. 'WHERE `mail_id`='.$_GET['ID'].' AND `mail_to`='.$userid; $q = $db->query($mysql_); $r = $db->fetch_row($q); if(!$db->num_rows($q)){ echo 'You do not own this mail, so you may not forward it.'; $h->endpage(); exit; } if(!$_POST['Submit']){ echo '<table width=\'35%\' class=\'table\' cellspacing=\'1\' cellpadding=\'0\'> <form action=\'mailbox.php?action=forward&ID='.$_GET['ID'].'\' method=\'POST\'> <tr> <th>Send To: [size="1"]Seperate multiple ID\'s with commas.[/size] </th> <td> <input type=\'text\' name=\'ids_to\'> </td> </tr> <tr> <th>Message:</th> <td> <div style=\'padding:3px 3px 3px 3px;\'> <textarea name=\'mail_f\' style=\'width:98%; height:100px;\'>FW: '.$r['mail_text'].'</textarea> <center> <input type=\'submit\' name=\'Submit\' value=\'Forward Message\'> </center> </form> </div> </td> </tr> </table>'; } else { if(!$_POST['ids_to']){ echo 'You have not selected anyone to send to.'; $h->endpage(); exit; } $ids_ = explode(",", $_POST['ids_to']); foreach($ids_ as $id){ if(!abs((int) $id)){ echo 'Error: One or more of your ID\'s are not numbers.'; $h->endpage(); exit; } else if(!$db->num_rows($db->query("SELECT `userid` FROM `users` WHERE `userid`={$id}"))){ echo 'Error: User #'.$id.' doesn\'t exist'; $h->endpage(); exit; } $mail_f = htmlentities($_POST['mail_f']); $db->query("INSERT INTO `mail` VALUES(NULL,0,{$userid},{$id},unix_timestamp(),'Forwarded Message','".$mail_f."')"); $db->query("UPDATE `users` SET `new_mail`=`new_mail`+1 WHERE `userid`={$id}"); echo 'Forwarded to ID '.$id.' '; } } }
  3. This tutorial will only cover the light-to-dark shades of basic colors such as black, white, green, yellow, etc. as i haven't figured out the 6 letter long code. Basically, lets say we have #FFF. Now there are only six shades of gray. The last one, #FFF is white. So the farther in the alphabet, the lighter the color will be. Now RGB, or Red/Green/Blue should be mentioned, as they are basically the blocks of it all. For example, our first F gives red the light color. our second F gives blue a light color. our third f gives blue a light color. When they are all light, what better to give than white? Now since Hexidecimals are 0-9 and A-F, that means A = dark, F=light, 0=dark,9=lighter than dark, but not fully lit, because of course, F is light. So instead of the more complex scenario i just said, 0 is dark, and F is light. I will try to post the 6 letter long explanation as well, but i havent figured it out yet.
  4. Thanks. Thats where i learned it. You know the Silk icon set by famfamfam? Well, there image map thing is a bit difficult, so i redid it with only the icons without the words.. Allll 1,000 of those icons lol. I'm about half way done with the css mapping for it, and im thinking of posting it on MWG so user's that want the icons can take advantage of using sprites, and maybe learn from the CSS how it works.
  5. [align=center]CSS Image Sprites[/align] [tabmenu] [tab=What are CSS Image Sprites?] [tab=What is a(n) Image Map?] [tab=What sites use Image Sprites?] [tab=Learn More?] [/tabmenu]
  6. Aurora078

    Page Loader

    I'm looking for something that will put a loading bar while the page is loading instead of just the white screen loading slowly.. Sorta like gmails loader or NEabs loader :P Can anyone help?
  7. Well, i've been asked by a few people to remake it, so im going to. Here are some features: Comments - Now you can comment on your friends profile and it will show up in a nice comment box. Ajax/jQuery Effects - Used to generate some pretty cool effects for users with javascript enabled. Design - Nothing special. White Divs with Title bars, of course it comes with a css file(:, so editing isnt that hard for a person with basic understanding of CSS. Settings - Upgraded Settings page(: Any other ideas? Please tell :P   Now, I'm not really blaming it on this, but i do have ADD and i tend to get sidetracked and lose interest on and off, so you have to bare with me ok? Good(:
  8. Yeah i remember working with him on it. Its a pretty good mod.
  9. Well, Since Google doesn't use anyone elses ad systems and uses there own, the likelihood of it coming from those are slim. The only really way there could be a trojan is if Google did it themselves or someone hacked them and did it, which is possible, but not very likely for the virus to be on there for more than a few minutes.
  10. I'm not asking for a tutorial from you, but do you know where i can find one on the apache usermod because i cant find one..
  11. Original. However you should add it to cron day, this way you make sure it gets credited once only ( you save 1 field in your mysql table too, not much but something ), plus you can still add an event saying you've been credited X amount of crystals. More automated (:.. You could also make it so if a user hasnt been on in X days they dont collect until they start playing again.
  12. Thanks, Nickson. I'm Going to try this out for the hell of it. Would be alot easier to just click my home icon than do all that folder searching. However does this auto-start itself or do i have to start all of it on start up?
  13. Ah theres a hall of shame 0.0?
  14. Well, I recently installed Linux ( By recent i mean yesterday ). I knew of LAMPP and wanted to install it. With a few command searches via google, i got the stuff extracted to my /opt folder like so... Then, after i did the small security terminal, i proceeded to edit my index.php. Little did i know, that unless i was logged in as root ( or you can use the terminal, but thats a line or two later ), i couldn't do anything without a small line " gksudo 'nautilus /opt' " which mainly allows you to edit anything in the /opt folder during that session. I searched google some more, and found a list of all the commands, and came accross "chmod". Now, being familar with how chmod works, i figured it would work the same as other languages. I was right. " chmod 777 /opt/lampp/htdocs " did the trick, and now i can write, read, etc. my files without having to do it through the terminal all the time. Note: You do have to be in root mode to chmod in that directory, so i suggest using " sudo -s " or the like to do that. This should help anyone who was sick and tired of not knowing, and help others that dont know much about the terminal. i've attached a link to the site with tons of commands and things for the terminal that i found with a 5 second google search... http://ss64.com/bash/ By the way, bash stands for Bourne Again SHell, if you didnt know :/
  15. Ah true. Another idea is concussion grenades, like when you throw them in-game at someone, it pauses there actions for 3 minutes or so.
  16. Hmm very nice, but how would a user be reading the notification if someone just threw a grenade at them??
  17. So basically PayPal is saying if anything is 18+ its porn? lol. What if i made a program about rabbits and i wanted it only to 18+ ( Which is kind of stupid, but this is just an example ). Then they would call my hopping rabbit program porn? Thats no good :/
  18. I dont know to be honest, but it makes them wonder lol.
  19. Well Bots are mainly a program to do automated functions without needing a human to do the actions. There are Macro Bots and More Advanced Bots which used headers and such ( To do actions via url's ). Macro bots repeat a function that a user has done once before. They work by well, headers or repeated actions. Its pretty obvious how they are used to cheat. They can do automated functions, so anything such as the gym or crimes and other things can be repeated. One way to stop them is using a captcha ( Not the mccodes captcha, that sucks :/ ). You should be aware they are not 100% effective, but depending on the person who built it it could be 99% or such. I suggest using reCaptcha, but thats my opinion
  20. I agree. I mean, theres already a good 5 minutes before your brave/w/e in the game to do crimes replenishes, but now we would have to wait im between crimes? Not good :/
  21. I'm looking for some sort of delay in the request, because my AJAX loads so fast you can only see the image for half a second. Mainly for effect, like a 3000ms delay would be quick and still achieve my effect
  22. Ok, so im wondering how can i use an image to show that ajax is loading, for effect of course.
  23. Yes, I love JS lol. and sorta, but there would be a main chat where everyone talks, and then a seperate thing for friends only individual chatting
  24. Would anyone be interested in a Chat with an IM feature for the friends list?
  25. I'm going to see what i can do to help get this project moving
×
×
  • Create New...