The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Glossy avatars,profile pictures and attachment thumbnails Details »» | ||||||||||||||||||||||||||||
Glossy avatars,profile pictures and attachment thumbnails
Developer Last Online: Jun 2020
Description:
Glossy Avatar & Image Effects allows you to add glossy rounded corners (and also shading and shadow) to avatars and images on your forums. It uses unobtrusive javascript to keep your code clean. It works in all the major browsers - Mozilla Firefox 1.5+, Opera 9+, Safari and IE6+. This modification is a nice addition to all of you, who want your forums to have a nice Web2.0 effect. Installation: 1. Upload the attached glossy.js to your clientscript directory 2. In your header template, find: Code:
<!-- content table --> Code:
<script type="text/javascript" src="clientscript/glossy.js"></script> 3. In your postbit_legacy template, find Code:
<div class="smallfont"> <br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a> </div> Code:
<div class="smallfont"> <br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" class="glossy ibgcolor00aa00 igradient00aaaa horizontal noshadow" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a> </div> Note that you can alter the javascript classes to suit your needs. Quote:
v.1.01 added glossy effects for attachment thumbnails v.1.0 Initial release Credits for this modification go out to CVI Lab for the original javascript. I just made it to work for vBulletin Enjoy, Val. Show Your Support
|
Comments |
#2
|
||||
|
||||
Here are the additional changes for postbit template, memberprofile, memberlist and profile picture
In your postbit template, find Code:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if> Code:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" class="glossy ibgcolor00aa00 igradient00aaaa horizontal noshadow" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if> Code:
<td><img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td> Code:
<td><img src="$userinfo[avatarurl]" $userinfo[avatarsize] class="glossy ibgcolor00aa00 igradient00aaaa horizontal noshadow" alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" /></td> Code:
<if condition="$show['avatarcol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['avatar']"><img src="$avatarurl" border="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="4" /><else /> </if></td></if> Code:
<if condition="$show['avatarcol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['avatar']"><img src="$avatarurl" class="glossy ibgcolor00aa00 igradient00aaaa horizontal noshadow" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" /><else /> </if></td></if> Code:
<img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_picture]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /> Code:
<img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] class="cglossy ibgcolor00aa00 igradient00aaaa horizontal noshadow" alt="<phrase 1="$userinfo[username]">$vbphrase[xs_picture]</phrase>" /> Code:
class="thumbnail" Code:
class="thumbnail glossy ibgcolor00aa00 igradient00aaaa horizontal noshadow" |
#3
|
||||
|
||||
first post.. nice ... thanks
|
#4
|
|||
|
|||
nice mod .... installed
Ps: does this work 3.7.x ???? |
#5
|
||||
|
||||
works with animated gif?
|
#6
|
||||
|
||||
Believe me... this are great but .GIF animated is a Tradition!
|
#7
|
|||
|
|||
thanks
|
#8
|
||||
|
||||
Looks cool... But I would have placed the javascript call line in the headinclude template where most vbulletin javascript calls reside.
|
#9
|
||||
|
||||
Quote:
Believe me I tried to place in headinclude and it won't display these effects. Val. |
#10
|
||||
|
||||
Quote:
Nice work. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|