Function Module_admin_cns_groups->get_form_fields

Definitions

adminzone/pages/modules/admin_cns_groups.php

  • Get Tempcode for adding/editing form.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$id ?GROUP Null N/A N/A The usergroup being edited (null: adding, not editing)
$name SHORT_TEXT Blank (empty string) N/A N/A The usergroup name
$is_default BINARY 0 N/A N/A Whether this is a default usergroup
$is_super_admin BINARY 0 N/A N/A Whether members of the usergroup are super-administrators
$is_super_moderator BINARY 0 N/A N/A Whether members of the usergroup are super-moderators
$group_leader ID_TEXT Blank (empty string) N/A N/A The username of the usergroup leader
$title SHORT_TEXT Blank (empty string) N/A N/A The default title for members with this as their primary usergroup
$rank_image URLPATH Blank (empty string) N/A N/A The usergroup rank image
$promotion_target ?GROUP Null N/A N/A The target for promotion from this usergroup (null: no promotion prospects)
$promotion_threshold ?integer Null N/A N/A The point threshold upon which promotion occurs (null: no promotion prospects)
$promotion_approval BINARY 0 N/A N/A Whether promotion requires manual approval by the usergroup lead or staff
$flood_control_submit_secs ?integer Null N/A N/A The number of seconds between submission flood controls (null: average for existing usergroups)
$flood_control_access_secs ?integer Null N/A N/A The number of seconds between access flood controls (null: average for existing usergroups)
$gift_points_base ?integer Null N/A N/A The number of gift points members of this usergroup get when they start (null: average for existing usergroups)
$gift_points_per_day ?integer 1 N/A N/A The number of gift points members of this usergroup get per-day (null: average for existing usergroups)
$max_daily_upload_mb ?integer Null N/A N/A The number of megabytes members can upload per day (null: average for existing usergroups)
$max_attachments_per_post ?integer Null N/A N/A The maximum number of attachments members of this usergroup may have per post (null: average for existing usergroups)
$max_avatar_width ?integer Null N/A N/A The maximum avatar width members of this usergroup may have (null: average for existing usergroups)
$max_avatar_height ?integer Null N/A N/A The maximum avatar height members of this usergroup may have (null: average for existing usergroups)
$max_post_length_comcode ?integer Null N/A N/A The maximum post length members of this usergroup may have (null: average for existing usergroups)
$max_sig_length_comcode ?integer Null N/A N/A The maximum signature length members of this usergroup may have (null: average for existing usergroups)
$enquire_on_new_ips BINARY 0 N/A N/A Whether to lock out unverified IP addresses until e-mail confirmation
$is_presented_at_install BINARY 0 N/A N/A Whether the usergroup is presented for joining at joining (implies anyone may be in the usergroup, but only choosable at joining)
$group_is_hidden BINARY 0 N/A N/A Whether the name and membership of the usergroup is hidden
$order ?integer Null N/A N/A The display order this usergroup will be given, relative to other usergroups. Lower numbered usergroups display before higher numbered usergroups (null: last).
$rank_image_pri_only BINARY 1 N/A N/A Whether the rank image will not be shown for secondary membership
$open_membership BINARY 0 N/A N/A Whether members may join this usergroup without requiring any special permission
$is_private_club BINARY 0 N/A N/A Whether this usergroup is a private club. Private clubs may be managed in the CMS zone, and do not have any special permissions - except over their own associated forum.

Return

  • A pair: The input fields, Hidden fields
  • Type: array
  • Set: N/A
  • Range: N/A