get_forum_info
Usage: array get_forum_info ([int forumid])
Purpose: Returns information on a forum.
Availability: IPB SDK 0.5
Purpose: Returns information on a forum.
Availability: IPB SDK 0.5
Returns an array with information on forum forumid.
If the forum does not exist FALSE will be returned.
Information will be returned in the following array structure:
Array (
[id] => 1
[topics] => 32
[posts] => 49
[last_post] => 1096280362
[last_poster_id] => 1
[last_poster_name] => Pita
[name] => A Test Forum
[description] => A test forum that may be removed at any time
[position] => 1
[use_ibc] => 1
[use_html] => 0
[status] => 1
[password] => letmein
[last_title] => test form sdk
[last_id] => 46
[sort_key] => last_post
[sort_order] => Z-A
[prune] => 30
[show_rules] => 0
[preview_posts] => 0
[allow_poll] => 1
[allow_pollbump] => 1
[inc_postcount] => 1
[skin_id] =>
[parent_id] => 2
[sub_can_post] => 1
[quick_reply] => 0
[redirect_url] =>
[redirect_on] => 0
[redirect_hits] => 0
[redirect_loc] =>
[rules_title] =>
[rules_text] =>
[topic_mm_id] =>
[notify_modq_emails] =>
[permission_custom_error] =>
[permission_array] => a:5:{s:11:"start_perms";s:1:"*";s:11:"reply_perms";s:1:"*";s:10:"read_perms";s:1:"*";s:12:"upload_perms";s:0:"";s:10:"show_perms";s:1:"*";}
[permission_showtopic] => 0
[queued_topics] => 0
[queued_posts] => 0
[read_perms] => *
[reply_perms] => *
[start_perms] => *
[upload_perms] =>
[show_perms] => *
)
[id] => 1
[topics] => 32
[posts] => 49
[last_post] => 1096280362
[last_poster_id] => 1
[last_poster_name] => Pita
[name] => A Test Forum
[description] => A test forum that may be removed at any time
[position] => 1
[use_ibc] => 1
[use_html] => 0
[status] => 1
[password] => letmein
[last_title] => test form sdk
[last_id] => 46
[sort_key] => last_post
[sort_order] => Z-A
[prune] => 30
[show_rules] => 0
[preview_posts] => 0
[allow_poll] => 1
[allow_pollbump] => 1
[inc_postcount] => 1
[skin_id] =>
[parent_id] => 2
[sub_can_post] => 1
[quick_reply] => 0
[redirect_url] =>
[redirect_on] => 0
[redirect_hits] => 0
[redirect_loc] =>
[rules_title] =>
[rules_text] =>
[topic_mm_id] =>
[notify_modq_emails] =>
[permission_custom_error] =>
[permission_array] => a:5:{s:11:"start_perms";s:1:"*";s:11:"reply_perms";s:1:"*";s:10:"read_perms";s:1:"*";s:12:"upload_perms";s:0:"";s:10:"show_perms";s:1:"*";}
[permission_showtopic] => 0
[queued_topics] => 0
[queued_posts] => 0
[read_perms] => *
[reply_perms] => *
[start_perms] => *
[upload_perms] =>
[show_perms] => *
)
$foruminfo = $SDK->get_forum_info("1"); // Simple, huh? :)
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.