Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
The new Online/Offline avatar?s opacity Details »»
The new Online/Offline avatar?s opacity
Version: 1.2, by WarLion WarLion is offline
Developer Last Online: Jul 2018 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.8 Rating:
Released: 09-02-2007 Last Update: 09-09-2007 Installs: 14
Template Edits
 
No support by the author.

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;
}
you can play with the opacity changing the red ones

the next step
you need to edit 4 templates
  • postbit_onlinestatus
  • postbit
  • postbit_legacy
  • MEMBERINFO
files to upload
  • one xml product
  • one image
go to your posbit_onlinestatus and change everithing whit this

Code:
<if condition="$onlinestatus==0"> class="fade"</if>
<if condition="$onlinestatus==1"></if>
<if condition="$onlinestatus==2"> class="fade"</if>
and save it

go to you posbit template


search for
Code:
$post[onlinestatus]
remplace with
Code:
<!--$userinfo[onlinestatus]-->
find this
Code:
<a href="member.php?$session[sessionurl]u=$post[userid]">
and remplace whit this
Code:
<a $post[onlinestatus] href="member.php?$session[sessionurl]u=$post[userid]">
on postbit_legacy template
find
Code:
$post[onlinestatus]
and remplace with
Code:
<!--$post[onlinestatus] -->
find
Code:
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]"
and remplace whit this
Code:
<a $post[onlinestatus]  href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]"

in MEMBERINFO

find
Code:
$userinfo[onlinestatus]
remplace with
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>
save it

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 11-23-2007, 03:13 AM
MDK-Indy MDK-Indy is offline
 
Join Date: Mar 2007
Location: Germany
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Salü,

how i make the effect for the Avatar on the vBulletin project Tools posts?

greeting Indy
Reply With Quote
  #33  
Old 05-02-2008, 08:52 AM
justchil justchil is offline
 
Join Date: Sep 2005
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone tried this on 3.7? I had this mod on my 3.6.9 working but I'm not even sure whos mod/template edit I used now
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:42 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09323 seconds
  • Memory Usage 2,221KB
  • Queries Executed 20 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (14)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete