Page 1 of 1

Messaging system?

Posted: Sun May 23, 2010 5:46 pm
by HDWWEClips
Anybody know how to create a messaging system ? with PHP and Mysql?

Re: Messaging system?

Posted: Sun May 23, 2010 6:24 pm
by Jackolantern
Probably the easiest way to handle it would be to use existing scripts. There are hundreds of chat scripts freely available online, and many of them have more features than any of us would care to write-up ourselves.

Script Dungeon
Hot Scripts
Resource Index

Re: Messaging system?

Posted: Sun May 23, 2010 7:54 pm
by hallsofvallhalla
what kind? like Private Messages?

Just create a table called messages with fields like sender, receiver, subject, message, date, new

have a place where a player can enter in a new message and when you do the insert just insert who it is going to , the player who sent it name and new = 1,

when the main page or message page is loaded have it query message where receiver = player and new = 1

Re: Messaging system?

Posted: Sun May 23, 2010 9:28 pm
by Jackolantern
Ohhh, oops! I thought he meant a chat system, which is a piece that should really not be reinvented with all the free scripts out there. Private messaging is pretty simple to make custom.

Re: Messaging system?

Posted: Sun May 23, 2010 10:13 pm
by hallsofvallhalla
not sure which one they mean mean, guess we will find out :)