vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=182811

Post Count Management
by clayh456
18 Jun 2008 02:18

I necroed a post about this yesterday, but I think a new thread would be more appropriate. We are using VB 3.7.1. We would like to have a way to hide (not delete) the post count of all staff members. Since the staff is quite large and changes fairly often, it would be nice if this could be done via a secondary usergroup or some kind of plugin. So far, I haven't found anything that has this feature and no built in methods. Does anyone have ideas?

Dismounted 18 Jun 2008 08:11

Just wrap places where it displays the post counts with conditionals:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Where X, Y and Z are IDs of staff usergroups.

clayh456 18 Jun 2008 09:30

Quote:

Originally Posted by Dismounted (Post 1552371)
Just wrap places where it displays the post counts with conditionals:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Where X, Y and Z are IDs of staff usergroups.

Thank you! Where you have CODE between the > <, what would be the statement? Something like "$show['postcount']" but with a negative in there somewhere?

Dismounted 18 Jun 2008 09:58

You have to find where the post count is displayed in the postbit (find $post[posts]), and put that in the middle of it.

Brother Malachi 18 Jun 2008 09:59

The negative goes only before is_member_of(). Like so:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


clayh456 18 Jun 2008 18:22

Gotcha, thanks guys.


All times are GMT. The time now is 10:28.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.