Forum - Odoo 20 Community Book

The Forums and Their Settings

The List of Forums

Website > Configuration > Forum > Forums lists the forums of the database with their Website, the number of Posts and the number of Views. The handle at the left of each line changes the order of the forums, which sets the order of the forums. The database of the example holds four forums: Help, Basics of Gardening, Trees, Wood and Gardens, which came with the demonstration data, and Oak Care Questions, which was added for this book.

odoo Development

The Forum Form

The button New opens the form of a forum, and a click on a line opens an existing one. The top of the form holds the identity of the forum, and the tabs below it hold its options and its karma rules. The smart buttons show the number of Posts and Favorites of the forum, and Go to Website opens the forum on the site.

odoo Development

Forum Name (1). The name that visitors see on the card and at the top of the forum. A picture can be added at the right of the name.

Mode (2). The choice between Questions (1 answer) and Discussions (multiple answers). Its help text explains that the questions mode allows one answer per person and the discussions mode allows several. Section 10 compares the two.

Website (3). Ties the forum to one website. The field is shown only when the database has several websites.

Default Sort (4). The order of the posts when a visitor opens the forum. The choices are Newest, Last Updated, Most Voted, Relevance and Answered. The example keeps Last Updated, so a post that receives a new answer rises to the top.

odoo Development

Show Course To (5). The audience of a forum that is tied to a course. It has the same name as the option of the course, and the example keeps Everyone.

Description (6). A free text, shown at the top of the Guidelines page of the forum, which section 8 describes.

Course (7). In the block eLearning, the course that the forum belongs to. In the example, Oak Care Questions is tied to Caring for Your Oak Furniture. On the Forums page of the website, a forum that is tied to a course carries the label Course on its card.

Karma Gains

The tab Karma Gains sets how many points a member earns, or loses, for each event. These points are the heart of the forum, because they reward the behavior that the company wants: good questions, good answers and care in voting. The values of the example database are:

Asking a question: 2 points.

Question upvoted: 5 points. Question downvoted: minus 2 points.

Answer upvoted: 10 points. Answer downvoted: minus 2 points.

Accepting an answer: 2 points for the person who accepts it.

Answer accepted: 15 points for the person who wrote it.

Answer flagged: minus 100 points for the author of an answer that a moderator marks as offensive.

odoo Development

The values can be changed for each forum. A company that wants to push people to answer can raise the points for an accepted answer, and a company with a quiet community can lower the rights that depend on them.

The tab Karma Related Rights sets how many points a member needs before an action is allowed. A new member starts with few points, so the forum protects itself: only people who have shown good work can edit the posts of others or close them. The left column holds the rights about posts:

Ask questions: 3. Answer questions: 3.

Upvote: 5. Downvote: 50.

Edit own posts: 1. Edit all posts: 300.

Close own posts: 100. Close all posts: 500.

Delete own posts: 500. Delete all posts: 1,000.

Nofollow links: 500. A member below this level has the links of their posts marked so that search engines do not follow them, which discourages people who post only to place a link.

Accept an answer on own questions: 20. Accept an answer to all questions: 500.

odoo Development

The right column holds the rights about the editor, the comments, the moderation and the tags:

Editor features, image and links: 30.

Comment own posts: 1. Comment all posts: 1.

Convert own comments to answers: 50. Convert all comments to answers: 500.

Delete own comments: 50. Delete all comments: 500.

Ask questions without validation: 100. A member below this level has the questions held for a moderator to validate.

Flag a post as offensive: 500. Moderate posts: 1,000.

Change question tags: 75. Create new tags: 30.

Display detailed user biography: 750.

odoo Development

A member sees an action only when the points allow it. An administrator of the website has a very high karma, which is why the moderation tools appear in the menu of the administrator and not in the menu of a new member.

WhatsApp