Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to get Forum name from Topic?

  • @gerikg

    Member

    I want to organize my front-page.php to show where the topic is from.

    example this thread.

    Lastest Discussion

    How to get Forum name from Topic? in Troubleshooting

    I want to know how to get “Troubleshooting”

    I’m assuming <?php forum_name(***topic ID HERE***); ?>

Viewing 4 replies - 1 through 4 (of 4 total)
  • @nuprn1

    Member

    well you can always call bb_get_forum

    and the topic always has $topic->forum_id to pass in

    (might be something in the loop but i can’t remember without searching for it)

    @psycheangels

    Member

    <?php forum_link($topic->forum_id); ?>

    <?php forum_name($topic->forum_id); ?>

    @gerikg

    Member

    Works thanks!

    @tapiohuuhaa

    Participant

    I used google search “forum topic get forum” and get this page. Hopefully I get help.

    If I’m in some topic, I would like to get link with the anchor #new_post to the forum, which the topic relates with.

    I assume that this somewhat relates with to the first question because this relates also with forum and topic names.

    I don’t figure how to get for forum_link($topic->forum_id); the id of the topic.

    I would use Code Snippet for adding link.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar