MyBB Community Forums

Full Version: Get the Forum Name from the FID?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible? Is there a function in MyBB that allows you to get the forum name by the forum ID?

Or is there a field in one of the tables that I could select and return the Forum Name by using the FID to delimit the results?

Thanks for any info.

EDIT: Solved my own question. Blush

You can get the forum name from mybb_forums using the FID to delimit the results.
Even easier:

$forum = get_forum($fid);

echo $forum['name'];

Smile