ban_ip (line 100)
Ban the specified IP address.
void
ban_ip
(IP $ip, [LONG_TEXT $descrip = ''])
-
IP
$ip: The IP address to ban
-
LONG_TEXT
$descrip: Explanation for ban
give_submit_points (line 51)
Give points to a member for submitting something, then returns the XHTML page to say so.
?string
give_submit_points
(ID_TEXT $type, [?MEMBER $member = NULL])
-
ID_TEXT
$type: One of this type has been submitted. By convention it is the language code of what was done, e.g. ADD_DOWNLOAD
-
?MEMBER
$member: The member to give the points to (NULL: give to current member)
send_validation_request (line 29)
Send (by e-mail) a validation request for a submitted item to the admin.
void
send_validation_request
(ID_TEXT $type, ID_TEXT $id, tempcode $url, [?MEMBER $member_id = NULL])
-
ID_TEXT
$type: The validation request will say one of this type has been submitted. By convention it is the language code of what was done, e.g. ADD_DOWNLOAD
-
ID_TEXT
$id: The validation request will say this ID has been submitted
-
tempcode
$url: The validation request will link to this URL
-
?MEMBER
$member_id: Member doing the submitting (NULL: current member)
unban_ip (line 119)
Unban the specified IP address.
void
unban_ip
(IP $ip)
-
IP
$ip: The IP address to unban
wrap_probe_ip (line 71)
Find a member from their IP address. Unlike plain $GLOBALS['FORUM_DRIVER']->probe_ip, it has the benefit of looking in the adminlogs table also.
array
wrap_probe_ip
(IP $ip)
-
IP
$ip: The IP address to probe