not display post count

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • goran69
    Senior Member
    • Mar 2005
    • 124
    • 4.2.X

    not display post count

    I do not want users to see each other post count. I had it before on 3.0.7 version bu after upgrade it shows again. Can I disable it ?
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    There is no switch to turn off post counts, but you can manually remove the references from the templates. For example:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Postbit Templates -> postbit or postbit_legacy (depending on which layout you are using)

    Here is the reference in the postbit_legacy template:

    Code:
    			<div class="smallfont">
    				&nbsp;<br />
    				<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
    				<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
    				<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
    				[color=red]<div>
    					$vbphrase[posts]: $post[posts]
    				</div>[/color]
    				<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if>
    				<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
    			</div>

    Comment

    • goran69
      Senior Member
      • Mar 2005
      • 124
      • 4.2.X

      #3
      tnx Jack. One more question while in 3.0.7 it was removed only for regular users. Admin could still see it is this code doing the same?

      Comment

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

        #4
        In that case, add the blue code:

        Code:
        			<div class="smallfont">
        				&nbsp;<br />
        				<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
        				<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
        				<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
        				[color=blue]<if condition="$bbuserinfo[usergroupid] == 6">[/color]
        				<div>
        					$vbphrase[posts]: $post[posts]
        				</div>
        				[color=blue]</if>[/color]
        				<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if>
        				<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
        			</div>

        Comment

        • goran69
          Senior Member
          • Mar 2005
          • 124
          • 4.2.X

          #5
          Tnx Jake, worked like a charm, this was actually the first time I was messing with codes on my forum. Only after a thought came what if I mess up something

          Comment

          • ivabign
            New Member
            • Nov 2005
            • 2
            • 3.5.x

            #6
            awesome hack no more post count envy

            Comment

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