Aurora078 Posted September 15, 2010 Posted September 15, 2010 Well, the view user didn't go so well. But now im making a mailbox modification. Here are the features: New Settings page. Ignore feature built-in Display Pic in mails POSSIBLE: Limit to how many mails they can have at one time, to save space in your mail table. POSSIBLE: 9 different themes to choose from. JS/Ajax functionality for a few things to make it more interactive. Nothing else planned so far, feel free to suggest. So, I'm going to be releasing it free, and i give credit to anyones ideas i use, so yeah(:. Quote
Joshua Posted September 15, 2010 Posted September 15, 2010 Sounds like a good little set-up. Maybe run a db/query to check how much mail they have then die() / error message if the mailbox is over > set amount. Simple stuff but effective and unthought of usually. Themes is a nice little add-on as well, Look forward to seeing this :) Quote
bladewolf2010 Posted September 15, 2010 Posted September 15, 2010 add this to stop/slow spammers.. specific amount of times a user can mail players with same message. if they hit like 10 they get fedded until admin comes online and finds out what they were spamming? Quote
rulerofzu Posted September 16, 2010 Posted September 16, 2010 Sounds like a good little set-up. Maybe run a db/query to check how much mail they have then die() / error message if the mailbox is over > set amount. Simple stuff but effective and unthought of usually. Themes is a nice little add-on as well, Look forward to seeing this :) Why? It would be better practise to delete mails after xx amount of days which would keep the database in better shape. Quote
Joshua Posted September 16, 2010 Posted September 16, 2010 Right Zu, but some people choose to save certain mails from certain people, hence they get to choose which ones are deleted etc. I.E I have 20 or so mails I'd like to save, i'd be rather pissed if they get deleted and the junk ones stay. Hence it's better for the player if their mailbox is full, maybe they'll get an Event sent to them when someone can not deliver a message due to a full inbox. Except Staff off course. They should always be able to send mail. Quote
rulerofzu Posted September 16, 2010 Posted September 16, 2010 Ok a lock option on the mail that needs to be saved and delete the rest. I dont think your inbox is full you cannot get any more mail is a good idea. But each to their own games differ as do the players. I know my players would be very pissed if they had to go away for x amount of time and came back to find nobody was able to send them a msg. Quote
Aurora078 Posted September 16, 2010 Author Posted September 16, 2010 Well, for spammers i could use a Captcha or something. Quote
bladewolf2010 Posted September 16, 2010 Posted September 16, 2010 that'd annoy people tho wouldnt it? Quote
Dominion Posted September 16, 2010 Posted September 16, 2010 Why not give them a set amount of “free mails” an hour after that they must fill in a Captcha? Quote
Aurora078 Posted September 16, 2010 Author Posted September 16, 2010 Why not give them a set amount of “free mails” an hour after that they must fill in a Captcha? Well, Heres my idea: 3 Mail(s) before captcha Fed Jail if they fail the captcha ( Due to botting ). Quote
Aurora078 Posted September 16, 2010 Author Posted September 16, 2010 Why not give them a set amount of “free mails” an hour after that they must fill in a Captcha? Well, Heres my idea: 3 Mail(s) before captcha Fed Jail if they fail the captcha ( Due to botting ). Fail 3 times* Quote
Paddy Green Posted September 16, 2010 Posted September 16, 2010 Hmm.. Well, all Mail System look the same, and it's quite yano "Hha.. What a legend", so could you use some CSS - xHTML & Graphics to make a good lookin' Mailbox System? :P Quote
Dominion Posted September 16, 2010 Posted September 16, 2010 Jail on the first fail is not a good idea in my opinion, what if people just get in wrong? - edit - you changed you post Quote
Joshua Posted September 17, 2010 Posted September 17, 2010 There are tons of emails that use this type of set-up After so many mails, some are deleted, it's always annoyed me personally. I think a person should be sudo responsible for their incoming mails, but the being able to lock them would be a good idea. Quote
Aurora078 Posted September 17, 2010 Author Posted September 17, 2010 Lock as in being able to go to the settings page and lock your inbox from recieving any mails? If so then good idea i may add it. @Paddy Green: Well, i was thinking of using divs for the mailbox. For the main inbox, a div container ( holds all the children divs ), any new mails from users the particular mail div is green, unread is red, and any mail from staff would be blue. As far as graphics go, I'm not really good at them. I'm sure i could figure out some web 2.0 but thats about it.Oh and i'm using jQuery for most of the JS, so i will make sure that when you delete mails, you stay on the same page, but the particular mail slowly fades out. and im using the idea of a other mailbox, in which you have two different pages, one shows the mails, and then one function shows the mail when you want to read. I was thinking also instead of re-creating images with GD, that i'll do an external link system, so if they want to view any images, they have to do it on another site, which i believe would have no effect on their game profiles if, indeed, someone was trying to do something with it. Quote
Aurora078 Posted September 23, 2010 Author Posted September 23, 2010 Just want some comments on this. I made a small array for the page names, $pages = array('inbox' => 'Inbox'); foreach($pages as $input => $output){ if($_GET['action'] == $input){ echo '<h3>[b]'.$output.'[/b]</h3> '; } else { echo '<h3>[b]Mailbox[/b]</h3> '; } } Would that be useful to you guys or would you prefer the old way? Quote
lucky3809 Posted October 3, 2010 Posted October 3, 2010 why captcha? why not use the 15 second deal, where they have to wait before sending a second mail? players already have to type in the captcha (if your game is using it on gym and crimes, and education). I personally wouldnt add captcha everywhere on the game, it makes players not want to play especially those who uses their phones. Quote
Dominion Posted October 3, 2010 Posted October 3, 2010 if i had to wait 15 secs per mail it would annoy me just as much Quote
danger boy Posted October 3, 2010 Posted October 3, 2010 A good idea would be levels 3 or under have to wait 20 seconds to send another mail? That way peple don't just join to advertise there game on your game..... PS, sorry if this has already been mentioned, i didn't read all the posts. Quote
lucky3809 Posted October 5, 2010 Posted October 5, 2010 Oh yeah about... POSSIBLE: Limit to how many mails they can have at one time, to save space in your mail table. Just add the 30 day cron to clean out all mailbox's on server every 30 days helps with the table, instead of setting a limit, unless in course a person is receiving 1k mail a day then yeah to the limiting lol. @danger boy that would work also, to stop spam, and advertising because most advertising comes from low levels. Quote
Joshua Posted October 8, 2010 Posted October 8, 2010 Why wait even 30 days? $db->query("DELETE FROM mail WHERE saved !=1"); Then just add a table in mail tiny int called saved Give them a function in mailbox if they want to keep mail to save it which would turn from 0 to 1. Set it to the week cron, done Quote
Joshua Posted October 8, 2010 Posted October 8, 2010 actually that wouldnt be exactly 7 days, week cron rolls over every week same time, so if they just got mail it would erase it. Set a Timer in the database add timer / saved to the mail table have cron day add timer = timer+1 Delete where timer > 7 Quote
Dave Posted October 8, 2010 Posted October 8, 2010 actually that wouldnt be exactly 7 days, week cron rolls over every week same time, so if they just got mail it would erase it. Set a Timer in the database add timer / saved to the mail table have cron day add timer = timer+1 Delete where timer > 7 actually that wouldnt be exactly 7 days, week cron rolls over every week same time, so if they just got mail it would erase it. Set a Timer in the database add timer / saved to the mail table have cron day add timer = timer+1 Delete where timer > 7 actually that wouldnt be exactly 7 days, week cron rolls over every week same time, so if they just got mail it would erase it. Set a Timer in the database add timer / saved to the mail table have cron day add timer = timer+1 Delete where timer > 7 Timestamps would be a better system.. Save's running unneeded code. Quote
Joshua Posted October 8, 2010 Posted October 8, 2010 yep, but i'm trash with timestamps >< I do agree however. Quote
Dominion Posted October 8, 2010 Posted October 8, 2010 i think mccodes mailbox already has a "sent" time in the database? use that and add the "saved" thing if you need it >< Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.