Back to vBulletin 3.8 Template Modifications

User bar system
Mod Version: 1.00, by pein87

vB Version: 3.8.1 Rating: (0 vote - 0 average) Installs: 8
Released: 06 Feb 2009 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code  

This edit allows you to added user bars to your users postbit_legacy template under there signature. This one adds two new profile fields which will turn blank if someone picks both of the userbars. You can delete this option and the text I used for mine. Be sure to name your images just as you name them in in your profile fields.

To start make two new profile fields and make sure there both single selection menu. You can name them as you wont to and add you own fields or use my bleach or naruto userbars. In the options private field make sure it says no. In the option to make them searchable and on make viewable on memberslist put no.

In postbit_legacy template find:
PHP Code:
                __________________<br />
                
$post[signature]
            </
div>
        <!-- / 
sig -->
        </if> 
Add below for the no dual userbar add on.
PHP Code:
<if condition="$post[field25] AND $post[field28]">
<
br /><else />
<!-- 
start userbars -->
<if 
condition="$post[field25]">
<
br /><div style="text-align: center; border-top: 1px dashed gray;">[COLOR="Indigo"]Bleach Group[/COLOR]<br /><img src="images/misc/$post[field25].png" alt="rpg side" /></div>
<else />
<!-- /
end userbars -->
<!-- 
start userbars -->
<if 
condition="$post[field28]">
<
br /><div style="text-align: center; border-top: 1px dashed gray;">[COLOR="indigo"]Ninja Village[/COLOR]<br /><img src="images/misc/$post[field28].png" alt="rpg side" /></div>
</if></if></if>
<!-- /
end userbars --> 
If you dont care if they use both you can use this one.
PHP Code:
<br />
<!-- 
start userbars -->
<if 
condition="$post[field25]">
<
br /><div style="text-align: center; border-top: 1px dashed gray;">[COLOR="Indigo"]Bleach Group[/COLOR]<br /><img src="images/misc/$post[field25].png" alt="rpg side" /></div>
</if>
<!-- /
end userbars -->
<!-- 
start userbars -->
<if 
condition="$post[field28]">
<
br /><div style="text-align: center; border-top: 1px dashed gray;">[COLOR="indigo"]Ninja Village[/COLOR]<br /><img src="images/misc/$post[field28].png" alt="rpg side" /></div>
</if>
<!-- /
end userbars --> 
If you wont to add them to your profile as well open the memberinfo template.

Find in memberinfo template:
PHP Code:
                    <if condition="$prepared['usertitle']">
                        <
h2>$prepared[usertitle]</h2>
                    </if>
                </
td>
            </
tr>

            </
table
Next add one of these below that:
PHP Code:
<br />
<!-- 
start userbars -->
<if 
condition="$userinfo[field25]">
<
br /><div style="text-align: center; border-top: 1px dashed gray;">[COLOR="Indigo"]Bleach Group[/COLOR]<br /><img src="images/misc/$userinfo[field25].png" alt="rpg side" /></div>
</if>
<!-- /
end userbars -->
<!-- 
start userbars -->
<if 
condition="$userinfo[field28]">
<
br /><div style="text-align: center; border-top: 1px dashed gray;">[COLOR="indigo"]Ninja Village[/COLOR]<br /><img src="images/misc/$userinfo[field28].png" alt="rpg side" /></div>
</if>
<!-- /
end userbars --> 
Add this one for only one of the userbars to show:
PHP Code:
<if condition="$userinfo[field25] AND $userinfo[field28]">
<
br /><else />
<!-- 
start userbars -->
<if 
condition="$userinfo[field25]">
<
br /><div style="text-align: center; border-top: 1px dashed gray;">[COLOR="Indigo"]Bleach Group[/COLOR]<br /><img src="images/misc/$userinfo[field25].png" alt="rpg side" /></div>
<else />
<!-- /
end userbars -->
<!-- 
start userbars -->
<if 
condition="$userinfo[field28]">
<
br /><div style="text-align: center; border-top: 1px dashed gray;">[COLOR="indigo"]Ninja Village[/COLOR]<br /><img src="images/misc/$userinfo[field28].png" alt="rpg side" /></div>
</if></if></if>
<!-- /
end userbars --> 
There you go that concludes my edits hope you like click installed if you use this please.

http://www.vbulletin.org/forum/showthread.php?threadid=204469 Bleach userbars

Download

No files for download.

Screenshots

Click image for larger version
Name:	userbarspost.JPG
Views:	1641
Size:	78.3 KB
ID:	94262   Click image for larger version
Name:	userbarsprofile.JPG
Views:	1509
Size:	70.5 KB
ID:	94263  

Similar Mods

Show Thread Enhancements User Powered Moderation System Lite (Post Management System) Modification Graveyard
Buy/Sell/Trade User Rating System (aka eBay Style User Feedback Hack) vBulletin 2.x Full Releases
User Comment System vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024