The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
The new Online/Offline avatar?s opacity Details »» | |||||||||||||||||||||||||
The new Online/Offline avatar?s opacity
************************************ this is working on vb 3.6.8 must work in all vbulletin versions Works on Firefox and IE, i dont have another browser you can tell me if is working in others remenber if you like this mod please click Install ************************************ the first idea come from this mod Avatar's opacity according to user's status (online/offline) ************************************************** *********** i try to istall this mod but in 3..6.8 is not working an then i try to do something diferent but the same idea first of all you need to make a custom css go to your admincp => styles & templates => main css => aditional css and add in the end. Code:
.fade img { filter:progid:DXImageTransform.Microsoft.Alpha(opacity=10); -moz-opacity: 0.1; opacity: .10; -khtml-opacity: 0.1; } .fade:hover img { filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100); -moz-opacity: 1; opacity: 1; -khtml-opacity: 1; } the next step you need to edit 4 templates
Code:
<if condition="$onlinestatus==0"> class="fade"</if> <if condition="$onlinestatus==1"></if> <if condition="$onlinestatus==2"> class="fade"</if> go to you posbit template search for Code:
$post[onlinestatus] Code:
<!--$userinfo[onlinestatus]--> Code:
<a href="member.php?$session[sessionurl]u=$post[userid]"> Code:
<a $post[onlinestatus] href="member.php?$session[sessionurl]u=$post[userid]"> find Code:
$post[onlinestatus] Code:
<!--$post[onlinestatus] --> Code:
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" Code:
<a $post[onlinestatus] href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" in MEMBERINFO find Code:
$userinfo[onlinestatus] Code:
<!--$userinfo[onlinestatus]--> find Code:
<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" /> remplace Code:
<span $post[onlinestatus]><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" /></span> on the zip file is a xml product to make the memberlist and forum leaders and the instruccion too. you need to import via admin cp=> plugins & products => add new product now look your board and enjoy if you see the screen shot you will understand this better i hope you like it Screenshot dont forget to ckick Install Supporters / CoAuthors Show Your Support
|
Comments |
#12
|
||||
|
||||
the info indicated is not found in the postbit_legacy template for 3.6.8
|
#13
|
||||
|
||||
So it means that doesn't work with 3.6.8 or i must to edit something else on the templates?
|
#14
|
||||
|
||||
Quote:
i made a few changes in your postbit and postbit_legacy try this |
#15
|
||||
|
||||
GREAT!!!!, thanks man for your fast and usefull help. Nice mod and nice person.-
Thanks again |
#16
|
||||
|
||||
Nice hack but more modifications
|
#17
|
|||
|
|||
Works great on 3.6.8. Install.
|
#18
|
|||
|
|||
I just found out that postbit_onlinestatus make problem in forum leaders
Code:
<if condition="$onlinestatus==0"> class="fade"</if> <if condition="$onlinestatus==1"></if> <if condition="$onlinestatus==2"> class="fade"</if> |
#19
|
||||
|
||||
Quote:
edit: i upload a xml to fix that download the zip file and only run de product and upload the image and also give to the memberlist the opacity opction |
#20
|
|||
|
|||
Memberlist is now ok,but forum leaders still have problem.
|
#21
|
|||
|
|||
Salü,
i have a error on the Staffside... See Picture... greetings Indy |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|