Messaging System

Reply

Join Date: Jul 2008
Posts: 44
Reputation: phouse512 is an unknown quantity at this point 
Solved Threads: 1
phouse512 phouse512 is offline Offline
Light Poster

Messaging System

 
-1
  #1
27 Days Ago
Hello,

I'm a pretty basic php user, and I'm wondering how someone would go about implementing a message system into a website with different users. It doesn't have to be anything specific, I'm just wondering about the basic design of it.

Thanks
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 525
Reputation: network18 is an unknown quantity at this point 
Solved Threads: 61
network18 network18 is offline Offline
Posting Pro
 
-1
  #2
26 Days Ago
browse around you will get thousand of free website design templates
"The discipline of writing something down is the first step towards making it happen."

follow me on twitter
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 433
Reputation: Atli is on a distinguished road 
Solved Threads: 56
Atli's Avatar
Atli Atli is offline Offline
Posting Pro in Training
 
-1
  #3
26 Days Ago
Hey.

What do you mean by "a message system"?
Like a blog, or like a messenger?

If it's a blog, there are probably hundreds of codes available online for you to choose from. Wordpress being something of a leader among them.

If you mean a messenger system, then PHP alone is probably not the best way to go. Something involving AJAX wold be more promising.
Last edited by Atli; 26 Days Ago at 4:25 am. Reason: Wrong wordpress link.
Please do not ask for help in a PM. Use the forums.
And use [code] tags!
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 44
Reputation: phouse512 is an unknown quantity at this point 
Solved Threads: 1
phouse512 phouse512 is offline Offline
Light Poster
 
0
  #4
26 Days Ago
Not a IM app or blog

I don't mean anything really complicated, I'm mainly just wondering how you would store data from a message that one user sent to another. You wouldn't be able to store it in databases right?
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 977
Reputation: ardav will become famous soon enough ardav will become famous soon enough 
Solved Threads: 127
ardav's Avatar
ardav ardav is offline Offline
Posting Shark
 
0
  #5
26 Days Ago
Why not?
You can use PHP to send emails/store messages from one user to another in a DB. This implementation can be as simple or as complex as you like.

If you're interested in making a simple messaging system. A possible mysql setup would be:

users table
user_id
username
pw
email

msgs table
msg_id
msg_title
msg_body
msg_sender (foreign key on user_id)
msg_recipient (foreign key on user_id)
msg_status (e.g. pending/read/etc)
notify_when_open (find out if your msg has been read)

If you're new to php, you will have some fun creating forms for msgs and validating /cleaning input and then improving the design to incorporate diffrent msb folders, send to multiple recipients etc. This is a really good 'project' to get your teeth into. Ready made scripts may be useful, but if you're starting out, they may cause more confusion than anything, especially if they're object-orientated.
"...the woods would be a very silent place if no birds sang except for the best"
All opinions count - unless you're a serial downvoter.
F'enw i yw Mr. Blaidd. Byddwch yn ofalus - dwi'n cnoi.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 44
Reputation: phouse512 is an unknown quantity at this point 
Solved Threads: 1
phouse512 phouse512 is offline Offline
Light Poster
 
0
  #6
26 Days Ago
Ohh...I see, I wasn't sure about the database design part. I'll go try that and then post it back here to see if its ok.

Thanks
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 281
Reputation: SKANK!!!!! is an unknown quantity at this point 
Solved Threads: 2
SKANK!!!!! SKANK!!!!! is offline Offline
Posting Whiz in Training
 
-1
  #7
22 Days Ago
this is what i "derived" off of LOL.
http://www.astahost.com/Private-Mess...em-t18247.html
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC