vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Avatar/Image Reflection Effect (https://vborg.vbsupport.ru/showthread.php?t=114726)

phkk 05-14-2006 10:18 PM

Nice

icare 05-15-2006 12:59 AM

I think my forum uses postbit not postbit legacy.. ?

i tried editing postbit legacy but I didn't work in in thread..
please help

Tralala 05-15-2006 01:35 AM

Quote:

Originally Posted by icare
I think my forum uses postbit not postbit legacy.. ?

i tried editing postbit legacy but I didn't work in in thread..
please help

No problem icare, I will update the instructions shortly for use in postbit.

icare 05-15-2006 04:25 AM

Quote:

Originally Posted by Tralala
No problem icare, I will update the instructions shortly for use in postbit.


Thanks! You are so sweet!:banana:

Tralala 05-15-2006 05:17 AM

icare:

To add the reflection effect underneath avatars in thread view, FIND in "postbit" template:

Code:

                        <if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
                        <td nowrap="nowrap">

REPLACE THAT WITH:
Code:

                        <if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" class="reflect" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
                        <td nowrap="nowrap">


Tralala 05-28-2006 09:49 PM

Updated to version 1.5

-Added ability to vary height and the opacity of the reflections
http://homepage.mac.com/joshr/trl/re...andopacity.jpg

-Fixed issue with Safari and landscape images
-Made reflection of images with specified dimensions better
-Removed wholeimage class
-Added scriptable reflections - Reflection.add(), Reflection.remove() - allowing for interactivity and flexibility. Reflections can respond to user actions (e.g. changing the reflection opacity when the image is hovered over or clicked.) For more information, see info and files at http://cow.neondragon.net/stuff/reflection/
-Added instructions for postbit template.


To upgrade, simply overwrite reflection.js in your forum's clientscript folder.

kall 05-29-2006 04:53 AM

The jaggies are still visible using Firefox..

Tralala 05-29-2006 05:02 AM

Quote:

Originally Posted by kall
The jaggies are still visible using Firefox..

Yes, as mentioned in the readme.txt, reflections of curved / transparent GIFs do not render well in Firefox 1.5. It's a bug in Firefox's canvas support, and there's not much I can do about it.

kall 05-29-2006 05:15 AM

Your update didn't mention to read the readme. ;)

(I see it there now.. ahh well, waiting on Mozilla to release a fixed one.) :)

futuredood 06-22-2006 09:46 AM

VERY nice hack. simple and easy to install, and hardly any server load. one thing you can do is clean up the readme.txt file, for some reason it's really messy (bunch of square symbols).

also, how do you go about changing the opacity and height settings?


All times are GMT. The time now is 03:20 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.01213 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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