vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Avatar Opacity For Online/Offline Members (https://vborg.vbsupport.ru/showthread.php?t=63940)

Loyalty4Life 04-16-2004 02:55 AM

Avatar Opacity For Online/Offline Members
 
I think there is a vB2 hack that shows a person's avatar slightly shaded if the person is offline. But if the person's online, his/her avatar is at 100% opacity.

Can this be done for vB3? Thoughts on the idea?

Loyalty4Life 04-16-2004 09:40 PM

Anyone?

Loyalty4Life 04-18-2004 03:25 AM

bump

Zachery 04-18-2004 03:26 AM

its a template mod with some code that cna be found at vBT :)

lasto 04-18-2004 05:56 AM

u got a direct link Zach ?

Im disabled :)

Loyalty4Life 04-18-2004 06:58 AM

I didn't find the link on vBT. Do you know where it is?

lasto 04-18-2004 07:21 AM

I looked but i never seen it either - spent 27m and 33 secs looking then gave up

Loyalty4Life 04-18-2004 11:11 PM

Zach?

TouchingVirus 04-19-2004 12:11 AM

From vbulletintemplates.com ...using search "Opacity" in all forums..and did a little quick writeup..

Code:

                <if condition="$onlinestatus==0">
                        <if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="filter:alpha(opacity=10) /></a></td></if>
                        <else />
                        <if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
                </if>

For some reason, it wont work..but the opacity bit works..figure out the if statements and your away :D

djnoz 04-19-2004 09:09 AM

Oooh, I think I'm gonna implement this one. What a brilliant idea :D

Hmm, I expect that the variable $onlinestatus might be only specific for the template postbit_onlinestatus, i'll try and figure this out when I get home.


All times are GMT. The time now is 11:00 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01100 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete