Announcement

Collapse
No announcement yet.

get the sub-forum titles within SHOWTHREAD

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

  • get the sub-forum titles within SHOWTHREAD

    For a particular thread, how can I get the forum and sub forum titles, not the thread title, eg thread Z is in X>Y>Z


    Within SHOWTHREAD Z can be referred to as $thread[title], what is X and Y ?
    ai-stockmarketforum vbulletin-faq vbulletin-fans

  • #2
    I am not sure if this is only available to the navbits template, but you could try: $navbits[breadcrumb]

    Comment


    • #3
      Ill try in both, but will this be X or Y (forum or subforum) ? if one, how can I get the other?
      ai-stockmarketforum vbulletin-faq vbulletin-fans

      Comment


      • #4
        $navbits[breadcrumb] would give me something like:

        Tutoring Classifieds> Science> Classifieds Biology.
        How can I just get "Classifieds Biology"

        $navbits(something)

        I want to say, if forum = classifieds biology, then show this biology link, if forum = chemistry then show this chemistry link... etc. I just need to know how to get "classifieds biology" out of navbits

        $navbits[lastelement] shows the forum title, I need the one but last, any idea?

        is navbits an array, if so can I call each by $navbits[0]...$navbits[x]
        Last edited by mikep; Wed 21st Nov '07, 8:12am.
        ai-stockmarketforum vbulletin-faq vbulletin-fans

        Comment


        • #5
          That won't be possible, without a customized piece of PHP code in a plugin.

          Comment


          • #6
            could I not even check if $navbits[breadcrumb] contians "Classifieds Biology"

            eg in php: if (strpos($navbits, "Classifieds Biology") === false){showMyLink}

            Can i do this?
            ai-stockmarketforum vbulletin-faq vbulletin-fans

            Comment

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