Announcement

Collapse
No announcement yet.

How do I supress reputation in all but one forum?

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

  • How do I supress reputation in all but one forum?

    I am trying to put conditionals into the various post bit templates, but it's just having the effect of turning off reputation in all forums.

    For example:

    Code:
    <if condition="$forumid == '49'">
    <img class="inlineimg" src="$stylevar[imgdir_reputation]/reputation_$posneg.gif" alt="$post[username] $post[level]" border="0" />
    </if>
    I would think this would show in forum 49, but in no others, but in fact now it doesn't show in any forum.
    Last edited by ircmullaney; Sat 22 Nov '08, 7:25pm.

  • #2
    Try this...
    Code:
    <if condition="$foruminfo[forumid] == 49">
    ...
    </if>
    Lats...

    Comment


    • #3
      yeah, I tried that too. it's not working.

      For the record, I tried:

      <if condition="$foruminfo[forumid] == 49">
      <if condition="$foruminfo['forumid'] == '49'">
      <if condition="$foruminfo[forumid] == '49'">
      <if condition="$foruminfo['forumid'] == 49">

      Comment


      • #4
        This should be it for postbit...
        Code:
        <if condition="$forum[forumid] == 49">
        ...
        Lats...

        Comment


        • #5
          Originally posted by Lats View Post
          This should be it for postbit...
          Code:
          <if condition="$forum[forumid] == 49">
          ...
          That didn't work for me, but $GLOBALS[forumid] did.

          Comment

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