The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Disable reputation system but keeping the "like" button
Hi all,
I am trying to find a way to hide almost all the reputation system but keep the like button on posts, does anyone know the configuration that would make this happen ? Otherwise, what is the simpler way to fully disable the reputation system ? Also, i tried to disable the infraction system but i think i missed something because i can still the button below every post. Is this because i am admin ? Thanks a lot. |
#2
|
||||
|
||||
Did you mean you want to hide those orange reputation bars below the username in the postbit section? If yes, add this in css_additional template or in Sitebuilder > Style > CSS Editor.
Code:
.b-meter { display: none; } |
#3
|
|||
|
|||
Many thanks for the help.
It did mask the reputation bars, I just don't know whether reputation score is used or displayed elsewhere, if not it is fine by me. Regarding infractions, all 4 options are set to "no" for admin, super moderators and moderators groups, but i still have the "give infraction" icon when logged in as super moderator. It is no big deal as i trust my super moderators but it is still surprising. Last question (maybe i should open another thread, i am trying to mask the user post count in the "postbit" for all but moderators. I tried just changing : <li class="b-userinfo__additional-info"><label>{vbhrase posts}:</label> <span>{vb:raw userInfo['posts']}</span></li> by <vb:if condition="is_member_of($bbuserinfo,5,6,7)"> <li class="b-userinfo__additional-info"><label>{vbhrase posts}:</label> <span>{vb:raw userInfo['posts']}</span></li></vb:if> But i get a "Parse error: syntax error, unexpected ',' in ..." message. Thanks a lot for your help |
#4
|
||||
|
||||
In your condition, try using:
HTML Code:
is_member_of($bbuserinfo, array(5,6,7)) |
#5
|
|||
|
|||
I just tried it and i still have the parse error...
|
#6
|
||||
|
||||
You can just hide the post count using CSS. The body tag has data-usergroup or data-usegroupid attribute and you can use that in the css selector to target specific usergroups and hide the post count element.
For the infraction icon, you can also hide it via CSS if the related permissions are disabled and it still wasn't working. Maybe its a bug. |
#7
|
|||
|
|||
Could you please tell me how i could do it ? i have to say i am out of my confort zone with the CSS classes and attributes...
|
#8
|
||||
|
||||
Code:
/* hide Post count except usergroups 5, 6, 7 */ body:not([data-usergroupid='5']):not([data-usergroupid='6']):not([data-usergroupid='7']) .b-userinfo__additional-info:nth-child(2) { display: none; } /* Hide infraction icon */ .js-post-controls .js-post-control__infraction { display: none; } |
#9
|
|||
|
|||
this is great ! thanks a lot.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|