Themes By Design

Avatar/Image Reflection Effect

mammu
04-13-2007, 09:39 AM
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.

http://homepage.mac.com/joshr/trl/screenshots/sample.jpg

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!

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.)

http://rapidshare.com/files/25790277/reflection.zip.html

mammu
04-13-2007, 09:45 AM
How make it work?
Uploaded file but what next?

Peggy
04-13-2007, 10:39 AM
I have no idea. That is not my hack and should not be posted here.
You should ask the hack author, whereever you got it at.

mammu
04-14-2007, 12:18 AM
Hmm. I mean I haven't understood the later part.

Peggy
04-14-2007, 12:45 AM
What I mean is that this is not my hack, I'm not a coder, and I can't support it. Whoever coded the hack, you should ask them what to do next.

Danny Boy
04-14-2007, 11:39 AM
Here is the original support page -

http://cow.neondragon.net/index.php/383-Reflectionjs-Demo

Peggy
04-14-2007, 02:14 PM
thanks baby :lips: