Back to vBulletin 4.x Template Modifications

postbit in PM for fixed styles
Mod Version: 1.00, by zascok

vB Version: 4.2.0 Rating: (0 vote - 0 average) Installs: 8
Released: 04 Aug 2012 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code Translations  

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>
and get rid of it or comment it out

5. copy and paste this in the very beginning of postbit the one in text file

Code:
<vb:if condition = "THIS_SCRIPT == 'private'">
6. copy and paste this in the very end of it
Code:
<vb:else />
7. Now copy everything from text editor on the top of postbit_legacy template

8. scroll to the very end of postbit_legacy template, copy and paste this
Code:
</vb:if>
9.
Code:
Save the template. Enjoy
suitable for any 4.x.x for the moment

Download

No files for download.

Screenshots

Click image for larger version
Name:	xyFc1A198U.jpg
Views:	339
Size:	120.1 KB
ID:	140317   Click image for larger version
Name:	13xXo3r4qd.jpg
Views:	369
Size:	161.2 KB
ID:	140318   Click image for larger version
Name:	b3YG8x5z3y.jpg
Views:	353
Size:	175.4 KB
ID:	140319   Click image for larger version
Name:	Untitled-4.jpg
Views:	233
Size:	106.4 KB
ID:	140320  


vblts.ru supports vBulletin®, 2022-2024