Announcement

Collapse
No announcement yet.

Moderators on ForumHome

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

  • Moderators on ForumHome

    Can someone help me with an if statement to put in my template that would allow for me to have my forum mods on my forum home undernieth my Forum Name and Forum Description? So far I have it working, the only problem is when there are no moderators it leaves a blank spot. For instance:

    Video Games is moderated by Alf
    When there is no mod it leaves only:
    Video Games is moderated by
    What could I do to make it say something like none instead of a blank space?

    Here is what I have for my if statement:
    <if condition="$vboptions['showmoderatorcolumn']">
    <div class="time">$forum[title] is moderated by $forum[moderators]</div>
    </if>

  • #2
    Try this

    Code:
    <if condition="$forum[moderators]">
    <div class="time">$forum[title] is moderated by $forum[moderators]</div>
    </if>

    Comment


    • #3
      You're my hero! thanks!

      Comment


      • #4
        Originally posted by Silverwolf
        Try this

        Code:
        <if condition="$forum[moderators]">
        <div class="time">$forum[title] is moderated by $forum[moderators]</div>
        </if>
        I've tried this at http://doggiedoor.com/forums/ but can't get it to work. I've tried it in the following templates:
        forumhome
        forumhome_forumbit_level1_post
        forumhome_forumbit_level2_post

        But nothing appears.
        Is it supposed to go somewhere else?

        Thanks much! :-)
        :) Brandy

        Comment

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