Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

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
  #2  
Old 09-03-2007, 03:13 AM
Pc 1203 Pc 1203 is offline
 
Join Date: May 2007
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool release.

- Pc1203
Reply With Quote
  #3  
Old 09-03-2007, 04:19 AM
rayphua rayphua is offline
 
Join Date: Jul 2007
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't work, I see alot of fade remarks at the avatar area now in postbit.
Reply With Quote
  #4  
Old 09-03-2007, 04:30 AM
WarLion's Avatar
WarLion WarLion is offline
 
Join Date: Jun 2006
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try changing the opacity values

Code:
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=10);
-moz-opacity: 0.1;
opacity: .10;
-khtml-opacity: 0.1;
tell me wich vb do you have

i guess try to find $post[onlinestatus] on your postbit and legacy
and delete, not the one you just add
Reply With Quote
  #5  
Old 09-03-2007, 07:22 AM
rayphua rayphua is offline
 
Join Date: Jul 2007
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using 3.6.7 PL1. Thanks.
Reply With Quote
  #6  
Old 09-03-2007, 06:37 PM
WarLion's Avatar
WarLion WarLion is offline
 
Join Date: Jun 2006
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i make a few changes for member and the correct change for postbit_legacy
Reply With Quote
  #7  
Old 09-03-2007, 07:26 PM
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Location: Romania
Posts: 731
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm guessing this is another IE only effect... Am I right?
Reply With Quote
  #8  
Old 09-03-2007, 07:35 PM
WarLion's Avatar
WarLion WarLion is offline
 
Join Date: Jun 2006
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is working on firefox , and ie.
i didnt try with another browser i only use firefox and i have ie7 but this is CSS is not java
Reply With Quote
  #9  
Old 09-09-2007, 09:02 AM
masterweb's Avatar
masterweb masterweb is offline
 
Join Date: Aug 2007
Location: Italy
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed but doesn't work. i made all template's modifications but it doesn't work on my site (www.onlinewebmarket.net). Pls help
Reply With Quote
  #10  
Old 09-09-2007, 09:16 AM
masterweb's Avatar
masterweb masterweb is offline
 
Join Date: Aug 2007
Location: Italy
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Attached here you have the templates. Pls help me
Reply With Quote
Reply


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 07:21 PM.


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.11579 seconds
  • Memory Usage 2,305KB
  • Queries Executed 24 (?)
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
  • (15)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_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