Announcement

Collapse
No announcement yet.

What is the name of the variable that identifies what forumID a thread is located in?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • What is the name of the variable that identifies what forumID a thread is located in?

    I want to show a banner based on what forum thread is in, and i need to know the name of the variable that identifies what forum thread is located in.


  • #2
    If I remember correctly, it is either:

    $forumid
    $forum[id]
    or
    $foruminfo[forumid]

    (My site is unreachable right now, so can't do a quick test for you to make sure, sorry)

    Comment


    • #3
      This will depend on the page/place where you want to show it, but from your description i think it will be $threadinfo[forumid]
      Want to take your board beyond the standard vBulletin features?
      Visit the official Member to Member support site for vBulletin Modifications: www.vbulletin.org

      Comment


      • #4
        I just got back to post that, haha. Thanks for the backup Marco

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X