Announcement

Collapse
No announcement yet.

How do you hide the "What's going on?" part on the main page?

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

  • How do you hide the "What's going on?" part on the main page?

    How do you hide the "What's going on?" part on the main page?

    I want to be able to see it as a moderator...but i don't want registered or unregisterd guests to be able to see it.

    Thanks
    ~Chris

  • #2
    You can hide the relevant block on the FORUMHOME template with template conditionals. Here is the online documentation for using template conditionals:

    http://www.vbulletin.com/docs/html/m...e_conditionals

    vBulletin Conditionals Quick Tips:
    vBulletin Conditionals
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      Thank you.

      Is this the correct syntax to write the conditional.

      <if condition="$show['moderator']">
      <!-- what's going on box -->
      blah blah blah
      <!-- end what's going on box -->

      </if>

      Comment


      • #4
        or is it like this

        <if condition="is_member_of($bbuserinfo, moderator)">

        </if>

        Comment


        • #5
          Use the usergroupid, not name:

          <if condition="is_member_of($bbuserinfo, 7)">

          </if>
          Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
          Change CKEditor Colors to Match Style (for 4.1.4 and above)

          Steve Machol Photography


          Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


          Comment

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