PDA

View Full Version : [SOLVED]postbit_legacy (remove some user details)


Popa Andrei
07-14-2011, 12:33 PM
Hi there vbulletin.org users.I am making this thread with the hope that someone will help me.
For my postbut_legacy i am ussing a plugin that show the user details(join date,last post,nationality,etc) in separated tabs.But to acomplish this i had to remove from the postbit_legacy template all the default ones that showed info about the user and left onli the rankimage,avatat and name.
The problem is that i cant find the code to remove the infactions details from it.Can u help?
Attached image in case i wasnt clear.

Thanks in advance.

kh99
07-14-2011, 12:50 PM
Isn't this it?

<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>

LifesGreatestGift
07-14-2011, 02:40 PM
yeah, looks like you have the infraction code duplicated and the first one has the custom class (style) and the duplicate is the original and needs to be deleted or commented out.

Popa Andrei
07-14-2011, 08:29 PM
yeah, looks like you have the infraction code duplicated and the first one has the custom class (style) and the duplicate is the original and needs to be deleted or commented out.

how do comment out on the vbulletin templates?

HMBeaty
07-14-2011, 09:04 PM
how do comment out on the vbulletin templates?
You could use this:
<!-- extra code here or code you don't want to show -->

Popa Andrei
07-14-2011, 11:46 PM
Isn't this it?

<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
thanks you very much.That was indeed :D