Forum description in address bar?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smsmasters
    Senior Member
    • May 2003
    • 151

    Forum description in address bar?

    Which template contains the <title> </title> tag?

    Basically, I want to know where the "forum name" variable is in the templates.

    Thanks
    Last edited by smsmasters; Mon 9 Oct '06, 12:47pm.
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    All of the main templates (usually CAPITALIZED). For example:

    FORUMHOME
    FORUMDISPLAY
    SHOWTHREAD
    etc...

    Comment

    • smsmasters
      Senior Member
      • May 2003
      • 151

      #3
      I mean the global template, the one that shows the forum name in the internet browser window title.
      Attached Files

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #4
        That is the title tag which is in several templates.

        What do you want to do with it?

        Comment

        • smsmasters
          Senior Member
          • May 2003
          • 151

          #5
          Basically, I have named my forum "SmsMasters Forum" in "Site Name / URL / Contact Details" options.

          However, I want to make it say "SmsMasters Forum - Latest technology news and information, mobile phones, gadgets & more! Large active community discussion forum." But I don't want to add it via the options, I want to add it in a global template because it appears in the navbar and it would be too long.

          Sorry, I can't describe it better.

          Comment

          • smsmasters
            Senior Member
            • May 2003
            • 151

            #6
            Basically, which variable in which template displays the forum name in the browser window?

            Please see attachment:

            Thanks

            Comment

            • smsmasters
              Senior Member
              • May 2003
              • 151

              #7
              Ok, never find, I found it. Thanks

              Comment

              • Jake Bunce
                Senior Member
                • Dec 2000
                • 46598
                • 3.6.x

                #8
                Edit the FORUMHOME template. You will see that it uses the "x_powered_by_vbulletin" phrase in the title:

                Code:
                $stylevar[htmldoctype]
                <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
                <head>
                	<!-- no cache headers -->
                	<meta http-equiv="Pragma" content="no-cache" />
                	<meta http-equiv="Expires" content="-1" />
                	<meta http-equiv="Cache-Control" content="no-cache" />
                	<!-- end no cache headers -->
                	$headinclude
                	<title><phrase 1="$vboptions[bbtitle]">$vbphrase[[color=red]x_powered_by_vbulletin[/color]]</phrase></title>
                </head>
                <body>
                $header
                $navbar
                To edit this phrase go to your:

                Admin CP -> Languages & Phrases -> Search in Phrases

                Search for "x_powered_by_vbulletin" in the Phrase Variable Name Only. Edit the matching phrase and enter a translation to change the "powered by" part to your own title.

                You will see that other templates don't use the same phrase. For example, edit the FORUMDISPLAY template:

                Code:
                $stylevar[htmldoctype]
                <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
                <head>
                $headinclude
                <title>$foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
                <if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script></if>
                </head>
                <body>
                $header
                $navbar
                You can see that is starts with the title of the individual forum, followed by the page number, followed by the title of the whole forum. Make appropriate edits here to add your custom page title. Repeat for other main templates.

                Comment

                • smsmasters
                  Senior Member
                  • May 2003
                  • 151

                  #9
                  Thank you very much, it works! By the way, In n Out rocks!


                  Originally posted by Jake Bunce
                  Edit the FORUMHOME template. You will see that it uses the "x_powered_by_vbulletin" phrase in the title:

                  Code:
                  $stylevar[htmldoctype]
                  <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
                  <head>
                      <!-- no cache headers -->
                      <meta http-equiv="Pragma" content="no-cache" />
                      <meta http-equiv="Expires" content="-1" />
                      <meta http-equiv="Cache-Control" content="no-cache" />
                      <!-- end no cache headers -->
                      $headinclude
                      <title><phrase 1="$vboptions[bbtitle]">$vbphrase[[COLOR=red]x_powered_by_vbulletin[/COLOR]]</phrase></title>
                  </head>
                  <body>
                  $header
                  $navbar
                  To edit this phrase go to your:

                  Admin CP -> Languages & Phrases -> Search in Phrases

                  Search for "x_powered_by_vbulletin" in the Phrase Variable Name Only. Edit the matching phrase and enter a translation to change the "powered by" part to your own title.

                  You will see that other templates don't use the same phrase. For example, edit the FORUMDISPLAY template:

                  Code:
                  $stylevar[htmldoctype]
                  <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
                  <head>
                  $headinclude
                  <title>$foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
                  <if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script></if>
                  </head>
                  <body>
                  $header
                  $navbar
                  You can see that is starts with the title of the individual forum, followed by the page number, followed by the title of the whole forum. Make appropriate edits here to add your custom page title. Repeat for other main templates.

                  Comment

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