From 5a3cbc6324cf6e3185adf056cf6fd982969eb4fc Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 11 Apr 2010 15:14:07 +0000 Subject: Added list -> forum bridge. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6653 67b53d14-2c14-4ace-a08f-0dab2b34000c --- src/M2F.php | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/M2F.php (limited to 'src/M2F.php') diff --git a/src/M2F.php b/src/M2F.php new file mode 100644 index 0000000..7dd56b0 --- /dev/null +++ b/src/M2F.php @@ -0,0 +1,34 @@ +getFrom()); +$userName = get_user_name($userId); + +$bridge = new Bridge(); + +$inReplyTo = $msg->getInReplyTo(); + +if ($inReplyTo) { + # Is this a reply? +# FIXME: we don't want exceptions here? + $parentId = $bridge->getPostId($inReplyTo); + $topicId = get_topic_id($parentId); +} +else { + # a new message + +} + +#$forumId = get_default_forum_id($msg->getSource()); + +?> -- cgit v1.2.3