1 (edited by chacmool 2004-01-11 13:22)

Topic: Private Message System

I've done a private message system with the most basic functions.

Suggestions... comments? Anything missing? Somethings wrong?

Download the latest version from PunRes.

Screenshot:
http://www.etek.chalmers.se/~e0mool/punbb/pics/PMS.png

Re: Private Message System

Yeah, I know what's missing.
The download url big_smile

Re: Private Message System

Muggen wrote:

Yeah, I know what's missing.
The download url big_smile

Hehe, true, but that's on purpose big_smile

There's always some bugs... and I want to find them first smile

Re: Private Message System

Very nice, can't wait for it to be released. big_smile

Re: Private Message System

Wow, look at that, It's me big_smile

6

Re: Private Message System

Oh wow. Guess I will stop coding on my PMS version. Time to cancel the PMS project.

"You start coding. I'll go find out what they want." - Computer Analyst to Programmer

7 (edited by chacmool 2004-01-04 20:30)

Re: Private Message System

Cactuz wrote:

Wow, look at that, It's me big_smile

Yeah, you're famous now! smile

Mako wrote:

Oh wow. Guess I will stop coding on my PMS version. Time to cancel the PMS project.

No competeition then wink

Re: Private Message System

Done!

Url is in the first post. As usual: PLEASE tell me if somethings wrong... or just weird smile

Re: Private Message System

Very nice. Very nice indeed :)

"Programming is like sex: one mistake and you have to support it for the rest of your life."

10

Re: Private Message System

Finally wink
Im using punbb for my school, there will be a lot of messages there ^^

Re: Private Message System

Muggen wrote:

Finally wink
Im using punbb for my school, there will be a lot of messages there ^^

Nice!
I hope there's no bugs left then smile

12

Re: Private Message System

I was thinking 'bout something that shows how many messages that have been sent by all users also.

"This forum has 600 registered users, 1072 topics and 7144 posts."

13

Re: Private Message System

OK I cancalled my PMS project.

"You start coding. I'll go find out what they want." - Computer Analyst to Programmer

Re: Private Message System

"Unable to fetch reports info"

When I remove the modified header.php and replace it with the original, it works. Why? smile

Re: Private Message System

Fredrik wrote:

"Unable to fetch reports info"

When I remove the modified header.php and replace it with the original, it works. Why? smile

And everything else works?

What's the errormessage if you turn on debug-mode?

(I've changed the errormessage to: "Unable to check for new messages" instead, forgot to change it when I copied the code)

Re: Private Message System

No, nothing works. When I upload everything I just get a small box in the middle of the screen that says:

"An error was encountered
Error: Unable to fetch reports info."

Debug-mode.. I haven't tried that yet.

Re: Private Message System

Did you run install_mod.php?

Re: Private Message System

You know what.. I didn't! Feel so stupid. Although when I did. I got this instead:

An error was encountered
File: install_mod.php
Line: 33

PunBB reported: Unable to create table messages.
Database reported: You have an error in your SQL syntax near ') TYPE=MyISAM' at line 13 (Errno: 1064)

Re: Private Message System

Fredrik wrote:

You know what.. I didn't! Feel so stupid. Although when I did. I got this instead:

An error was encountered
File: install_mod.php
Line: 33

PunBB reported: Unable to create table messages.
Database reported: You have an error in your SQL syntax near ') TYPE=MyISAM' at line 13 (Errno: 1064)

Hehe smile

Do you use mysql or pgsql?

Re: Private Message System

I use mysql

Re: Private Message System

Okey... could you test with debug-mode on?
(One of the first lines in include/common.php)

Re: Private Message System

Yeah, I did use that on my last post there.

And I got:
"Database reported: You have an error in your SQL syntax near ') TYPE=MyISAM' at line 13 (Errno: 1064)"

23 (edited by chacmool 2004-01-05 23:08)

Re: Private Message System

Fredrik wrote:

Yeah, I did use that on my last post there.

And I got:
"Database reported: You have an error in your SQL syntax near ') TYPE=MyISAM' at line 13 (Errno: 1064)"

Ahh, true. My mistake smile

Have a solution though: Change line 31 in install_mod.php to:

PRIMARY KEY (id)

Edit: Somehow frustrating when the code works on my computer but not others...

Re: Private Message System

Haha, well what a mess one single little comma can make. wink

Thanks alot for helping out! Love your mods btw.

Re: Private Message System

Fredrik wrote:

Haha, well what a mess one single little comma can make. wink

Thanks alot for helping out! Love your mods btw.

Great!

Oh, thanx alot! smile