Announcement

Collapse
No announcement yet.

If condition request

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

  • aveon
    replied
    use $foruminfo instead of $forum

    Leave a comment:


  • Kurisu
    replied
    I'd like to know that too.

    Leave a comment:


  • ED195KW
    replied
    I've been trying to do something similar - show a different header image for different forums.

    I've tried:
    Code:
    <if condition="$forum[forumid] == 1">
    <img src="image1.jpg">
    </if>
    <if condition="$forum[forumid] == 2">
    <img src="image2.jpg">
    </if>
    But that doesn't work. Any ideas?

    Leave a comment:


  • aveon
    replied
    ok steve i want somethin like

    if this user in this forum show that anywhere else show that

    Leave a comment:


  • Steve Machol
    replied
    Then maybe you can rewrite your request in post #1 into something understandable.

    Leave a comment:


  • aveon
    replied
    Originally posted by Steve Machol View Post
    Please wait at least 12 hours before bumping your posts.

    From the forum rules:
    http://www.vbulletin.com/forum/showthread.php?t=42918



    The correct conditional for a specific forum would be:

    <if condition="$forum[forumid] == X">
    </if>

    ...with X being the forumid number.

    srry about tha steve but it is not quite right u see

    i want to combine two conditionals togather like if this user in this forum i want to show something just for single member in a certain forum like this thing wont show up in the other forums only in that forum specified and on the specified members postbit

    Leave a comment:


  • Steve Machol
    replied
    Please wait at least 12 hours before bumping your posts.

    From the forum rules:
    http://www.vbulletin.com/forum/showthread.php?t=42918

    Please wait a reasonable amount of time before bumping posts. For style changes and general 'how-to' questions this should be 24 hours. For specific troubleshooting issues, use 12 hours as a guideline.
    The correct conditional for a specific forum would be:

    <if condition="$forum[forumid] == X">
    </if>

    ...with X being the forumid number.

    Leave a comment:


  • aveon
    replied
    come on guys its emergency

    Leave a comment:


  • aveon
    started a topic If condition request

    If condition request

    i need an if conditional goes like

    <if condition="this user is in thas forum">show soething<else /> regular thing</if>

    so on post bit template i wanna display sometings for some users but i want it to be shown on certain forum not on all forum help please
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X