Private Messaging, like what we have here!

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

gfirman
Forum Commoner
Posts: 30
Joined: Tue Nov 21, 2006 10:41 am

Private Messaging, like what we have here!

Post by gfirman »

Hi,

I am new to this forum and am looking for some help from all you experts out there.

Basically I am doing a college project which involves a private messaging system. The database I am using is MySQL.

It is to be a simple pm system where one can send messages, receive messages, delete messages etc. Also, a message to appear on a users homepage to say a new message has been received, is required.

Basically the system is something like what is in this forum page.

Also some help with setting up MySQL tables would be helpful.

Any links to code would be very helpful as well.

Thanks to everyone who replies
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

gfirman
Forum Commoner
Posts: 30
Joined: Tue Nov 21, 2006 10:41 am

Post by gfirman »

Thanks man, i'll check it out
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

gfirman wrote:Thanks man, i'll check it out
Don't. It's a college project. You're supposed to work it out for yourself using your brain. Ask questions here for sure, but don't just read someone else's code and copy their ideas. That's really lame.
gfirman
Forum Commoner
Posts: 30
Joined: Tue Nov 21, 2006 10:41 am

Post by gfirman »

Hey man, I am new to all this and it is mind boggeling what you can do. I just need someone to point me in the right direction. Having been looking at some php code and trying to figure what is going on. Just any tips would be very greatful
gfirman
Forum Commoner
Posts: 30
Joined: Tue Nov 21, 2006 10:41 am

Post by gfirman »

To anyone interested, don't bother to look at hotscripts.com for private messaging. I can't find anything about it there
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

gfirman wrote:Hey man, I am new to all this and it is mind boggeling what you can do. I just need someone to point me in the right direction. Having been looking at some php code and trying to figure what is going on. Just any tips would be very greatful
I don't know about anyone else but I certainly won't help you cheat on an assignment. What I will do is help you anyway possible; if you have any questions just let us know.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Think about the logic behind what you want to do. Document the steps, then code the documentation. Refactor as needed to get what you want to get to.
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

google phpmyadmin. that'll make the table thign a whole hell of a lot easier. :-D be careful to follow the install instructions precisely or things will get sticky...if your on a shared host they'll probably all ready have phpmyadmin all ready set up for you.
gfirman
Forum Commoner
Posts: 30
Joined: Tue Nov 21, 2006 10:41 am

Post by gfirman »

Yes I have phpmyadmin set up. The trouble is just putting the system together. Making sure the tables are right and that they are working properly with the php code. I am only new to this so its a bit complex for me now, but i'm sure i'll get the hang of it.
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

gfirman wrote:Yes I have phpmyadmin set up. The trouble is just putting the system together. Making sure the tables are right and that they are working properly with the php code. I am only new to this so its a bit complex for me now, but i'm sure i'll get the hang of it.
Surely you can't be completely new to it, they must have taught you something about it at college if it's an project you've been given.
gfirman
Forum Commoner
Posts: 30
Joined: Tue Nov 21, 2006 10:41 am

Post by gfirman »

Yes I am completely new to php. I have read an ebook about php and also about MySQL, so I know the basics. Our lecturers say that the code is all out there - that we just have to find it and put it together, but easier said than done. Theres a big difference between knowing the basics and trying to implement a private message system.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Are you supposed to find the code or build the code?
gfirman
Forum Commoner
Posts: 30
Joined: Tue Nov 21, 2006 10:41 am

Post by gfirman »

Basically, we have to find the code and then modify it to suit what we are doing. I'm looking for code now but it seems to be in bits and piece. So it looks like it will have to be put together like a jigsaw.

I have researched this and am making slow progress. There doesn't seem to be many tutorials about pm systems, and the code is all broken up. So I decided to find a forum and try and find some advice from all you experts out there. But I know you can't really help me if I don't ask any questions, but its hard to know what to ask.
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

users need to be able to:

register
log-in
read pm's
send pm's
delete pm's

think about how to implement those pages

you need to read about conditional statements and mysql functions

http://www.php.net/manual
Post Reply