Announcement

Collapse
No announcement yet.

How to make conditions for specified thread and forum pages?

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

  • How to make conditions for specified thread and forum pages?

    Hello!
    I wonder if there any conditions for specified thread and forum pages? Say, I need to put a banner on a forum 154 page 2, on a thread 9061 page 4 and on thread 5134. How these conditions should look like?

  • #2
    In most of the major templates you can use this condition to check the forumid:

    Code:
    <if condition="$forumid == X">
    
    </if>
    And this will probably work for threadid:

    Code:
    <if condition="$threadid == X">
    
    </if>
    If you need additional help then I recommend you post on www.vbulletin.org. They deal with custom code over there.

    Comment


    • #3
      but what about specified pages, does it like
      <if condition="$forumid == X page == X">
      ?

      Comment

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