Jump to content
MakeWebGames

Recommended Posts

Posted

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(:.

Posted

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 :)

Posted
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.

Posted

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.

Posted

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.

Posted
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 ).

Posted
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*

Posted

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.

Posted

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.

Posted

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?

  • 2 weeks later...
Posted

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.

Posted

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.

Posted

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.

Posted

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

Posted

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

Posted
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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...