Translations of this page: en bg cs de fi fr hu it ja pl ru tr zh

Forum news (pun_forum_news)

PunBB 1.3 official extension

  • Status: stable
  • Current version: 1.0.0

General idea

This extension allows users to mark topics or posts as “news”. The news is shown on a special page.

Features

Any user with the corresponding permission can mark topics or posts. News is placed in the special table “pun_forum_news”. All news is displayed on a special page. News is available via rss feed.

Specification

pun_forum_news 1.0.0 (current version)

Interface

  • Administrator's menu
    • User » Groups » Edit this group (or Add new group) » Allow users to add forum news. If checked, users of this group will be able to mark topics or posts as news.
  • Forum's header
    • “News” link (refers to the page with news).
  • Post new topic page, edit post page, reply form, quick reply form
    • “Mark as news” option. If checked, the topic or post is marked as news.
  • News page
    • A page where posts and topics marked as news appear.

DB schema

  • A new table “pun_forum_news”. Stores information about news.
Field Type Default Description
post_id int(10) Post ID.
forum_id int(10) Forum ID.
poster varchar(200) Name of the user who has posted news.
poster_id int(10) ID of the user who has posted news.
message TEXT News message.
hide_smilies tinyint(1) 0 Show smilies in the news message or not.
posted int(10) 0 Time when the news was added.

* Additional field in posts table

Field Type Default Description
forum_news tinyint(1) NULL Shows the marked post as news or not.

* Additional field in groups table

Field Type Default Description
g_add_forum_news tinyint(1) NULL Shows whether the user can mark topics and posts as news.

Feature requests

  • Add an indication of posts that have been marked as news.

Links

Screenshots

News page

RSS news page


Personal Tools