aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2004-09-01 19:29:02 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2004-09-01 19:29:02 +0000
commitca74baf476446374f6a1fbd3e047b5efe301f8be (patch)
tree29922b1e49351ce03c66f24d9ecf9a5fec0c99f1 /phpBB
parentefebb3b9b9945c53433d7165269a6a25a835cd69 (diff)
downloadforums-ca74baf476446374f6a1fbd3e047b5efe301f8be.tar
forums-ca74baf476446374f6a1fbd3e047b5efe301f8be.tar.gz
forums-ca74baf476446374f6a1fbd3e047b5efe301f8be.tar.bz2
forums-ca74baf476446374f6a1fbd3e047b5efe301f8be.tar.xz
forums-ca74baf476446374f6a1fbd3e047b5efe301f8be.zip
- PM parameter for re-usage. ;)
git-svn-id: file:///svn/phpbb/trunk@4976 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/ucp/ucp_pm.php28
1 files 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
{