The Arcive of vBulletin Modifications Site. |
|
Image ranks in postbit Details »»
|
|||||||||||||||||||||||||
Hi everyone,
A while ago i noticed that vbulletin doesn't have it's own rank system so i decided to create one myself. This hack will show you how to add image ranks to your postbit. Installing: - In your admin cp go to styles and templates. - Choose your skin and go edit template. - Scroll down to postbit template and either click on postbit or postbit legacy. It doesn't matter which one you choose. - Search for this bit of code, Code:
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>
If you want to add more just copy and paste the text and don't forget to add an extra </if> at the end. Code:
<if condition="($post[displaygroupid]== 6)"> <img src="http://www.photoshack.com/albums/userpics/16875/admin.gif" <else /> <if condition="($post[displaygroupid]== 11)"> <img src="http://www.photoshack.com/albums/userpics/16875/premium.gif" <else /> <if condition="($post[displaygroupid]== 7)"> <img src="http://www.photoshack.com/albums/userpics/16875/moderator.gif" <else /> <if condition="($post[displaygroupid]== 5)"> <img src="http://www.photoshack.com/albums/userpics/16875/gmod.gif" <else /> $post[usertitle] </if> </if> </if> </if> This hack works with all versions of vbulletin. If you have any questions just ask and i will help you. ~kentona~ Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Quote:
|
|
#3
|
|||
|
|||
|
Hehe
|
|
#4
|
||||
|
||||
|
Just.... wow.
|
|
#5
|
||||
|
||||
|
*slowly backing out of here as to not cause WW9*
|
|
#6
|
|||
|
|||
|
How is this better than VB's? :O
|
|
#7
|
|||
|
|||
|
great code !
i did change it a bit though, before it would show up two titles now add this code as instructed above! Code:
<if condition="($post[displaygroupid]== 6)"> <img src="http://www.photoshack.com/albums/userpics/16875/admin.gif" <else /> <if condition="($post[displaygroupid]== 11)"> <img src="http://www.photoshack.com/albums/userpics/16875/premium.gif" <else /> <if condition="($post[displaygroupid]== 7)"> <img src="http://www.photoshack.com/albums/userpics/16875/moderator.gif" <else /> <if condition="($post[displaygroupid]== 5)"> <img src="http://www.photoshack.com/albums/userpics/16875/gmod.gif" <else /> <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if> </if> </if> </if> </if> Code:
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
|
|
#8
|
||||
|
||||
|
coool
|
|
#9
|
||||
|
||||
|
Umm... what the heck?
|
|
#10
|
|||
|
|||
|
Anyone know if this works on vb4? Or a similar mod to do that?
|
![]() |
|
|