Announcement

Collapse
No announcement yet.

how to hide data What's Going On? Registered users do not?

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

  • [Forum] how to hide data What's Going On? Registered users do not?

    The data I want to hide are:
    Currently Active Users
    Today's Birthdays
    and
    vBulletin Community Forum Statistics

    thanks.












  • #2
    For currently active users and today's birthdays go to:

    Admin CP > Settings > Options > Forums Home Page Options

    Set Display Logged in Users to no.
    Set Display Today's Birthdays to no.

    Comment


    • #3
      You can also turn off display of the total number of active users at the bottom of that screen under Active Member Options.

      Removing any other stats will require editing/modifying the FORUMHOME template. The code that you need to modify should look like this. Take out whatever you don't need.

      Code:
            <div>					<dl>
      						<dt>{vb:rawphrase threads}</dt>
      							<dd>{vb:raw totalthreads}</dd>
      						<dt>{vb:rawphrase posts}</dt>
      							<dd>{vb:raw totalposts}</dd>
      						<dt>{vb:rawphrase members}</dt>
      							<dd>{vb:raw numbermembers}</dd>
      						<vb:if condition="$show['activemembers']">
                                                      <dt>{vb:rawphrase active_members}</dt>
                                                               <dd>{vb:raw activemembers}</dd>
                                                      </vb:if>
      					</dl>
      					<p>{vb:rawphrase welcome_to_our_newest_member_x, {vb:link member, {vb:raw newuserinfo}}, {vb:raw newuserinfo.username}}</p>
      					{vb:raw template_hook.forumhome_wgo_stats}
      				</div>

      Comment


      • #4
        Thank you very much.

        About editing FORUMHOME
        there is any extention or code or something which is hidden only to visitors?

        Thank you.



        Comment


        • #5
          To hide it for only visitors, instead of deleting the code put it inside this template conditional:

          Code:
          <vb:if condition="$show['member']">
          -original code here-
          </vb:if>
          That will show it only to members, not to guests.

          Comment


          • #6
            Originally posted by BirdOPrey5 View Post
            To hide it for only visitors, instead of deleting the code put it inside this template conditional:

            Code:
            <vb:if condition="$show['member']">
            -original code here-
            </vb:if>
            That will show it only to members, not to guests.
            Joethank you very much: D
            I've helpeda lot.
            ---------------------
            I have little doubt, entering the links on your forum signature Qapla see who has the spider of Google as a forum member. how could I get that on my forum?
            Thank you.

            Comment


            • #7
              You're welcome.

              The Spider Display is a mod I downloaded from vBulletin.org: http://www.vbulletin.org/forum/showthread.php?t=243460

              Comment


              • #8
                Originally posted by BirdOPrey5 View Post
                You're welcome.

                The Spider Display is a mod I downloaded from vBulletin.org: http://www.vbulletin.org/forum/showthread.php?t=243460
                Joethank you very much..yoursite is prettyBe interested

                Comment

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