![]() |
I want to hide post counts from normal users, but if you are logged in as Admin or Moderator I want to be able to see users post counts.
I find in my forums that users are posting nonsense replies just to get thier post count up. |
yeah, i want this too. where is it. i know its possible, because I can see that the admin of this board has pulled it okk...
|
this is easily done, so i haven't released it as a full hack, because one block one change and one new template isn't reallly much ^^
open functions.php goto section getpostbit there find: PHP Code:
PHP Code:
then edit your postbittemplate, replace $post[posts] with $adminpostbit and last step add template adminpostbit within there must be the line $post[posts] and whatever you want just to show up for your admins/mods and so on :) |
Quote:
Thanks. --Lucky |
<if condition="$bbuserinfo[usergroupid] == 6">
blah blah... </if> Just put that around the code in your postbit template. |
You'll have to do that in member profiles as well as any other places that show the post count.
|
Well, I think you could just go to your Replacement Variable Manager, and replace $post[posts] with <if condition="$bbuserinfo[usergroupid] == 6">$post[posts]</if>
|
nope, as the replacement is done AFTER the variable parsing, so this would replace nothing at all ;)
|
Is it possible we could get this in a plugin or plugin program?
Doug |
If anyone wants this released as a hack, please specify the target vB version. Thanks.
|
Quote:
Doug |
This is hardly "hack" material - A simple template conditional or small plugin to do it is easy enough ;)
Chris |
A template hack then :)
|
Personally I would rather see a plugin developed as its easy to install and remove or disable and doesnt require and code or template modifications.
Can someone write this for a plugin or plugin program? Doug |
Wow... There goes another side of the medal called "plugin system"...
Now our users are so lazy that they only want to use hacks that require no manual labor... And they tell us how to code.. wow... :// |
nice, a codemode of vb2 times.....
really big bump ^^ |
Quote:
Doug |
Quote:
|
Quote:
Please do if you are willing to do this for us. I was looking at another hide post count plugin but it just doesnt offer the by user group feature and the creator is not willing to develop it any further. I would even consider a donation for your efforts. Doug |
Anything new on a plugin for this?
Anyone? Doug |
Quote:
So far I have only been able to find the Post Count in the postbit template. If someone would be willing to list the areas that Post Count is shown and what template I need to modifiy as well as where it is located that would be most appreciated. Thanks Doug NOTE... This thing cant tell a double post from two different post in the same day. |
All times are GMT. The time now is 02:30 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|