diff -urPp advanced_forum/advanced_forum.module advanced_forum_new/advanced_forum.module
--- advanced_forum/advanced_forum.module	2010-10-04 23:17:10.000000000 -0500
+++ advanced_forum_new/advanced_forum.module	2010-10-13 10:28:24.000000000 -0500
@@ -234,6 +234,7 @@ function advanced_forum_theme_registry_a
   $templates = array('node',
                      'comment',
                      'comment_wrapper',
+                     'privatemsg_view',
                      'forums',
                      'forum_list',
                      'forum_topic_list',
diff -urPp advanced_forum/includes/advanced_forum_preprocess_privatemsg_view.inc advanced_forum_new/includes/advanced_forum_preprocess_privatemsg_view.inc
--- advanced_forum/includes/advanced_forum_preprocess_privatemsg_view.inc	1969-12-31 18:00:00.000000000 -0600
+++ advanced_forum_new/includes/advanced_forum_preprocess_privatemsg_view.inc	2010-10-13 13:31:28.000000000 -0500
@@ -0,0 +1,65 @@
+<?php
+// $Id$
+
+/**
+ * @file
+ * Holds the contents of a preprocess function moved into its own file
+ * to ease memory requirements and having too much code in one file.
+ */
+
+function _advanced_forum_preprocess_privatemsg_view(&$variables) {
+  // Use the message timestamp for date submitted
+  $variables['submitted'] = $variables['date'] = format_date($variables['message']['timestamp']);
+
+  // Use message actions for links
+  $variables['links'] = $variables['message_actions'];
+
+  // Not a node.
+  $variables['top_post'] = FALSE;
+
+  // Use our combined node/comment template file
+  advanced_forum_add_template_suggestions('post', $variables['template_files']);
+
+  /* Assemble all the classes & id that go on the main div. */
+  $classes = array();
+  
+  // Add our general classes.
+  $classes[] = 'forum-post clear-block';
+
+  // Add the current language to the classes for image handling.
+  global $language;
+  if (!empty($language->language)) {
+    $classes[] = $language->language;
+  }
+
+  // Add the poster's UID
+  $classes[] = "posted-by-{$variables['user']->uid}";
+
+  // Add class if the poster is the viewer.
+  global $user;
+  if ($user->uid > 0 && $user->uid == $variables['user']->uid) {
+    $classes[] = "post-by-viewer";
+  }
+
+  // Create the template variable.
+  $variables['advanced_forum_classes'] = implode(' ', $classes);
+
+  // Set the post ID for theming / targetting
+  $variables['post_id'] = "privatemsg-$variables[mid]";
+
+  /* Title */
+  $variables['title'] = check_plain($variables['message']['subject']);
+
+  /* User information / author pane */
+  $variables['account'] = $variables['message']['author'];
+  $variables['author_pane'] = theme('author_pane', $variables['account'], 'advanced_forum', variable_get('advanced_forum_user_picture_preset', ''));
+
+  /* Content */
+  $variables['content'] = $variables['message_body'];
+
+  /* Signatures */
+  // Load Drupal's signature. signature_forum can't be supported since there is no $comment or $node object
+  if (variable_get('user_signatures', 0) && !empty($vars['account']->signature)) {
+    $vars['signature'] = check_markup($vars['account']->signature, $vars['account']->signature_format, FALSE);
+  }
+}
\ No newline at end of file
diff -urPp advanced_forum/includes/settings.inc advanced_forum_new/includes/settings.inc
--- advanced_forum/includes/settings.inc	2010-09-23 23:01:35.000000000 -0500
+++ advanced_forum_new/includes/settings.inc	2010-10-13 10:47:13.000000000 -0500
@@ -74,6 +74,14 @@ function advanced_forum_settings_page() 
     '#description' => t('If checked, every comment will be styled as if it were a forum reply. This only works on comments from the core comment module. Nodecomments can be selected in the node type selection.'),
   );
   
+  // Style privatemsg
+  $form['advanced_forum_general']['advanced_forum_style_privatemsg'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Style private messages like forum topics.'),
+    '#default_value' => variable_get('advanced_forum_style_privatemsg', 0),
+    '#description' => t('If checked, messages from the privatemsg module will be styled like forum topics. This setting doesn\'t do anything if you don\'t have the privatemsg module installed.'),
+  );
+  
   $form['advanced_forum_general']['advanced_forum_add_local_task'] = array(
     '#type' => 'checkbox',
     '#title' => t('Add a tab for forum view page.'),
diff -urPp advanced_forum/includes/style.inc advanced_forum_new/includes/style.inc
--- advanced_forum/includes/style.inc	2010-09-21 15:15:07.000000000 -0500
+++ advanced_forum_new/includes/style.inc	2010-10-13 10:26:24.000000000 -0500
@@ -261,6 +261,15 @@ function advanced_forum_is_forum_tagged(
   }
 }
 
+function advanced_forum_privatemsg_is_styled($message) {
+  // Check if all privatemsg are styled
+  if (variable_get("advanced_forum_style_privatemsg", 0)) {
+    _advanced_forum_add_files();
+    return TRUE;
+  }
+  return FALSE;
+}
+
 /**
  * Returns the path to actual site theme in use because path_to_theme is flaky.
  */
diff -urPp advanced_forum/includes/theme.inc advanced_forum_new/includes/theme.inc
--- advanced_forum/includes/theme.inc	2010-09-22 15:08:54.000000000 -0500
+++ advanced_forum_new/includes/theme.inc	2010-10-13 10:27:17.000000000 -0500
@@ -372,6 +372,16 @@ function advanced_forum_preprocess_comme
 }
 
 /**
+ * Preprocesses template variables for privatemsg.
+ */
+function advanced_forum_preprocess_privatemsg_view(&$variables) {
+  if (advanced_forum_privatemsg_is_styled($variables['message'])) {
+    include_once drupal_get_path('module', 'advanced_forum') . '/includes/advanced_forum_preprocess_privatemsg_view.inc';
+    _advanced_forum_preprocess_privatemsg_view($variables);
+  }
+}
+
+/**
  * Preprocesses template variables for the comment template.
  */
 function advanced_forum_preprocess_comment(&$variables) {
diff -urPp advanced_forum/styles/naked/advanced_forum.naked.post.tpl.php advanced_forum_new/styles/naked/advanced_forum.naked.post.tpl.php
--- advanced_forum/styles/naked/advanced_forum.naked.post.tpl.php	2010-10-04 23:17:10.000000000 -0500
+++ advanced_forum_new/styles/naked/advanced_forum.naked.post.tpl.php	2010-10-13 10:57:55.000000000 -0500
@@ -80,8 +80,8 @@
     
     <span class="forum-in-reply-to"><?php print $in_reply_to; ?></span>
     
-    <?php if (!$node->status): ?>
-      <span class="unpublished-post-note">t("Unpublished post")</span>
+    <?php if (isset($node) && !$node->status): ?>
+      <span class="unpublished-post-note"><?php print t("Unpublished post"); ?></span>
     <?php endif; ?>
 
     <span class="forum-post-number"><?php print $post_link; ?></span>
