Wikia

Psychology Wiki

Creating new forums is easy

34,140pages on
this wiki

Forum page

Revision as of 04:07, July 3, 2006 by Splarka (Talk | contribs)

Forums: Index > Admin discussion forum > Creating new forums is easy


Below is a page of instructions by Mindspillage at wikia. These forums can be set up wherever there are active subcommunities in the Psychology Wiki.

Wikia's forums are adapted wiki pages that are automatically organised with index pages. Using a forum is simple. Each forum has an input box that allows you to type a title for a new page and press a button to create it. The page is loaded with a template, this ensures that the page has the correct category for indexing. It's important not to delete this template when you write your message.

Once the page is saved, it will show in a list of all pages in that forum. Other contributors can then add to the page in the same way as to other wiki pages. Pages with new messages are show in the list as bold and with an Forum new icon. You can also view recent changes for the forum by clicking the link above the forum list.

Adding new forums

A new forum can be added by editing Forum:Index. This isn't necessary to make the forums work, the two default forums are ready to use, but it can be useful in an active community.

To add a forum, the following code should be added to Forum:Index after the last </forum> tag.

<forum>
namespace=Forum
category=Name of forum
title=Forum:Name of forum
shownamespace=false
addlasteditor=true
</forum>

The only part of this code that needs editing is the "Name of forum" after "category" and "title". This can be set as anything you chose, and will show in the index and in the navigation links at the top of each page.

Once this is saved, there will be a link to the new forum page. This can then be edited to add the following:

<div class="forumheader">'''Forums:''' [[Forum:Index|Index]] > {{PAGENAME}}</div><br />

[{{SERVER}}{{localurl:Special:Recentchangeslinked/Category:Help desk}} View recent changes for this forum]

----
<table width="100%"><tr><td><!-- {{hdpage}} --></td><td width="50%"><inputbox>
type=create
break=no
prefix=Forum:
preload=Template:Forumheader/{{PAGENAME}}
buttonlabel=Add new topic
</inputbox></td></tr></table>
<table class="forumlist" width="100%"><tr><th class="forum_title" align="left">Topic</th>
<th class="forum_edited" align="left">Last Edit</th>
<th class="forum_editor" align="left">Last Author</th></tr>
<forum>
namespace=Forum
category={{PAGENAME}}
shownamespace=false
addlasteditor=true
historylink=true
cache=false
</forum></table>

[[Category:Forums]]

Nothing needs changing in this text.

The last thing to do, is to set up a template to be loaded when someone adds a page to the new forum. This should be at "Template:Forumheader/Name of forum", changing the name to the same forum name you used in the index. This should contain the following:

{{Forumheader|Name of forum}}

<!-- Please put your content under this line.  Be sure to sign your edits with four tildes ~~~~ -->

Again, "Name of forum" needs to be changed to the new forum's name. Once this is saved, the forum is complete.

As with many elements of Wikia, many aspects of this can be changed. The layout, the template style, the items shown in the index, the new messages icon.... you could for example have an image appear automatically at the top of each page added, or have new messages show in red text. It's also possible to use the same code as above to make subforums such as "Forum:Help/technical". For this, the first code should be put into the parent forum page instead of the index.

Around Wikia's network

Random Wiki