diff --git a/archive.pages.inc b/archive.pages.inc
index 9f1051b..0a4d6ea 100644
--- a/archive.pages.inc
+++ b/archive.pages.inc
@@ -19,6 +19,20 @@
  */
 function archive_page($type = 'all', $year = 0, $month = 0, $day = 0) {
 
+  $type = variable_get('archive_type_filters');
+  if(!isset($type)) {
+    drupal_set_message('Visit admin/settings/archive and configure which node types you want browseable.');
+    return '';
+
+  }
+  else {
+    $key = array_filter($type);
+    if(empty($key)) {
+     drupal_set_message('Visit admin/settings/archive and configure which node types you want browseable.');
+     return '';
+    }
+  }
+
   // Make sure all values are secure.
   $day = (int) $day;
   $year = (int) $year;
