Forum driver class.
| package | core |
|---|
disable_staff_filter() : boolean
booleanWhether the staff filter is disabledforum_url(integer $id, boolean $tempcode_okay = false) : mixed
integerThe ID of the forum
booleanWhether it is okay to return the result using Tempcode (more efficient)
mixedThe URLget_guest_group() : \GROUP
\GROUPThe usergroup ID of the forum guest memberget_member_email_address(\MEMBER $id) : \SHORT_TEXT
\MEMBERThe member
\SHORT_TEXTThe e-mail address (blank: not known)get_members_groups(\MEMBER $id, boolean $skip_secret= false, boolean $handle_probation= true) : array
\MEMBERThe member
booleanWhether to skip looking at secret usergroups.
booleanWhether to take probation into account
arrayThe list of usergroupsget_moderator_groups() : array
arrayThe list of usergroupsget_num_new_forum_posts() : integer
integerNumber of forum postsget_post_remaining_details(\AUTO_LINK $topic_id, array $post_ids) : array
\AUTO_LINKTopic the posts come from
arrayList of post IDs
arrayExtra detailsget_super_admin_groups() : array
arrayThe list of usergroupsget_theme(\?ID_TEXT $zone_for = null) : \ID_TEXT
\?ID_TEXTThe zone we are getting the theme for (null: current zone)
\ID_TEXTThe theme identifierget_usergroup_list(boolean $hide_hidden= false, boolean $only_permissive= false, boolean $force_show_all= false, \?array $force_find= null, \?MEMBER $for_member= null, boolean $skip_hidden= false) : array
booleanWhether to obscure the name of hidden usergroups
booleanWhether to only grab permissive usergroups
booleanDo not limit things even if there are huge numbers of usergroups
\?arrayUsergroups that must be included in the results (null: no extras must be)
\?MEMBERAlways return usergroups of this member (null: current member)
booleanWhether to completely skip hidden usergroups
arrayThe mapget_username(\MEMBER $id, boolean $use_displayname = false) : \?SHORT_TEXT
\MEMBERThe member
booleanWhether to use the displayname rather than the username (if we have them)
\?SHORT_TEXTThe username (null: deleted member)install_delete_custom_field(string $name)
stringThe name of the new custom field
is_staff(\MEMBER $id, boolean $skip_staff_filter = false) : boolean
\MEMBERThe member
booleanWhether to avoid checking the staff filter (i.e. ignore M.S.N.'s)
booleanThe answeris_super_admin(\MEMBER $id) : boolean
\MEMBERThe member
booleanThe answerjoin_url() : mixed
mixedThe URLmember_pm_url(\MEMBER $id, boolean $tempcode_okay = false) : mixed
\MEMBERThe forum member
booleanWhether it is okay to return the result using Tempcode (more efficient)
mixedThe URLmember_profile_hyperlink(\MEMBER $id, boolean $definitely_profile= false, string $_username= '', boolean $use_displayname= true) : \Tempcode
\MEMBERThe forum member
booleanWhether to be insistent that we go to the profile, rather than possibly starting an IM which can link to the profile
stringThe username (blank: look it up)
booleanWhether to use the displayname rather than the username (if we have them)
\TempcodeThe hyperlinkmember_profile_url(\MEMBER $id, boolean $definitely_profile= false, boolean $tempcode_okay= false) : mixed
\MEMBERThe forum member
booleanWhether to be insistent that we go to the profile, rather than possibly starting an IM which can link to the profile
booleanWhether it is okay to return the result using Tempcode (more efficient, and allows keep_* parameters to propagate which you almost certainly want!)
mixedThe URLtopic_is_threaded(integer $topic_id) : boolean
integerThe topic ID
booleanWhether it isusers_online_url(boolean $tempcode_okay = false) : mixed
booleanWhether it is okay to return the result using Tempcode (more efficient)
mixedThe URL$EMOTICON_CACHE
null$MEMBER_ROWS_CACHED
array()$connection