EditBoardSettings

Description

Handles a few board and category settings.

Syntax

mixed EditBoardSettings ([bool $return_config])



Parameter $return_config

Expected type: Boolean
Description: If true, the function returns the $config_vars array. Used when searching for settings (see AdminSearch and AdminSearchInternal)



Return value

Expected type: Mixed
Description:

Possible types
Allowed values Description
Void Returns nothing if $return_config is false
Array of arrays Returns the $config_vars array from this function if $return_config is true


Notes

  • Uses the ManageBoards template
  • Uses the modify_general_settings sub template.
  • Requires the admin_forum permission
  • Saves the settings if the "save_settings" POST variable is set
  • Handles only three settings: countChildPosts ("Count child's posts in parent's totals"), recycle_enable ("Enable recycling of deleted topics" and recycle_board (the board used as the recylcling board)
  • Accessed at index.php?action=admin;area=manageboards;sa=settings
  • Returns the settings if $return_config is true
Advertisement: