Difference between revisions of "News.php"

From Bebot Wiki 2
Jump to navigationJump to search
(Created page with '====== News ====== ==== Description ==== Allows you to post headlines, news and raid news ==== Features ==== * Individual access control settings for subcommands using the s…')
 
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
  
 
===== Commands provided =====
 
===== Commands provided =====
 +
<pre>
 
^Command  ^ Keyword  ^Argument(s)  ^Description                          ^Tell      ^Guild    ^Priv      ^
 
^Command  ^ Keyword  ^Argument(s)  ^Description                          ^Tell      ^Guild    ^Priv      ^
 
|!news    |          |              |Shows the news window                |Guest    |Guest    |Guest    |
 
|!news    |          |              |Shows the news window                |Guest    |Guest    |Guest    |
Line 24: Line 25:
 
|!headline|add      |<headline>    |Adds the headline <headline>        |Admin *                      |||
 
|!headline|add      |<headline>    |Adds the headline <headline>        |Admin *                      |||
 
|!headline|del      |<item_id>    |Removes the headline <item_id>      |Disabled ‡                    |||
 
|!headline|del      |<item_id>    |Removes the headline <item_id>      |Disabled ‡                    |||
 +
</pre>
  
 
<sub>
 
<sub>
Line 38: Line 40:
  
 
===== Module settings =====
 
===== Module settings =====
 +
<pre>
 
^Setting      ^Default  ^Description                                              ^
 
^Setting      ^Default  ^Description                                              ^
 
|News_add      |Member    |Controls the access level required to add news          |
 
|News_add      |Member    |Controls the access level required to add news          |
Line 45: Line 48:
 
|Headline_add  |Admin    |Controls the access level required to add headlines      |
 
|Headline_add  |Admin    |Controls the access level required to add headlines      |
 
|Headline_del  |Admin    |Controls the access level required to remove headlines  |
 
|Headline_del  |Admin    |Controls the access level required to remove headlines  |
 +
</pre>
 +
 
<sub>Notes to table:\\
 
<sub>Notes to table:\\
 
  - The strictest of the module setting and access control setting is in effect</sub>
 
  - The strictest of the module setting and access control setting is in effect</sub>
 +
  
 
===== Notes =====
 
===== Notes =====
Line 52: Line 58:
 
   * The primary function of access control for this module is to restrict request for news
 
   * The primary function of access control for this module is to restrict request for news
 
   * The del commands should not be called manually. Use the buttons on the interface
 
   * The del commands should not be called manually. Use the buttons on the interface
 +
 +
 +
===== Preferences =====
 +
You can edit your own (or as admin everyone's default) preference by doing :
 +
!preferences show news

Latest revision as of 18:28, 21 September 2021

News

Description

Allows you to post headlines, news and raid news


Features

 * Individual access control settings for subcommands using the settings interface
 * Owners of posts and authorized personell are shown a delete link in the news window to remove posts


Commands provided
^Command  ^ Keyword  ^Argument(s)   ^Description                          ^Tell      ^Guild     ^Priv      ^
|!news    |          |              |Shows the news window                |Guest     |Guest     |Guest     |
|!news    |add       |<newsitem>    |Adds the news item <newsitem>        |Member *                      |||
|!news    |del       |<item_id>     |Removes a news item <item_id>        |Disabled ‡                    |||
^Command  ^ Keyword  ^Argument(s)   ^Description                          ^Tell      ^Guild     ^Priv      ^
|!raids   |          |              |Shows the raid news window           |Guest     |Guest     |Guest     |
|!raids   |add       |<newsitem>    |Adds raid news <newsitem>            |Leader *                      |||
|!raids   |del       |<item_id>     |Removes the raid news item <item_id> |Disabled ‡                    |||
^Command  ^ Keyword  ^Argument(s)   ^Description                          ^Tell      ^Guild     ^Priv      ^
|!headline|          |              |Shows the news window                |Admin     |Admin     |Admin     |
|!headline|add       |<headline>    |Adds the headline <headline>         |Admin *                       |||
|!headline|del       |<item_id>     |Removes the headline <item_id>       |Disabled ‡                    |||

Notes to table:\\

  • = These privileges are modifiable with module spesific settings\\

‡ = These commands shouldn't be called directly but are used by the GUI for this module.\\

Related commands

    • !settings news** - Configure the module spesific settings


Module settings
^Setting       ^Default   ^Description                                              ^
|News_add      |Member    |Controls the access level required to add news           |
|News_del      |Admin     |Controls the access level required to delete news        |
|Raid_add      |Leader    |Controls the access level required to add raid news      |
|Raid_del      |Leader    |Controls the access level required to delete raid news   |
|Headline_add  |Admin     |Controls the access level required to add headlines      |
|Headline_del  |Admin     |Controls the access level required to remove headlines   |

Notes to table:\\

- The strictest of the module setting and access control setting is in effect


Notes
 * The highest restriction of access control and local settings is effective.
 * The primary function of access control for this module is to restrict request for news
 * The del commands should not be called manually. Use the buttons on the interface


Preferences

You can edit your own (or as admin everyone's default) preference by doing :

!preferences show news