You are here

README.txt in Advanced Forum 5

Same filename and directory in other branches
  1. 6.2 README.txt
  2. 6 README.txt
  3. 7.2 README.txt
CONTENTS OF THIS FILE
---------------------
 * Introduction
 * Installation
 * Other configuration
 * Credits
 
INTRODUCTION
------------
Advanced Forum (http://drupal.org/project/advanced_forum) enhances Drupal's forum module to provide the look and, with the help of other modules, much of the functionality found in common forum software. Because it uses the core forum module, it uses the node and comment system built into Drupal and is completely integrated, not a bridge.

INSTALLATION
------------

1. Enable all dependencies: Author Pane ( http://drupal.org/project/author_pane ), Forum, 
   Taxonomy, Comment. (Optionally: Statistics)
   
2. Copy the entire advanced_forum project directory (not just the contents) to your 
   normal module directory (ie: sites/all/modules)

3. Enable the advanced forum module at ?q=admin/build/modules

4. Visit the Advanced Forum settings page at ?q=admin/settings/advanced-forum 
   # General:
     * "Advanced forum style directory" Enter the name of the style you are using. 
       See http://drupal.org/node/234042 for more information on this.
     * "Use graphical buttons for links" Check this if you want links to use graphical 
        buttons (where available).
     * "Treat all site comments like forum comments" If you would like advanced forum to 
       take over the theming of all comments, even those outside the forum, choose yes.
   # Forum and topic lists
     * "Hide the created column on the topic list" This option hides the created column
       on the topic list page, which can't be done purely in theming due to the header
       tablesort. If you hide this column, it is up to you to change the tenplate to
       display the information elsewhere.
     * "Get the number of new comments per forum on the forum list" Core forum shows the 
       number of new topics. If checked, Advanced Forum will get the number of new 
       comments as well and show it under "posts" on the forum overview. Slow query not 
       recommended on large forums.
     * "Number of characters to display for the topic title" On the main forums page, the
       title of the last topic is shown. Because this is a narrow column, it is 
       truncated. This option sets how many characters are shown.
     * "Number of hours before switching to date posted in displays" In the forum / topic
       listing, recent posts are shown like "1 day, 3 hours ago" and older posts will
       have the actual date. You control the cutoff here.
   # Topics
     * "Use topic navigation" Core forum gets the next and previous topics and shows 
       links to them under the top post. This is turned off by default as the query has 
       performance issues and the placement of the links is poor.
     * "User picture preset" You will only see this option if you have imagecache 2
        enabled. If you choose a preset here, it will be used for the avatars in forum
        posts. This can be used to give a more uniform appearance if people have many
        different sizes for avatars. If you don't want to use a preset, just leave it
        blank.

5. In the module package is a directory called "styles". Choose the style to use and copy
   the entire directory (not just the contents) to your theme's directory. If you use 
   more than one theme with forums, copy it to each theme's directory. If you use 
   subthemes, copy it there. (Make sure this is the same style you choose in step 4.)

6. If you are not using a theme with built in AF support (Zen, some Roople themes, 
   possibly others) Add this code to the top of _phptemplate_variables in template.php 
   in your theme and make sure you are returning $vars, not array() at the end:

  if (module_exists('advanced_forum')) {
    $vars = advanced_forum_addvars($hook, $vars);
  }

  This assumes a basic knowledge of PHP to be able to do any merging necessary. If you 
  don't know how to do this, see http://drupal.org/node/207841.
   
OTHER CONFIGURATION
-------------------
   
1. Forum settings ( ?q=admin/content/forum/settings ) 
    * Hot topic threshold: Up to you.
    * Topics per page: Up to you.
    * Default order: "Date - newest first" so the most recent posts are at the top of the 
      topic list.
2. Comment settings ( ?q=admin/content/comment/settings ) 
    * Set Default display mode: Flat list - expanded. (Advforum is intended to be used 
      flat. Using it threaded should mostly work but is unsupported and may have some 
      issues. I also recommend using flatcomments to force it flat under the hood.) 
    * Default display order: Date - oldest first 
    * Default comments per page: Up to you. (If you chose to have a threaded forum, 
      setting this number to the maximum will reduce issues with pagination and 
      threading.) 
    * Comment controls: "Do not display" is recommended.
    * Anonymous commenting: Up to you.
    * Comment subject field: Up to you. If disabled, advforum will not display the Drupal 
      default subject, which is the first few words of the comment.
    * Preview comment: Up to you.
    * Location of comment submission form: Up to you. Displaying below provides a 
      non-ajax quick reply.
5. User settings ( ?q=admin/user/settings ) 
   * Signature support: Enabled
   * Picture support: Enable this for avatars in the forum.
   * Picture maximum dimensions: If you change this from the default 85x85, you will want 
     to size it in either CSS or with imagecache to avoid breaking the forum layout.
6. Statistics settings ( ?q=admin/reports/settings ) 
   * Make sure the statistics module is enabled.
   * Enable access log: Enabled
   * Count content views: Enabled - Needed for topic views count.   
    
CREDITS
-------
Developer and maintainer: Michelle Cox ( http://drupal.org/user/23570 )

Advanced forum was originally based on flatforum. Though there is little or no code left
from that module, its authors deserve credit for the idea.

The Naked styles, which are the basis of all the other styles, were created by 
stephthegeek (http://drupal.org/user/47874). Previous theme work was done by eigentor 
(http://drupal.org/user/96718) and jacine (http://drupal.org/user/88931)

Icons provided by paris (http://drupal.org/user/14747) and yoroy 
(http://drupal.org/user/41502)

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Installation
  5. * Other configuration
  6. * Credits
  7. INTRODUCTION
  8. ------------
  9. Advanced Forum (http://drupal.org/project/advanced_forum) enhances Drupal's forum module to provide the look and, with the help of other modules, much of the functionality found in common forum software. Because it uses the core forum module, it uses the node and comment system built into Drupal and is completely integrated, not a bridge.
  10. INSTALLATION
  11. ------------
  12. 1. Enable all dependencies: Author Pane ( http://drupal.org/project/author_pane ), Forum,
  13. Taxonomy, Comment. (Optionally: Statistics)
  14. 2. Copy the entire advanced_forum project directory (not just the contents) to your
  15. normal module directory (ie: sites/all/modules)
  16. 3. Enable the advanced forum module at ?q=admin/build/modules
  17. 4. Visit the Advanced Forum settings page at ?q=admin/settings/advanced-forum
  18. # General:
  19. * "Advanced forum style directory" Enter the name of the style you are using.
  20. See http://drupal.org/node/234042 for more information on this.
  21. * "Use graphical buttons for links" Check this if you want links to use graphical
  22. buttons (where available).
  23. * "Treat all site comments like forum comments" If you would like advanced forum to
  24. take over the theming of all comments, even those outside the forum, choose yes.
  25. # Forum and topic lists
  26. * "Hide the created column on the topic list" This option hides the created column
  27. on the topic list page, which can't be done purely in theming due to the header
  28. tablesort. If you hide this column, it is up to you to change the tenplate to
  29. display the information elsewhere.
  30. * "Get the number of new comments per forum on the forum list" Core forum shows the
  31. number of new topics. If checked, Advanced Forum will get the number of new
  32. comments as well and show it under "posts" on the forum overview. Slow query not
  33. recommended on large forums.
  34. * "Number of characters to display for the topic title" On the main forums page, the
  35. title of the last topic is shown. Because this is a narrow column, it is
  36. truncated. This option sets how many characters are shown.
  37. * "Number of hours before switching to date posted in displays" In the forum / topic
  38. listing, recent posts are shown like "1 day, 3 hours ago" and older posts will
  39. have the actual date. You control the cutoff here.
  40. # Topics
  41. * "Use topic navigation" Core forum gets the next and previous topics and shows
  42. links to them under the top post. This is turned off by default as the query has
  43. performance issues and the placement of the links is poor.
  44. * "User picture preset" You will only see this option if you have imagecache 2
  45. enabled. If you choose a preset here, it will be used for the avatars in forum
  46. posts. This can be used to give a more uniform appearance if people have many
  47. different sizes for avatars. If you don't want to use a preset, just leave it
  48. blank.
  49. 5. In the module package is a directory called "styles". Choose the style to use and copy
  50. the entire directory (not just the contents) to your theme's directory. If you use
  51. more than one theme with forums, copy it to each theme's directory. If you use
  52. subthemes, copy it there. (Make sure this is the same style you choose in step 4.)
  53. 6. If you are not using a theme with built in AF support (Zen, some Roople themes,
  54. possibly others) Add this code to the top of _phptemplate_variables in template.php
  55. in your theme and make sure you are returning $vars, not array() at the end:
  56. if (module_exists('advanced_forum')) {
  57. $vars = advanced_forum_addvars($hook, $vars);
  58. }
  59. This assumes a basic knowledge of PHP to be able to do any merging necessary. If you
  60. don't know how to do this, see http://drupal.org/node/207841.
  61. OTHER CONFIGURATION
  62. -------------------
  63. 1. Forum settings ( ?q=admin/content/forum/settings )
  64. * Hot topic threshold: Up to you.
  65. * Topics per page: Up to you.
  66. * Default order: "Date - newest first" so the most recent posts are at the top of the
  67. topic list.
  68. 2. Comment settings ( ?q=admin/content/comment/settings )
  69. * Set Default display mode: Flat list - expanded. (Advforum is intended to be used
  70. flat. Using it threaded should mostly work but is unsupported and may have some
  71. issues. I also recommend using flatcomments to force it flat under the hood.)
  72. * Default display order: Date - oldest first
  73. * Default comments per page: Up to you. (If you chose to have a threaded forum,
  74. setting this number to the maximum will reduce issues with pagination and
  75. threading.)
  76. * Comment controls: "Do not display" is recommended.
  77. * Anonymous commenting: Up to you.
  78. * Comment subject field: Up to you. If disabled, advforum will not display the Drupal
  79. default subject, which is the first few words of the comment.
  80. * Preview comment: Up to you.
  81. * Location of comment submission form: Up to you. Displaying below provides a
  82. non-ajax quick reply.
  83. 5. User settings ( ?q=admin/user/settings )
  84. * Signature support: Enabled
  85. * Picture support: Enable this for avatars in the forum.
  86. * Picture maximum dimensions: If you change this from the default 85x85, you will want
  87. to size it in either CSS or with imagecache to avoid breaking the forum layout.
  88. 6. Statistics settings ( ?q=admin/reports/settings )
  89. * Make sure the statistics module is enabled.
  90. * Enable access log: Enabled
  91. * Count content views: Enabled - Needed for topic views count.
  92. CREDITS
  93. -------
  94. Developer and maintainer: Michelle Cox ( http://drupal.org/user/23570 )
  95. Advanced forum was originally based on flatforum. Though there is little or no code left
  96. from that module, its authors deserve credit for the idea.
  97. The Naked styles, which are the basis of all the other styles, were created by
  98. stephthegeek (http://drupal.org/user/47874). Previous theme work was done by eigentor
  99. (http://drupal.org/user/96718) and jacine (http://drupal.org/user/88931)
  100. Icons provided by paris (http://drupal.org/user/14747) and yoroy
  101. (http://drupal.org/user/41502)