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
  #12  
Old 09-09-2007, 12:49 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the info indicated is not found in the postbit_legacy template for 3.6.8
Reply With Quote
  #13  
Old 09-09-2007, 01:15 PM
masterweb's Avatar
masterweb masterweb is offline
 
Join Date: Aug 2007
Location: Italy
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yoyoyoyo View Post
the info indicated is not found in the postbit_legacy template for 3.6.8
So it means that doesn't work with 3.6.8 or i must to edit something else on the templates?
Reply With Quote
  #14  
Old 09-09-2007, 03:39 PM
WarLion's Avatar
WarLion WarLion is offline
 
Join Date: Jun 2006
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by masterweb View Post
So it means that doesn't work with 3.6.8 or i must to edit something else on the templates?
it work on 3.6.8 cuz i have it
i made a few changes in your postbit and postbit_legacy try this
Reply With Quote
  #15  
Old 09-09-2007, 04:15 PM
masterweb's Avatar
masterweb masterweb is offline
 
Join Date: Aug 2007
Location: Italy
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

GREAT!!!!, thanks man for your fast and usefull help. Nice mod and nice person.-

Thanks again
Reply With Quote
  #16  
Old 09-09-2007, 06:07 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack but more modifications
Reply With Quote
  #17  
Old 09-09-2007, 06:46 PM
citroenar citroenar is offline
 
Join Date: Jan 2007
Location: Serbia
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great on 3.6.8. Install.
Reply With Quote
  #18  
Old 09-09-2007, 08:29 PM
citroenar citroenar is offline
 
Join Date: Jan 2007
Location: Serbia
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
See picture
Reply With Quote
  #19  
Old 09-10-2007, 12:34 AM
WarLion's Avatar
WarLion WarLion is offline
 
Join Date: Jun 2006
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by citroenar View Post
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>
See picture
o thats true leet me chek that and find a fix it

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
Reply With Quote
  #20  
Old 09-10-2007, 09:52 AM
citroenar citroenar is offline
 
Join Date: Jan 2007
Location: Serbia
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Memberlist is now ok,but forum leaders still have problem.
Reply With Quote
  #21  
Old 09-10-2007, 11:46 AM
MDK-Indy MDK-Indy is offline
 
Join Date: Mar 2007
Location: Germany
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Salü,

i have a error on the Staffside...

See Picture...

greetings Indy
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 11:20 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.04701 seconds
  • Memory Usage 2,320KB
  • Queries Executed 26 (?)
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
  • (16)bbcode_code
  • (3)bbcode_quote
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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