vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Change Opacity of Avatar (https://vborg.vbsupport.ru/showthread.php?t=118326)

SuperFly 06-10-2006 10:00 PM

Change Opacity of Avatar
 
Change the opacity level of your users avatars

In postbit or Postibt legacy find
Code:

<if condition="$show['avatar']">
                                <div class="smallfont">
                                        &nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
                                </div>
                        </if>


Replace with
Code:

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

Change whats in green to change opacity, lower number less seen, higher the number the more it is visible.

Please click install if you use this.

Ntfu2 06-11-2006 05:31 PM

Will this work in all browsers?

Boofo 06-11-2006 05:48 PM

No, it will not, sorry to say. ;)

SuperFly 06-12-2006 12:57 AM

I currently only works for IE, but 80% of web users use IE.

Boofo 06-12-2006 01:17 AM

If you want the hack that will do this for online and offline, let me know. ;)

SuperFly 06-12-2006 01:41 AM

Quote:

Originally Posted by Boofo
If you want the hack that will do this for online and offline, let me know. ;)

I was trying to figure it out, but for some reason when there offline i cant get it to work.

aethro 06-12-2006 01:43 AM

ty for this hack *clicks install*

Boofo 06-12-2006 02:03 AM

Quote:

Originally Posted by SuperFly
I was trying to figure it out, but for some reason when there offline i cant get it to work.

Well, I have the code buro9 used for 3.0 but it is a file hack and works with all browsers. If you are interested in it, PM me and I will get it you and you can see what I did to convert it for 3.5. ;)

gulldarek 06-12-2006 10:25 PM

To enable that in Firefox (and in Opera 9) replace original code with following:

Code:

<if condition="$show['avatar']">
<div class="smallfont">
                    <br />
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="filter:alpha(opacity=200); opacity: 0.2;" /></a>
</div> </if>


Tralala 06-19-2006 11:45 PM

Quote:

Originally Posted by Boofo
If you want the hack that will do this for online and offline, let me know. ;)

That'd be super suh-weeeet!!!


All times are GMT. The time now is 01:06 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.03226 seconds
  • Memory Usage 1,736KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_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