ModifyBBCSettings

Description

Set a few Bulletin Board Code settings.

Syntax

mixed ModifyBBCSettings ([bool $return_config])



Parameter $return_config

Expected type: Boolean
Description: Whether or not to return the array of config vars. Default is false



Return value

Expected type: Mixed
Description:

Possible types
Allowed values Description
Void Returns nothing if $return_config is false
Array of arrays Returns the appropriate $config_vars arrays for this section (see ManageServer.php for more info on config vars)


Notes

  • Sets a few Bulletin Board Code settings.
  • Requires the admin_forum permission
  • Uses the edit_bbc_settings sub template of the Admin template.
  • Accessed from ?action=admin;area=postsettings;sa=bbc.
  • Loads a list of Bulletin Board Code tags to allow disabling tags.
  • Returns an array of config vars if $return_config is true.
Advertisement: