The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
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 |
#22
|
|||
|
|||
![]()
Tanks for your hack, but I would that the icon status is visible... how do I do?
Excuse me for my bad english but I'am italian. Tanks! |
#23
|
||||
|
||||
![]() Quote:
when a was making the xml i have this problem sorry for that try overwrite this xml is the same but i fix one more time that sorry for that |
#24
|
||||
|
||||
![]()
but where do you like the icon status visible in wich template?
|
#25
|
|||
|
|||
![]()
Thanks for the fast Bugfix...
But i have still another error. I have install the "Chief First Post - Every Page - 3.6.x" https://vborg.vbsupport.ru/showthread.php?t=156141 See Picture... greeting Indy |
#26
|
|||
|
|||
![]()
For me is ok now. thanks
|
#27
|
||||
|
||||
![]() Quote:
this templates modifications is only for those that install the "Chief First Post - Every Page - 3.6.x" https://vborg.vbsupport.ru/showthread.php?t=156141 go to teemplates and change this postbit_article find Code:
$post[onlinestatus] Code:
<!--$post[onlinestatus] --> Code:
<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> Code:
<a $post[onlinestatus] 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> postbit_flipped find Code:
$post[onlinestatus] Code:
<!--$post[onlinestatus]--> Code:
<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> Code:
<a $post[onlinestatus] 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> |
#28
|
|||
|
|||
![]()
Thanks for Fix...
Now all errors are eliminated i think ![]() greeting Indy |
#29
|
|||
|
|||
![]()
In postbit. On the right of the username...
|
#30
|
||||
|
||||
![]() |
#31
|
|||
|
|||
![]()
Excuse me... I don't understood... I would set to visible the iconstatus on the right of username... how doI do?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|