Pick between: - Step A -> If you want to hide the reputation bar (green/empty)
- Step B -> If you want to hide the reputation bar (green/empty) & relocate it's position below Rep Power & Reputation
Postbit or Postbit_Legacy Template (whichever one you use):
AdminCP -> Styles & Templates -> Search Templates ->
postbit_legacy [Pick your style too] ->
postbit_legacy (edit)
Note: If postbit_legacy doesn't work, search "
postbit" which is
located below Postbit Templates.
Step A:
Find:
Code:
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}" title="{vb:raw post.username} {vb:raw post.level}">
<vb:each from="reputationdisplay" value="row">
<img class="{vb:raw row.class}" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw row.posneg}{vb:raw row.imgext}" alt="" />{vb:raw row.rowend}
</vb:each>
</span>
</vb:if>
Replace with:
Code:
<vb:if condition="$post['showreputation']">
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}" title="{vb:raw post.username} {vb:raw post.level}">
<vb:each from="reputationdisplay" value="row">
<img class="{vb:raw row.class}" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw row.posneg}{vb:raw row.imgext}" alt="" />{vb:raw row.rowend}
</vb:each>
</span>
</vb:if></vb:if>
Red: The essential code that I added in, for this to all work.
That's it
Step B:
Find:
Code:
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}" title="{vb:raw post.username} {vb:raw post.level}">
<vb:each from="reputationdisplay" value="row">
<img class="{vb:raw row.class}" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw row.posneg}{vb:raw row.imgext}" alt="" />{vb:raw row.rowend}
</vb:each>
</span>
</vb:if>
^Delete all of that
+
Find:
Code:
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
<dt>{vb:rawphrase reputation}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputation}</dd>
</vb:if>
</vb:if>
</vb:if>
</dl>
</vb:if>
Replace with:
Code:
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
<dt>{vb:rawphrase reputation}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputation}</dd>
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}" title="{vb:raw post.username} {vb:raw post.level}">
<vb:each from="reputationdisplay" value="row">
<img class="{vb:raw row.class}" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw row.posneg}{vb:raw row.imgext}" alt="" />{vb:raw row.rowend}
</vb:each>
</span>
</vb:if>
</vb:if>
</vb:if>
</vb:if>
</dl>
</vb:if>
Green: That's the code for reputation points to appear in your postbit. Don't add that, if you don't want to display it.
Blue: I just moved the deleted code over here.
Red: The end IF condition, for the change done in the first/original post.
That's it
------------------------------------------------------------------------------------------------------------------------------------------------------
If you want to force
X Usergroups/Users
Display Reputation On/Off from their profile, then check out my guide here:
https://vborg.vbsupport.ru/showthrea...58#post2555258
If you don't give them permission to
Hide Reputation from Others, then whatever you want will stay permanently, until you/another admin decides otherwise.