who is viewing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hollyboy
    Senior Member
    • Mar 2004
    • 777

    who is viewing

    I want to disable this "xxx are viewing" that appears in every forums in the forumhome, how do I do that?
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Both the x viewing feature and Currently Active Users feature are controlled by this setting:

    Admin CP -> vBulletin Options -> Forum Home Page Options -> Display Logged in Users?

    If you want to disable just the x viewing feature then you can remove that code from the templates:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates -> forumhome_forumbit_level1_post

    Remove the red code:

    Code:
    <tbody>
    	<tr align="center">
    		<td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">
    		
    		<table cellpadding="0" cellspacing="0" border="0">
    		<tr>
    			<td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
    			<td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
    			<td>
    			<div>
    				<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
    				[color=red]<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>[/color]
    			</div>
    			<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
    			<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
    			<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
    			</td>
    		</tr>
    		</table>
    		
    		</td>
    		<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
    		<td class="alt1">$forum[threadcount]</td>
    		<td class="alt2">$forum[replycount]</td>
    		<if condition="$vboptions['showmoderatorcolumn']">
    		<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
    		</if>
    	</tr>
    </tbody>
    <if condition="$childforumbits">
    <tbody>
    	$childforumbits
    </tbody>
    </if>
    Make a similar change to the forumhome_forumbit_level2_post template.

    Comment

    • hollyboy
      Senior Member
      • Mar 2004
      • 777

      #3
      I did the changes in the templates to not see "x are browsing" but I still see them

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #4
        Did you edit the same style you are viewing? Did you make the same change to the forumhome_forumbit_level2_post template?

        Comment

        • hollyboy
          Senior Member
          • Mar 2004
          • 777

          #5
          yepp

          Comment

          • hollyboy
            Senior Member
            • Mar 2004
            • 777

            #6
            up ...........

            Comment

            • Jake Bunce
              Senior Member
              • Dec 2000
              • 46598
              • 3.6.x

              #7
              I would need to take a look. If you send me a private message with your forum URL and an admin login then I can look into this.

              Comment

              • Jake Bunce
                Senior Member
                • Dec 2000
                • 46598
                • 3.6.x

                #8
                It appears your forumhome_forumbit_level2_post template is modified in such a way so there are two instances of the x viewing code to remove. I removed the second instance. Now it's working.

                Comment

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