| 1 |
Forum Plugin for Elgg |
|---|
| 2 |
GPL v2, yada yada yada... |
|---|
| 3 |
|
|---|
| 4 |
***REQUIRES ELGG v0.9*** |
|---|
| 5 |
|
|---|
| 6 |
To install: |
|---|
| 7 |
-copy the forum folder to your <elgg directory>/mod/ folder |
|---|
| 8 |
-login as "news" (executes a minor database upgrade) |
|---|
| 9 |
-edit mod/forum/config.php to change config (optional) |
|---|
| 10 |
-visit a community blog that has a few posts and comments to those posts |
|---|
| 11 |
-on the community blog, find the link that says "View as Forum" |
|---|
| 12 |
|
|---|
| 13 |
Add the following lines to the end of your .htaccess file (just above the </ifmodule>): |
|---|
| 14 |
|
|---|
| 15 |
#FORUM PLUGIN REWRITE ELEMENTS |
|---|
| 16 |
RewriteRule ^([A-Za-z0-9]+)\/forum\/?$ mod/forum/forum.php?weblog=$1 |
|---|
| 17 |
RewriteRule ^([A-Za-z0-9]+)\/forum\/skip=([0-9]+)$ mod/forum/forum.php?weblog=$1&weblog_offset=$2 |
|---|
| 18 |
RewriteRule ^[A-Za-z0-9]+\/forum\/([0-9]+)(\.html)?$ mod/forum/forum_view_thread.php?post=$1 |
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
History: |
|---|
| 24 |
|
|---|
| 25 |
v0.4 (December 2007) |
|---|
| 26 |
-updated for compatability with new elgg sidebar block mechanism (Elgg 0.9) |
|---|
| 27 |
|
|---|
| 28 |
v0.31 (November 2007) |
|---|
| 29 |
-added a profile widget so that the latest forum threads can be displayed on the community's profile page |
|---|
| 30 |
-added a "latest comment by" column on forum view |
|---|
| 31 |
|
|---|
| 32 |
v0.3 (July 2007) |
|---|
| 33 |
-major cleanup of code/sloppiness |
|---|
| 34 |
-fixed issues with Elgg v0.8 |
|---|
| 35 |
-lots of contribution to this revision by Rho (http://elgg.org/rho) |
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 |
v0.2 (March 10, 2007) |
|---|
| 39 |
-added sorting based on last updated threads |
|---|
| 40 |
-added better handling of default behaviour (forum vs. community blog) |
|---|
| 41 |
|
|---|
| 42 |
v0.1 (Feb 8, 2007) |
|---|
| 43 |
-finally usable! |
|---|
| 44 |
-now has a more master/detail view |
|---|
| 45 |
-moved to tables for layout rather than pure CSS |
|---|
| 46 |
-uses post_icon to display image for each thread |
|---|
| 47 |
-uses list_for_event API to return to approapriate view after adding, editing, deleting a post or comment |
|---|
| 48 |
|
|---|
| 49 |
v0.000000000001 (Jan, 2007) |
|---|
| 50 |
-actually getting a bit useful! |
|---|
| 51 |
-added linking/posting new comments |
|---|
| 52 |
-fixed bug where sidebar showed current user rather than the community profile |
|---|
| 53 |
-now displays posters name, tooltip of comment content |
|---|