Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Post_Text Front Page

Ok, I see what you’re looking for now. To get the forum name, use the forum_name() function and to get the forum link, use the forum_link() function. Once you have the topic ID, use the get_topic() function to get the topic object. From here, you can use the forum id. So, your code would look like:

$topic = get_topic($topic_id);

$forumName = forum_name($topic->forum_id);

$forumLink = forum_link($topic->forum_id);

An example of the forum_name and forum_link functions being used is in the bb-templateskakumeiforum.php file. Keep in mind that the example uses the current forum_id and doesn’t pass it in, but this should give you an example of how to use them.

Skip to toolbar