The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Avatar/Image Reflection Effect Details »» | |||||||||||||||||||||||||
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!! Show Your Support
|
Comments |
#152
|
|||
|
|||
Hi you guys.
I have installed this hack on my forum, and it looks realy nice But i have a little problem, when the forum loads it freeze by 3 seconds and then after the 3 seconds it works fine. I have commented the code for the script in header template , and the forum works normaly, but if i put the script in the header template it freeze by 3 seconds. What it's the problem, anyone knows? |
#153
|
||||
|
||||
Quote:
|
#154
|
||||
|
||||
Quote:
What browser/version/platform are you using? Does the same 3 second delay happen when you try a different browser? |
#155
|
|||
|
|||
I have read all posts here and results are various, for some it worked this hack for some not.
I have installed it under two skins (one bright and one dark) and for one moment I could see the reflections. Then it was just not there and nothing was changed. I noticed that once I log out (as admin) and go see some threads the reflexion is back and every time with no problem! As soon as log back in, the reflexion disappears. I asked one moderator to check and it was the same, when logged did not see it and when logged out the reflexion was there. I followed the installation to the letter for avatars in thread view (postbit template and header). Any idea why this problem? |
#156
|
|||
|
|||
hi, all
is it possible to make a refleciton on header image ? i have vb 3.6.8 and this header template PHP Code:
regards Termi |
#157
|
|||
|
|||
Has anyone been able to make this??
|
#158
|
|||
|
|||
Can we get the installation instructions revised for the latest versions of vbulletin? Some of the coding has changed.
I managed to figure out postbit legacy for those of you interested... Code:
Step 3 (optional, for forums using postbit_legacy:) To add the reflection effect underneath avatars in thread view, FIND in "postbit_legacy" template: <div class="smallfont"> <br /><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> </div> REPLACE THAT WITH: <div class="smallfont"> <br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] class="reflect" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a> </div> |
#159
|
||||
|
||||
whould you please port it for vB 3.7.x (3.7.0) ??
or it's already created somewhere here?? |
#160
|
||||
|
||||
Made my day mate Thanks.
|
#161
|
||||
|
||||
Easy to add, works great. thanks.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|