postbit in PM for fixed styles
All credits goes to index.php?t=161859
Jubei for question and Gray Matter for the idea of realisation on vb3 O well a little bit to me as well Forgive my English, lets start. The point is while I'm using postbit_legacy on the forum I wanted to use postbit in PMs. SImply more room, take into account the auto-quotation. And I didn't wanted to turn it off cos There Is No Answer with Quote any more. PMs on my board were turning into quoted hell hard to understand. Enough of lyrics . 1.Backup your postbit_legacy. 2.Now copy everything from postbit into a text editor 3.If you want the avatars shown on the PMs' jump to step 5 4. Find in your postbit the one in text editor Code:
<vb:if condition="$show['avatar']"> <a class="postuseravatarlink" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}"> <vb:if condition="$post.avatarurl"> <img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" /> <vb:else /> <img src="{vb:stylevar imgdir_misc}/unknown.gif" /> </vb:if> </a> </vb:if> 5. copy and paste this in the very beginning of postbit the one in text file Code:
<vb:if condition = "THIS_SCRIPT == 'private'"> Code:
<vb:else /> 8. scroll to the very end of postbit_legacy template, copy and paste this Code:
</vb:if> Code:
Save the template. Enjoy Download No files for download. Screenshots |