Changing 'Post New Thread' phrase per forum?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Silly Box Cat
    New Member
    • May 2010
    • 14

    [Forum] Changing 'Post New Thread' phrase per forum?

    How can I change the 'Post New Thread' phrase for a certain forum?
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    You will have to modify the template - FORUMDISPLAY.

    Find (2 times):
    HTML Code:
    {vb:rawphrase post_new_thread}
    Replace with:
    HTML Code:
    <vb:if condition="$foruminfo['forumid'] != x">{vb:rawphrase post_new_thread}<vb:else />Something Else</vb:if>
    Replace x with the forumid number.

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools &lt;- awesome site for html/css help

    Comment

    • Silly Box Cat
      New Member
      • May 2010
      • 14

      #3
      Originally posted by Lynne
      You will have to modify the template - FORUMDISPLAY.

      Find (2 times):
      HTML Code:
      {vb:rawphrase post_new_thread}
      Replace with:
      HTML Code:
      <vb:if condition="$foruminfo['forumid'] != x">{vb:rawphrase post_new_thread}<vb:else />Something Else</vb:if>
      Replace x with the forumid number.
      Thanks! It works. Is there a way to list multiple forum IDs within the same code? I tried to separate them with commas, but it didn't work.

      Comment

      • Lynne
        Former vBulletin Support
        • Oct 2004
        • 26255

        #4
        HTML Code:
        <vb:if condition="!in_array($foruminfo['forumid'], array(x, y, z))">{vb:rawphrase post_new_thread}<vb:else />Something Else</vb:if>

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools &lt;- awesome site for html/css help

        Comment

        • Silly Box Cat
          New Member
          • May 2010
          • 14

          #5
          Originally posted by Lynne
          HTML Code:
          <vb:if condition="!in_array($foruminfo['forumid'], array(x, y, z))">{vb:rawphrase post_new_thread}<vb:else />Something Else</vb:if>
          Alright, thanks again; my problem has been resolved.

          Comment

          Related Topics

          Collapse

          Working...