News.php

From Bebot Wiki 2
Jump to navigationJump to search
News[edit]

Description[edit]

Allows you to post headlines, news and raid news


Features[edit]

 * 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[edit]
^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[edit]

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


Module settings[edit]
^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[edit]
 * 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[edit]

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

!preferences show news