From ca74baf476446374f6a1fbd3e047b5efe301f8be Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Wed, 1 Sep 2004 19:29:02 +0000 Subject: [PATCH] - PM parameter for re-usage. ;) git-svn-id: file:///svn/phpbb/trunk@4976 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/ucp/ucp_pm.php | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/phpBB/includes/ucp/ucp_pm.php b/phpBB/includes/ucp/ucp_pm.php index b2971533aa..d1b2db35ad 100644 --- a/phpBB/includes/ucp/ucp_pm.php +++ b/phpBB/includes/ucp/ucp_pm.php @@ -11,12 +11,34 @@ // // ------------------------------------------------------------- -// TODO for M-4: +// TODO: // // * Review of post when replying/quoting -// * Introduce post/post thread forwarding -// * Introduce (option of) emailing entire PM when notifying user of new message // * Handle delete flag (user deletes PM from outbox) +// * Report PM +// * Check Permissions (compose message - to user/group) + +/* + folder= + (int) display folder with the id used + (string) can be inbox, outbox or sentbox + + Display Unread Messages - mode=unread + Display Messages (default to inbox) - mode=view_messages + Display single message - mode=view_messages&action=view_message&p=[msg_id] or &p=[msg_id] (short linkage) + + if the folder id with (&f=[folder_id]) is used when displaying messages, one query will be saved. If it is not used, phpBB needs to grab + the folder id first in order to display the input boxes and folder names and such things. ;) phpBB always checks this against the database to make + sure the user is able to view the message. + + Composing Messages (mode=compose): + To specific user (u=[user_id]) + To specific group (g=[group_id]) + Quoting a post (action=quote&q=1&p=[post_id]) + Quoting a PM (action=quote&p=[msg_id]) + Forwarding a PM (action=forward&p=[msg_id]) + +*/ class ucp_pm extends module {