Forums Admin
Table of contents
Admin Access #1
To access administration, go to the Home Page and, on theMenu, click "Admin (click!)".
Sections: Tiki Config Panel
You will access the Sections Tiki Config Panel (see Tiki Config ), as shown in this graphics:
Forums
Forums
From the Tiki Config Panel, click the Forums icon to display its settings panel.
From this panel you can control which forum will be used as the Home forum, if rankings will be used or not for the forums and the default ordering for forums in the forum listing.
Admin Access #2
To access administration, go to this page:http://www.yoursitename.org/tiki-admin_forums.php
Perms on forum posts and topics
- to view a post, you need tiki_p_forum_read- to post a topic, you need tiki_p_forum_post_topic
- to post a post (answer to a topic), you need tiki_p_forum_post
- to edit a topic or a post, you need tiki_p_forum_post and to be the author
- to remove a topic or a post, you need tiki_p_admin_forum
Of course a tiki_p_admin_forum or tiki_p_admin can do whatever he wants
Importing forums from an external source
Another option available from the Admin forums page is that of Import forums. The purpose of this tool is to migrate forum contents from another site into your Tiki forums. Currently, only importation of another Tiki forum is supported. It is recommended that you back-up your database before performing this import.
Currently, the only import method supported is to import a forum from the contents of an SQL text dump of a database. The only SQL file dump currently tested was from a MySQL database.
Upon selecting the Import forums option, you will be prompted to provide information on the identity and location of the source SQL file. For the importer to work properly, the SQL file must exist in either tikiroot/temp/filename.sql or tikiroot/img/wiki_up.
Fill in the necessary information and click Get Forum List. This will then verify that the file can be located and tell you either way: if not found, you may go back to the first screen, otherwise proceed. If allowed to proceed, the tool will parse the SQL file you specified and pull a list of forums it found for you to select from. It will also pull a list of forums from your Tiki site and present them for you to select a destination:
You may only select one source forum and one destination forum. Basically, you can only migrate one forum at a time. This is mainly for performance reasons. The larger the SQL file, the longer the migration will take and the more memory it takes up. To migrate more than one forum at a time would tax most Tiki install environments.
Once you have selected your source and destination forums, click on Import Forum.
Length of time to import a forum
Again, depending on the size of the SQL file, this may take a few minutes to process. Some installations may encounter an error when you first run the tool because php.ini has the following set:max_execution_time = 30
This parameter means the longest a php script can run is 30 seconds. Through trial and error, for importing forums from an SQL file in the neighborhood of 10Mb, use a max_execution_time of 100. Recently, the Workflow site imported 300 posts from a dump of the tikiwiki.org site; the SQL file for that was 1.3Gb, and execution took less than 180 seconds. If you have the ability to temporarily configure this setting, I would recommend:
max_execution_time = 200
then finish your imports, and reset it back to 30.
What gets imported?
Once the import is complete, you will be advised how many actual posts were imported into the new forum.The importing of forum posts actually appends the old posts to the current comments table, so each post gets a new thread id. Each thread is then recalculated so that replies in the same thread are still associated with each other.
Datestamps are retained, so posts imported will show up with their original post date, and will not appear as new posts.
Usernames are retained as the sender of the post, however the user account doesn't necessarily have to exist on the new server.
Most other data associated with the post record that appears in the comments table is also retained.
What does not get imported?
Attachments are not imported. If there was an attachment to a post, there may be an empty reference to the attachment, but the actual attachment does not get imported.Posts that were made but are awaiting on moderator approval will not be imported.
If a forum was reported, that gets ignored in the import.
Interesting links
- The actual forum where one can post questions and consult answers
