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)

Flygye 12-02-2007 10:03 AM

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?

Tralala 12-03-2007 03:03 AM

Quote:

Originally Posted by Tralala (Post 1392034)
Thanks for the kind words.

I've confirmed this is a bug with Firefox 2.0.0.10. There's not much I can do to address it, I suspect it'll be fixed by them in 2.0.0.11.

(It's working fine in a newer Mozilla nightly build: http://ftp.mozilla.org/pub/mozilla.o...14-mozilla1.8/)

So... hang tight. :)

As predicted, this is now working again, with the new release of Firefox 2.0.0.11.

Tralala 12-03-2007 03:06 AM

Quote:

Originally Posted by Flygye (Post 1393431)
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?

I've heard this issue come up before and I believe it's older-browser-specific. That is, whatever browser you are in is struggling to run the javascript that renders the reflection.

What browser/version/platform are you using? Does the same 3 second delay happen when you try a different browser?

DigitALL2 12-29-2007 06:17 PM

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? :confused:

Termi 01-04-2008 06:58 PM

hi, all

is it possible to make a refleciton on header image ?

i have vb 3.6.8

and this header template ;)

PHP Code:

<META http-equiv=Page-Exit content=BlendTrans(Duration=0)>
<
META http-equiv=Page-Enter content=BlendTrans(Duration=0)>
<!-- 
Start vBGuides Season -->
<if 
condition="$vboptions[guidesvbs_onoff] == 1">
<if 
condition="$vboptions[guidesvbs_area] == 0">
<
script type="text/javascript" src="season/$vboptions[guidesvbs_type].js"></script>
</if></if>
<!-- 
End vBGuides Season -->
<
script type="text/javascript">
<!--
function 
openRadioAndTV(){
radioAndTVWindow window.open('radioandtv.php''radioandtv''directories=no,height=500,width=700,location=no,menubar=no,resizable=yes,status=no,scrollbars=yes,toolbar=no');
}
//-->
</script>

<!-- 
logo -->
<
a name="top"></a>
<
table border="0" width="$stylevar[outertablewidth]cellpadding="0" cellspacing="0" align="center">
 <
tr>
  <
td><img src="$stylevar[imgdir_misc]/logo.gif" border="0" alt="" /></td>
 </
tr>
</
table>
<!-- /
logo -->
<
table border="0" width="$stylevar[outertablewidth]cellpadding="0" cellspacing="0" align="center">
 <
tr>
  <
td><a href="index.php"><img src="$stylevar[imgdir_misc]/homepage_nav.gif" border="0" alt="" /></a></td>
<if 
condition="$show['member']">
  <
td><a href="usercp.php"><img src="$stylevar[imgdir_misc]/youraccount_nav.gif" border="0" alt="" /></a></td>
</if>
  <
td><a href="memberlist.php"><img src="$stylevar[imgdir_misc]/memberlist_nav.gif" border="0" alt="" /></a></td>
  <
td><a href="calendar.php"><img src="$stylevar[imgdir_misc]/calendar_nav.gif" border="0" alt="" /></a></td>
  <
td><a href="search.php"><img src="$stylevar[imgdir_misc]/search_nav.gif" border="0" alt="" /></a></td>
  <
td id="usercptools"><a href="$show[nojs_link]#usercptools"><img src="$stylevar[imgdir_misc]/quicklinks_nav.gif" border="0" alt="" /></a><script type="text/javascript"vbmenu_register("usercptools",true); </script></td>
  <
td><a href="faq.php"><img src="$stylevar[imgdir_misc]/faq_nav.gif" border="0" alt="" /></a></td>
  <
td width="100%"></td>
 </
tr>
</
table>

<
table border="0" width="$stylevar[outertablewidth]cellpadding="0" cellspacing="0" align="center">
 <
tr>
  <
td><img src="$stylevar[imgdir_misc]/extralinks.gif" border="0" alt="" /></td>
  <
td width="100%" style="padding-left:10px;">
<
a href="/forum.php" class="sublink">Forum</a>
<
a href="/halloffame.php" class="sublink">Halle der Champions</a>
<
a href="/gamemenue.php" class="sublink">Spielhalle</a>
<
a href="/guthaben.php" class="sublink">Bank</a>
<
a href="/credits.php" class="sublink">Kredit</a>
<
a href="javascript:openRadioAndTV()" class="sublink">TV und Radio</a>
  </
td>
 </
tr>
</
table>

<
table border="0" width="$stylevar[outertablewidth]cellpadding="0" cellspacing="0" align="center">
 <
tr>
  <
td><img src="$stylevar[imgdir_misc]/top-left.gif" border="0" alt="" /></td>
  <
td width="100%" style="background-image:url('blueevolution/misc/top-bg.gif'); background-repeat:repeat-x;"></td>
  <
td><img src="$stylevar[imgdir_misc]/top-right.gif" border="0" alt="" /></td>
 </
tr>
</
table>

<!-- 
content table -->
<
script type="text/javascript" src="clientscript/reflection.js"></script>
$spacer_open

$_phpinclude_output 

can you help me pls thanks

regards Termi

crakker56 02-26-2008 02:04 AM

Quote:

Originally Posted by Doc31 (Post 1220961)
Is there a way to make a check box in say the vb options page in the usercp to enable/disable this feature? :confused:

Has anyone been able to make this??

dancue 03-22-2008 08:57 PM

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">
                                        &nbsp;<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">

                                        &nbsp;<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>


ka81 06-19-2008 08:58 AM

whould you please port it for vB 3.7.x (3.7.0) ??
or it's already created somewhere here??

TimberFloorAu 07-26-2008 03:10 AM

Made my day mate Thanks.

http://www.yobromofo.com/forum/attac...ted_avatar.gif

columbusgeek 08-12-2008 02:38 AM

Easy to add, works great. thanks.


All times are GMT. The time now is 06:12 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.01211 seconds
  • Memory Usage 1,802KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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