Messaging system?
-
- Posts: 8
- Joined: Sat Apr 24, 2010 7:25 pm
Messaging system?
Anybody know how to create a messaging system ? with PHP and Mysql?
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Messaging system?
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
Script Dungeon
Hot Scripts
Resource Index
The indelible lord of tl;dr
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Messaging system?
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
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
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Messaging system?
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.
The indelible lord of tl;dr
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Messaging system?
not sure which one they mean mean, guess we will find out 
