/[drupal]/contributions/modules/og_forum/README.txt
ViewVC logotype

Contents of /contributions/modules/og_forum/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5.2.1.2.7.2.2 - (show annotations) (download)
Wed Dec 17 17:40:19 2008 UTC (11 months, 1 week ago) by paulbooker
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-6--1-0-RC1, DRUPAL-6--2-0-RC4, DRUPAL-6--2-0-RC3, DRUPAL-6--2-0-RC2, DRUPAL-6--2-0-RC1, DRUPAL-6--1-4, DRUPAL-6--1-0, DRUPAL-6--1-1, DRUPAL-6--1-2, DRUPAL-6--1-3, DRUPAL-6--1-0-BETA2
Branch point for: DRUPAL-6--2
Changes since 1.5.2.1.2.7.2.1: +116 -1 lines
File MIME type: text/plain
fixes bugs #346882 and  #339834
1 /**
2 * $Id:$
3 * @package OG_Forum
4 * @category NeighborForge
5 */
6 This module extends the forum module to allow for Organic Groups to have their own forums.
7 When viewing groups, only forum discussions for that group are displayed. This module does
8 not hinder the creation of site-wide forums in any way. You can have both OG forums and
9 site-wide forums. There are a multitude of settings for customizing how these forums work
10 which are detailed below.
11
12 --CONTENTS--
13 REQUIREMENTS
14 INSTALL
15 SETUP
16 FEATURES
17 USAGE (Example)
18 UNINSTALL
19 THEMING
20 CREDITS
21
22 --REQUIREMENTS--
23 This module requires both the OG module and the Forum module from Core to be installed.
24
25 --INSTALL--
26 Before you post an issue to the queue with installation problems, be sure you did all
27 of these things in this order:
28
29 FOR A NEW SITE/ONE WITHOUT OG ALREADY INSTALLED
30 1) Install the forum module through the regular Drupal means.
31
32 2) Trigger the forum vocabulary creation routine by visiting admin/forums - this is
33 the part most often overlooked.
34
35 3) Install OG through the regular Drupal means.
36
37 4) Install this module, again through the regular Drupal means.
38
39 FOR A SITE WITH OG ALREADY INSTALLED
40 1) Install the forum module through the regular Drupal means.
41
42 2) Trigger the forum vocabulary creation routine by visiting admin/forums - this is
43 the part most often overlooked.
44
45 3) Install this module, again through the regular Drupal means.
46
47 4) Go to admin/og/og_forum and click on "Update old groups" to have forum containers
48 and default forums created for existing groups. See the FEATURES section for
49 options.
50
51 --SETUP--
52 There are two permissions that you can assign to roles: 'make forums public' and
53 'admin own group forums'. The former is to allow non-group-owners the ability to set
54 the publicity of forums in groups. Usually, you will want to reserve this for admins.
55
56 The latter is to allow group owners all priviledges for administering forums of their
57 groups.
58
59 --FEATURES--
60 At admin/og/og_forum there are a bunch of options divided into five groups, three of
61 which are fieldsets. The groupings are:
62
63 -Retroactively update old groups
64 -Default forum name
65 -Group forum container
66 -Forum publicity administration
67 -Limit number of forums per group
68
69 RETROACTIVELY UPDATE OLD GROUPS
70 This is a single button which adds containers and forums to each existing OG and is
71 to be used if you install og_forum into a site where groups already exist. You may
72 wish to change some settings below before pushing this button.
73
74 DEFAULT FORUM NAME
75 When a new group is created, or during the retroactive forum creation function, each
76 group is given a forum container with the term name of the group's name as well as one
77 default forum. Normally, the default forum is called "General discussion". You may
78 change that name here.
79
80 CAVEAT - Having the container name the same as the group name makes it easy for people
81 to find the group's forum in a site-wide listing of forums like at the 'forum' URL.
82 This container's name will change as the group's name is changed.
83
84 GROUP FORUM CONTAINER
85 Rather than have all groups' containers and forums show up at the site-wide level, you
86 may designate another (pre-existing) container for all group containers to be placed in.
87 This alternate container may be any number of levels deep in the forum structure. To
88 use this feature, check the box and select the container.
89
90 FORUM PUBLICITY ADMINISTRATION
91 This section has several controls which work together as follows:
92
93 -AUTOMATIC FORUM PUBLICITY
94 This turns on/off the automatic publicity of group forums. If a group forum has at
95 least one post which is public, than entries will be made in the database to indicate
96 that the forum and its container are also publicly browsable. If a group forum does
97 not have any public posts, then that forum will not be publicly browsable except as
98 noted below in conjunction with other settings.
99
100 NOTE: The automatic setting uses two values for storing the forum and containers'
101 states - PRIVATE_DEFAULT and PUBLIC_AUTO.
102
103 -ALLOW PUBLIC CHOICE
104 This allows group owners to decide which of their forums are public or private, but
105 can also work with the auto setting above. First an explaination without the auto
106 setting:
107
108 In each forum, the group owner (or admins) will see a link in the context menu to
109 'Administer group forums' which presents a table structure whereby they may edit
110 forums' names or delete them, add forums to the container, make them public,
111 make them private, or rest them. The publicity settings enter these values into the
112 database - PRIVATE_SET_BY_OWNER, PUBLIC_SET_BY_OWNER, and PRIVATE_DEFAULT. The 'set
113 by owner' values take precedence over the 'auto' and 'default' values.
114
115 With the auto setting:
116
117 Forums and containers will appear or not in any browsable listing per the standard
118 automatic rules unless overridden by the group owner or an admin. As mentioned above,
119 the 'set by owner' values take precedence over the 'auto' and 'default' values when
120 determining publicity or browsability.
121
122 -MAKE ALL FORUMS PUBLIC
123 Checking this does not mean you can't check the options above. However, the effects of
124 any settings made under the above settings will not be appearant unless this feature
125 is later turned off. This is either an easy way to ensure that all forums are always
126 browsable by the public, or may be used to temporarily open the site for something like
127 an 'open house'. Turning it off would keep in-tact any settings made before its use.
128
129 -MANAGE PUBLICITY OF OLD GROUPS
130 Similar to the other retroactive control above, this one manages publicity settings in
131 the database for the case where you are upgrading from a version of og_forum without
132 these features. As noted on the admin page, it should only be used once.
133
134 -SWITCH TO AUTOMATIC PUBLICITY
135 Although this may sound like simply turning off the 'Make all forums public' check box
136 and ensuring that the 'Automatic forum publicity' checkbox is set, that is NOT what
137 this feature does.
138
139 Should you use the 'Allow public choice' feature, but later decide that as site admin
140 you would like total control of the forums' publicity, you may push this button and
141 change all entries in the database to reflect a state as though they had always been
142 managed by the 'Automatic forum publicity' feature.
143
144 In other words, PUBLIC_SET_BY_OWNER will be changed to PUBLIC_AUTO and PRIVATE_SET_BY_
145 OWNER will be changed to PRIVATE_DEFAULT in all database entries. Make sure that you
146 uncheck the 'Allow public choice' checkbox, or else group owners will continue to be
147 able to make their own settings.
148
149 LIMIT NUMBER OF FORUMS PER GROUP
150 Here you can set a three digit number (0 - 999) to limit the number of forums that may
151 be created by group owners. This limit does not apply to user 1, nor to those with the
152 'administer forums' permission.
153
154 --USAGE--
155 I couldn't think of anything not already covered by the FEATURES section. If anyone has a
156 special use-case or combo of settings they think need special mention here, let me know.
157
158 --UNINSTALL--
159 As of version 2.2 (for 5.x), this module has a proper uninstall routine which will remove
160 the og_term table from the database and all variables from the variable table. You do this
161 through the usual Drupal means.
162
163 --THEMING--
164 NOTE: This module overrides the theme functions from Drupal core's
165 forum module.
166
167 There are three theme functions that are overridden. It would be best for you to copy the
168 functions from this module to your theme files, rather than use the originals from the
169 forum module as starting points.
170
171 --CREDITS--
172 Ryan Constantine (Drupal ID rconstantine) & Paul Booker (Glaxstar) are the current Maintainer and the fellow who
173 got OG forums working with site-wide forums, and made OG forums publicly viewable based
174 on Admin and Group Owner settings.
175
176 Darren Oh is the previous maintainer and current co-maintainer.
177
178 Historical thanks to:
179 Evan Leeson of Catalyst Creative for sponsorship of 4.7 port and
180 improvements.
181 Gavin Mogan for http://drupal.org/node/63379 which was a huge help in
182 porting the module.

  ViewVC Help
Powered by ViewVC 1.1.2