how to prevent something in certain forums??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • baghdad4ever
    Senior Member
    • Apr 2007
    • 587
    • 4.1.x

    how to prevent something in certain forums??

    hi

    i want to prevent reputation in certain forums in my board

    how to do that please

    i try

    Code:
    [COLOR=#ff0000]<if condition=[COLOR=#0000ff]"$forum[forumid] != X"[/COLOR]>[/COLOR][COLOR=#ff0000]</if>[/COLOR]
    but it is for single forum i want to prevent rep icon in multiple forums

    so please can tell me the exact code and how to apply

    thanks
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    Try this:

    HTML Code:
    <if condition="in_array($forum['forumid'], array(x, y, z))">
    stuff
    </if>
    (Although I would probably just write a plugin to disable it. But, if you don't like writing plugins, then the template edit is the best way to do it.)

    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

    • baghdad4ever
      Senior Member
      • Apr 2007
      • 587
      • 4.1.x

      #3
      Originally posted by Lynne
      Try this:

      HTML Code:
      <if condition="in_array($forum['forumid'], array(x, y, z))">
      stuff
      </if>
      (Although I would probably just write a plugin to disable it. But, if you don't like writing plugins, then the template edit is the best way to do it.)
      thanks lynne for the code

      i prefer template edit

      is that cause any server load if the forum big or not??

      thanks

      Comment

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