Go Back   vBulletin Modification Discussions > Free vBulletin Modification Releases > vBulletin Add-ons
Home Register FAQ Members List Calendar Mark Forums Read
vBSEO Info Tags

About This Page: This is a discussion on Avatar/Image Reflection Effect within the vBulletin Add-ons forums, part of the Free vBulletin Modification Releases category, at vBulletin Modification Discussions. Avatar/Image Reflection Effect (aka "AIRE") Version History 1.5 - (Upgraders, simply overwrite reflection.js in your forum's clientscript folder!) -Added ability to vary height and the opacity of the reflections -Fixed issue with Safari and landscape


Comment
 
LinkBack Release Tools
Tralala
Member
Tralala's Avatar

vBulletin Version: 3.5x
 

Mod Version: 1.5
 

Released: 05-30-2006
 

Installs: 240
 

Last Update: 05-29-2006
 

Rating: Release Rating: 2 votes, 5.00 average.
 
Supported
DB Changes
Installer Included
Uses Plugins
Manual Template Changes
Automated Template Changes
Code Changes
Additional Files
Is a Beta!
Release
Attached Images
File Type: jpg threadview_reflection.jpg (78.2 KB, 36 views)
File Type: jpg profile_reflection.jpg (32.1 KB, 23 views)
File Type: jpg image_reflection2.jpg (75.4 KB, 28 views)
File Type: jpg varyheightandopacity.jpg (33.3 KB, 16 views)
Attached Files
You must click install to download the files.

Release Tools
Avatar/Image Reflection Effect


This modification dynamically adds a subtle "reflection" effect underneath avatars and/or images on your forums. The reflection will automatically fade into your forum's background color, whatever it might be. You can also offer this effect as an option for your members' uploaded images via a BB Code.


This effect uses unobtrusive javascript to keep your code clean. It doesn't require additional server work. It works in all the major browsers - Internet Explorer 5.5+, Mozilla Firefox 1.5+, Opera 9+ and Safari. On older browsers, it'll degrade and your visitors won't notice a thing. Best of all, it's under 5KB!

"Simple. Unique. Classy. Thank you!"
- Forum admininstrator, JoeSixPack

"This mod gives my forum a slick, almost 3-D look!"
- Forum administrator, Tralala


Details:
1 file upload ("reflection.js") to forum's clientscript directory

1 template edit to "header" template

Optional edit: 1 for avatars in thread view ("postbit_legacy" template)
Optional edit: 1 for avatars in thread view ("postbit" template)
Optional edit: 1 for avatars in member profile ("MEMBERINFO" template)
Optional edit: 1 for profile picture in member profile ("MEMBERINFO" template)
Optional edit: 1 for avatars in Members List ("memberlist_resultsbit" template)
Optional edit: 1 for new BBcode (AdminCP -> Custom BB Codes -> BB Code Manager)
Optional edit, not recommended: 1 for ALL images posted inline via standard IMG BBCode ("includes/class_bbcode.php" file)

(All of the above optional edits involve simply inserting class="reflect" to the image HTML code, which adds the reflections. The code to replace for each edit is included in the .zip archive.)

See screenshots to see it in action...


My very first vBulletin hack! Kudos to the fine coders at vBulletin.org whose work inspires me.

Special thanks to Cow's Blog for the reflection.js code. Shared and distributed freely under MIT-style License.

Enjoy!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05-30-2006, 11:23 PM   #2 (permalink)
Member
 
Tralala's Avatar
 
Join Date: May 2006
Posts: 45
Tralala is on a distinguished road
Avatar/Image Reflection Effect (aka "AIRE")

Version History

1.5 - (Upgraders, simply overwrite reflection.js in your forum's clientscript folder!)
-Added ability to vary height and the opacity of the reflections
-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.

1.02
-added another optional edit, this time a BB Code available for your members to invoke on an image-per-image basis

1.01
-added one optional edit, for profile picture in member profile
-tweaked the display for avatars in member profile and Members List (removing 1px border to line up reflection better)

1.0
-initial release
Tralala is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-30-2006, 11:46 PM   #3 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,237
Code Monkey is on a distinguished road
Cool beans. Thanks for the submission.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-01-2006, 12:24 AM   #4 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
Send a message via ICQ to Eric Send a message via MSN to Eric
Installed it..
Though the modifications in template were not identical in my style, so I had to copy out the part needed to add the reflect and add it in the part similar of my style, and it works nice
So for others, if I could, you can
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-14-2006, 02:25 AM   #5 (permalink)
Member
 
Black Cobra's Avatar
 
Join Date: Oct 2006
Posts: 47
Black Cobra is on a distinguished road
Send a message via MSN to Black Cobra
looks good, soon as I get 5 posts I will install..
Black Cobra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-12-2006, 02:25 PM   #6 (permalink)
Junior Member
 
Join Date: Oct 2006
Posts: 6
testebr is on a distinguished road
Hmmm very nice effect
testebr is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-12-2006, 03:47 PM   #7 (permalink)
Junior Member
 
Join Date: Nov 2006
Posts: 10
twitch is on a distinguished road
nice work, very cool
twitch is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-17-2006, 08:53 PM   #8 (permalink)
Senior Member
 
G_Man's Avatar
 
Join Date: Oct 2006
Posts: 475
G_Man is on a distinguished road
Wicked...

Thanks for this. I've just too much 'junk' on After Seppuku to add this, but knew I was gonna use it on my new forum!!

G_Man is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-19-2006, 11:44 AM   #9 (permalink)
Junior Member
 
Join Date: Nov 2006
Posts: 5
Senhor Meursault is on a distinguished road
Sorry this was my first reply in this forum and i'm forget that you don't speak my language.

I have said that the mod seens to be usefull. And that i'll try to install in my board. And finally i said Thanks for Share this with us.

(now is it ok eric?)

Last edited by Senhor Meursault : 11-19-2006 at 04:06 PM.
Senhor Meursault is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-19-2006, 12:26 PM   #10 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
Send a message via ICQ to Eric Send a message via MSN to Eric
mind to try and translate to english please ? For what I can make of it you think it is excessive ?
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-19-2006, 06:23 PM   #11 (permalink)
Senior Member
 
Loco's Avatar
 
Join Date: Aug 2006
Location: Kansas
Posts: 268
Loco is on a distinguished road
very cool thanks for sharing it.. I clicked install but haven't set it up anywhere yet

I have a question, what happens on animated avatars ?
Loco is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-19-2006, 07:15 PM   #12 (permalink)
Senior Member
 
G_Man's Avatar
 
Join Date: Oct 2006
Posts: 475
G_Man is on a distinguished road
Quote:
Originally Posted by Loco View Post
very cool thanks for sharing it.. I clicked install but haven't set it up anywhere yet

I have a question, what happens on animated avatars ?
You can see it in action over on my new forum. I love it!!! Way cool.
G_Man is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-28-2006, 03:49 AM   #13 (permalink)
Junior Member
 
Join Date: Nov 2006
Posts: 2
andybond is on a distinguished road
Cool beans chap. Thanks for the effort of creating and sharing.
andybond is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-12-2006, 09:30 AM   #14 (permalink)
Junior Member
 
Join Date: Dec 2006
Posts: 1
kuringa is on a distinguished road
Thanx For Mods
kuringa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-12-2006, 01:00 PM   #15 (permalink)
joh
Junior Member
 
Join Date: Dec 2006
Posts: 26
joh is on a distinguished road
this would look great on my site.
let me push the limits a bit. is it passable to use this code with videos? It would be kind of cool. My site deals with the polishing of natural stone. I think it would look great, it would look as if it is on a granite table.
joh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-12-2006, 02:03 PM   #16 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
Send a message via ICQ to Eric Send a message via MSN to Eric
indeed, that would be nice, no clue it works, why not just install it and test ... we'll all know how far the limit is
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-12-2006, 02:09 PM   #17 (permalink)
joh
Junior Member
 
Join Date: Dec 2006
Posts: 26
joh is on a distinguished road
I would if i knew how. once it say edit template, i leave that stuff to loco
joh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-19-2006, 10:10 PM   #18 (permalink)
Junior Member
 
Join Date: Dec 2006
Posts: 12
Magnumutz is on a distinguished road
My avatar would look so cool with this installed
Magnumutz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-20-2006, 12:21 AM   #19 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,237
Code Monkey is on a distinguished road
What avatar?
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-20-2006, 07:43 PM   #20 (permalink)
Junior Member
 
Join Date: Dec 2006
Posts: 12
Ghostrider12 is on a distinguished road
It looks alright. Hopefully it will be. When I get enough posts I will install for sure.
Ghostrider12 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-24-2006, 07:55 PM   #21 (permalink)
Banned
 
Asko's Avatar
 
Join Date: Dec 2006
Location: Zagreb
Posts: 5
Asko is on a distinguished road
Send a message via Skype™ to Asko
Hi.
Can please somebody help me implement "reflect" to my vBulletin forum. I hope it works with avatars too.
I'm just a gig...beginer. Somebody, please?

File is in the right directory, but what template should I edit, I didn't get it. How, I know, but what and where? It's not clear to me. thx
Asko is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-27-2006, 02:16 AM   #22 (permalink)
Member
 
Black Cobra's Avatar
 
Join Date: Oct 2006
Posts: 47
Black Cobra is on a distinguished road
Send a message via MSN to Black Cobra
I have added it in, looks good..
Black Cobra is offline