get_info
Usage: array get_info ([int userid])
Purpose: Returns information on a member.
Availability: IPB SDK 0.1
Purpose: Returns information on a member.
Availability: IPB SDK 0.1
Returns an array with information on member userid. If userid is not specified, information on the member currently logged in will be returned.
If current user information could not be retrieved, or an invalid member id is specified FALSE will be returned.
Information will be returned in the following array structure:
Array
(
[name] => cow
[id] => 1
[member_login_key] => (login key in md5 - removed for security purposes)
[email] => [email protected]
[title] => Administrator
[mgroup] => 4
[view_sigs] => 1
[view_img] => 1
[view_avs] => 1
[g_id] => 4
[g_view_board] => 1
[g_mem_info] => 1
[g_other_topics] => 1
[g_use_search] => 1
[g_email_friend] => 1
[g_invite_friend] => 0
[g_edit_profile] => 1
[g_post_new_topics] => 1
[g_reply_own_topics] => 1
[g_reply_other_topics] => 1
[g_edit_posts] => 1
[g_delete_own_posts] => 1
[g_open_close_posts] => 1
[g_delete_own_topics] => 1
[g_post_polls] => 1
[g_vote_polls] => 1
[g_use_pm] => 1
[g_is_supmod] => 1
[g_access_cp] => 1
[g_title] => Admin
[g_can_remove] => 0
[g_append_edit] => 1
[g_access_offline] => 1
[g_avoid_q] => 1
[g_avoid_flood] => 1
[g_icon] =>
[g_attach_max] => 50000
[g_avatar_upload] => 1
[g_calendar_post] => 1
[prefix] =>
[suffix] =>
[g_max_messages] => 50
[g_max_mass_pm] => 6
[g_search_flood] => 0
[g_edit_cutoff] => 5
[g_promotion] => -1&-1
[g_hide_from_list] => 0
[g_post_closed] => 1
[g_perm_id] => 4
[g_photo_max_vars] => 100:250:250
[g_dohtml] => 1
[g_edit_topic] => 0
[g_email_limit] => 10:15
[g_bypass_badwords] => 0
[g_attach_per_post] => 0
[g_can_msg_attach] => 0
[is_mod] => 1
)
(
[name] => cow
[id] => 1
[member_login_key] => (login key in md5 - removed for security purposes)
[email] => [email protected]
[title] => Administrator
[mgroup] => 4
[view_sigs] => 1
[view_img] => 1
[view_avs] => 1
[g_id] => 4
[g_view_board] => 1
[g_mem_info] => 1
[g_other_topics] => 1
[g_use_search] => 1
[g_email_friend] => 1
[g_invite_friend] => 0
[g_edit_profile] => 1
[g_post_new_topics] => 1
[g_reply_own_topics] => 1
[g_reply_other_topics] => 1
[g_edit_posts] => 1
[g_delete_own_posts] => 1
[g_open_close_posts] => 1
[g_delete_own_topics] => 1
[g_post_polls] => 1
[g_vote_polls] => 1
[g_use_pm] => 1
[g_is_supmod] => 1
[g_access_cp] => 1
[g_title] => Admin
[g_can_remove] => 0
[g_append_edit] => 1
[g_access_offline] => 1
[g_avoid_q] => 1
[g_avoid_flood] => 1
[g_icon] =>
[g_attach_max] => 50000
[g_avatar_upload] => 1
[g_calendar_post] => 1
[prefix] =>
[suffix] =>
[g_max_messages] => 50
[g_max_mass_pm] => 6
[g_search_flood] => 0
[g_edit_cutoff] => 5
[g_promotion] => -1&-1
[g_hide_from_list] => 0
[g_post_closed] => 1
[g_perm_id] => 4
[g_photo_max_vars] => 100:250:250
[g_dohtml] => 1
[g_edit_topic] => 0
[g_email_limit] => 10:15
[g_bypass_badwords] => 0
[g_attach_per_post] => 0
[g_can_msg_attach] => 0
[is_mod] => 1
)
See Also: get_advinfo
User Contributed Notes
Documentation Generated at Sat, 16 Apr 2005 07:36:35 -0700
Find the latest version at http://ipbsdk.sourceforge.net
There are currently no user contributed notes for this page.