Forums : Fixing Them

Posted by Phil Chett on 20 Jul 2007 11:23, last edited by James Kanjo on 09 May 2010 05:44

Tags: fixing forum post repair thread

rating: +12+x

Here is the german version on our Handbook: Forum - Notfall-Hilfe !

The following has not been fully tested. I'm hoping someone who has managed to break their forums, use this, and let us know if it works! (please?)

Avoiding &^%$ Ups

From bitter experience i have learnt that it is relatively easy to render your forums inoperable. As have others!
The cause of this is usually because you have deleted something that you shouldn't.

Deleting POSTS does not cause any problems but deleting THREADS may, and deleting Categories can almost certainly lead to disaster.

Have a look in Site Manager » Forum & discussion » Structure

However you have set up your forum you will have a HIDDEN Category
In there is a deleted threads section.
MOVE unwanted Categories to the Hidden section
MOVE unwanted Threads to the deleted section


Oops! too late: The FIX

Look in "List all pages"
There should be the following pages required to have a working Forum

  1. Forum Categories
  2. Forum Category
  3. Forum Thread
  4. Recent Threads
  5. Recent Forum Posts

If any of these are missing or corrupt, then they need replacing/re-coding.

Re-create page

Forum Categories.

This should have a page re-created called

forum:start

The title should read

Forum Categories

and the code inside should be

[[module ForumStart]]
[!-- please do not alter this page if you want to keep your forum working --]

Forum Category

This should have a page re-created called

forum:category

The title should read

Forum Category

and the code inside should be

[[module ForumCategory]]
[!-- please do not alter this page if you want to keep your forum working --]

New Forum Thread

This should have a page re-created called

forum:new-thread

The title should read

New Forum Thread

and the code inside should be

[[module ForumNewThread]]
[!-- please do not alter this page if you want to keep your forum working --]

Forum Thread

This should have a page re-created called

forum:thread

The title should read

Forum Thread

and the code inside should be

[[module ForumThread]]
[!-- please do not alter this page if you want to keep your forum working --]

Recent Forum Posts

This should have a page re-created called

forum:recent-posts

The title should read

Recent Forum Posts

and the code inside should be

[[module RecentPosts]]
[!-- please do not alter this page if you want to keep your forum working --]

After re- creating the missing pages, your forums should now start to work again……
i hope :))

Phil's Quick forum fixing guide

The following is something that i was recently playing with that seems to work.
Give it a try, and let us know if it does the trick.
If you have found any of this how to useful, dont forget to rate it :-)

Phils quick, oops i cocked up my forum guide :-)

Copy this code into any new page on your wiki

||~ #||~ page title  ||~ Page name (url)||~ Required Inserted Module||
||1||forum Categories|| [[[Forum:start ]]]||@@[[module ForumStart]]@@||
||2||forum Category||[[[forum:category]]]||@@[[module ForumCategory]]@@||
||3||Forum Thread||[[[forum:thread]]]||@@[[module ForumThread]]@@||
||4||New Forum Thread||[[[forum:new-thread]]]||@@[[module ForumNewThread]]@@||
||5||Recent Forum Posts||[[[forum:recent-posts]]]||@@[[module RecentPosts]]@@||

You will then have a table like this below.

Look in the page name column. If any pages are missing they will show up as a different colour (theme dependant)

  • Click on the offending link.
  • This will prompt you to create a new page
  • Create the new page, inserting the correct module,
  • Change the page title to that in the first column of the table
# page title Page name (url) Required Inserted Module
1 forum Categories start [[module ForumStart]]
2 forum Category category [[module ForumCategory]]
3 Forum Thread thread [[module ForumThread]]
4 New Forum Thread new-thread [[module ForumNewThread]]
5 Recent Forum Posts recent-posts [[module RecentPosts]]

Authors

Phil ChettPhil Chett. Please visit his/her userPage.

Add a New Comment

Related articles

Comments

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.