The Arcive of vBulletin Modifications Site. |
|
Glowing Usernames in postbit Details »»
|
|||||||||||||||||||||||||
Adapted from here
**NO SUPPORT GIVEN** **USE AT YOUR OWN RISK** ======= This has been tested, and works on VB3 RC4 Works on Internet Explorer based browsers does NOT work on Mozilla Firefox (at least not for me) not sure about other browsers. ======= Enjoy -DF Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
:tired:
in vb3 you do not need to hack the functions_showthread.php use conditions directly in the templates postbit eg: HTML Code:
<if condition="$post['usergroupid'] == 6"> <table style="filter:glow(color=red, strength=6)"><tr><td><font class="bigusername" color="white"><b>$post[username]</b></font></td></tr></table> <else /> $post[musername] </if> ![]() eg: HTML Code:
<if condition="$post['usergroupid'] == 6"> <table style="filter:glow(color=$bbuserinfo['field29'], strength=6)"><tr><td><font class="bigusername" color="$bbuserinfo['field30']"><b>$post[username]</b></font></td></tr></table> <else /> $post[musername] </if> |
|
#3
|
|||
|
|||
|
as I said it was adapted from the VB2 version which i had used, so i had just taken it directly from my VB2 board, and changed it to work.
atm I'm just doing quick conversion for my old VB2 hacks to VB3 for my members so i'm pretty much following the origonal VB2 instructions but changing the code for VB3 ye your way is more efficient, but my way works - when i come to upgrade my board again I will convert it to use your method. I would do it now, but i got some other hacks that i need to finish converting |
|
#4
|
||||
|
||||
|
do you have a screenshot of the glowing?
|
|
#5
|
|||
|
|||
|
Attatched Screenshot showing Blue Glow, it shows the same apart from colour for all the other glows.
|
|
#6
|
||||
|
||||
|
Is there a way that I can only have people with a reputation over 50,000 have the glow?
|
|
#7
|
|||
|
|||
|
Or perhaps a way to limit it to a certain group?
Thanks, S |
|
#8
|
|||
|
|||
|
Sonic625 it is limited per group, you choose which groups have what coloured glow.
rinkrat sure, just change teh if statement to check the reputation rather than the usergroupid - I don't ahve reputation enabled on my forum so i dunno what the reputation variable is. |
|
#9
|
||||
|
||||
|
i take, thank
|
|
#10
|
||||
|
||||
|
Souli,
Could you post EXACTLY what to do there please!!! im a Hack noob and have no idea where to put those lines of code on my postbit template... Thank man
|
![]() |
|
|