PM system

Need some coding help with a MOD or tweak you are working on? - Ask here.
Forum rules
Ask for support specifically regarding coding help with phpBB3.
Not for generic usability questions or support.

PM system

Postby chaoskreator » 28 Jun 2011, 12:13

I'm wondering if anyone can explain a little of the phpbb private messages system to me. I see there are 4 tables for PMs; privmsgs_rules (self-explanatory), privmsgs_folder (which I'm assuming is user-created folders), privmsgs_to (which I'm assuming is just a table to contain where each message originated, where it's going and what happened to it), and the privmsgs table (which actually contains the messages, themselves).
What I'm confused about is in the privmsgs_to table. Some of the entries have -1 in the folder_id field. What does this denote, exactly?

Any tutorials or articles on Private Messages anyone could provide would be greatly appreciated.
User avatar
chaoskreator    
Commander
Commander
 
Posts: 716
Joined: 02 Feb 2009, 22:05
Location: NC
Gender: Male
phpBB Knowledge: 7


Re: PM system

Postby topdown » 16 Jul 2011, 00:10

I don't know of any tutorials explaining the actual logic for the PM's.

But without looking I assume the folder_id is an int, and it is probably the default folder Inbox.
I can look it over tomorrow if you are still interested in knowing.
Do not PM me for Support unless I give permission in a post......PM's only help one, posts help everyone !
User avatar
topdown    
STG Styles Leader
STG Styles Leader
 
Posts: 3021
Joined: 01 Oct 2007, 22:56
Location: Handyman's harddrive
Favorite Team: STG Teams
Gender: Male
phpBB Knowledge: 9


Return to phpBB3 Coding Assistance

Who is online

Users browsing this forum: Googlebot and 13 guests

cron