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)

Lord Kirken Mor 02-26-2007 04:14 AM

ok cool whats the difference between the edits for postbit & postbit_legacy?

Shazz 02-26-2007 04:27 AM

Quote:

Originally Posted by Lord Kirken Mor (Post 1190881)
ok cool whats the difference between the edits for postbit & postbit_legacy?

postbit=horizontal
Postbit_legacy = Verticle
depends which one you use

Lord Kirken Mor 03-02-2007 09:58 PM

Thanks, it's working now.

Panagioths 03-12-2007 04:52 PM

Quote:

Originally Posted by Panagioths (Post 1140382)
I have a custom theme called "Aria" and I can't find the <!-- content table --> that you mention at the installation. Any ideas how I can insert it in the template's header?

anyone? :confused:

Tralala 03-12-2007 09:08 PM

Just put that line at the very top of your template header, it should work there too. Let us know if not.

Lord Kirken Mor 04-01-2007 12:57 AM

how would I make this work for the Admincp?

Tralala 04-01-2007 01:55 AM

Quote:

Originally Posted by Lord Kirken Mor (Post 1217161)
how would I make this work for the Admincp?

What image in particular are you hoping to enhance in the AdminCP? And why? (Just curious)

Shazz 04-01-2007 01:58 AM

Quote:

Originally Posted by Tralala (Post 1217204)
What image in particular are you hoping to enhance in the AdminCP? And why? (Just curious)

LOL
Yes Im very curious too..
Theres only one image in the admincp and modcp I know of...

Lord Kirken Mor 04-01-2007 04:21 PM

well, the ACP logo of coarse, because i like the effect so much, I want to use it in other places too.

Tralala 04-01-2007 04:59 PM

Glad you like it. For static images like the ACP logo, you are better off rendering the effect in a graphic editor. (Or just use the reflection.js files and making it work in an "offline" web page, then take a screenshot.) Basically, save it as a GIF or JPEG with the reflection instead. That way you don't need to mess with changing the ACP or invoking javascript on that page.

The point of this mod is that is reflects "on the fly" avatars and images, which are constantly changing on your forum. There'd be no way to do it otherwise.

Doc31 04-06-2007 10:52 AM

Is there a way to make a check box in say the vb options page in the usercp to enable/disable this feature? :confused:

Im gonna have a look and see if i can make it work for me using some modz if not a bit of code to do this would be cool as some people have animated avatars that can be a bit of a strain on the javascript code. :(

Thanx :D

Tralala 04-06-2007 02:44 PM

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:

Im gonna have a look and see if i can make it work for me using some modz if not a bit of code to do this would be cool as some people have animated avatars that can be a bit of a strain on the javascript code. :(

Thanx :D

There's no more or less strain on the javascript code; it either works or it doesn't. Animated avatars reflect nicely in IE, and with a static image in any other browser. But there's no delta of "strain." Sure, Javascript in general can bog down a user's old/slow computer, but that would have nothing to do with whether or not an image to be reflected is animated.

That said, I'm sure you could whip up lots of checkboxes...
AdminCP: Reflect all avatars? (perhaps make it usergroup based)
AdminCP: Reflect THIS avatar? (ie: on a per user basis)

Or...
UserCP: Reflect MY avatar?
UserCP: Reflect avatars of OTHERS?

I don't have time to incorporate any of this, but if you do, it would be great if you could share it here.

Doc31 04-08-2007 07:56 AM

No problems thanks for the reply.. you have given me some good pointers if i come up with any additions i will let you know and be glad to share.

thanks :)

Ekremxx 05-11-2007 02:21 PM

i have setup that but all images to be that how i can fix that?
http://homepage.mac.com/joshr/trl/sc...ots/sample.jpg

Tralala 05-11-2007 02:34 PM

Quote:

Originally Posted by Ekremxx (Post 1245622)
i have setup that but all images to be that how i can fix that?

Huh?

Sorry, I've read your question a few times now and have no idea what you are asking.

Dotara 05-17-2007 09:50 PM

Hi,

This is a wonderful modification and installed it for vB 3.6.7 on postbit_legacy. Seems like it's just working fine but reflection avatar showing a little bit left than normal avatar. You'll understand if you take a look at my attachments. How to make reflection avatar in middle like normal avatar? I'm using ForumThemes Galaxy skin.

Many thanks :)

Shazz 05-17-2007 10:00 PM

Seems like you removed the <div align="center"> or <center>

Dotara 05-17-2007 11:26 PM

Quote:

Originally Posted by Shazz (Post 1249776)
Seems like you removed the <div align="center"> or <center>

Hi Shazz,

Thank you very much. I've done it. :)

AnT0NiuS 05-30-2007 02:40 PM

I have couple questions.

1. I have Opera 9.21 and I have a problem with animated images. It doesn't reflect in Opera 9.21 browser. IE and Firefox works fine , but Opera not.

2. Is it possible to make this feature optinal for users. Can user choose by himself the avatar reflection?

Thank you very much.

Shazz 05-30-2007 02:47 PM

Quote:

Originally Posted by Dotara (Post 1249835)
Hi Shazz,

Thank you very much. I've done it. :)

Great! :)

Stefano Virgill 08-15-2007 06:10 AM

Doesn't work at all here.

vb 3.7 neighter Opera nor Firefox

Unistalled

Tralala 08-15-2007 06:56 PM

Sorry to hear that Stefano, but just FYI, the latest release of vBulletin is 3.6.8. Not sure how you're running 3.7. Still, the hack is working for everyone that has installed it properly on 3.6.x.

So either you didn't install it properly, or it's not compatible with some pre-release of vBulletin 3.7 wyou've got your hands on.

Stefano Virgill 08-16-2007 12:10 AM

Hi tralala,
I know it's very strange cuz look like I'm the only one reporting it.
I just uploaded the .js file in the folder you wrote in the install instructions, then changes added the class for the reflections changing the code you wrote.
Anything else to do?

Thanks

Stefano

Tralala 08-16-2007 04:30 AM

Did you do the edit to the "header" template?

Which other templates did you edit?
For avatars in thread view?

Stefano Virgill 08-16-2007 04:36 AM

Hi,
I didn't edit the header cuz I don't need the reflection on my logo.
I tried with the modifications number 2, 3 and 4 in the instructions.
Nothing is changed in the forum, checked with opera and firefox.

Bye

Steve

Tralala 08-16-2007 06:43 AM

Editing the header is necessary for this hack to work (that's why it's in the instructions,) and it has nothing to do with adding a reflection to your logo.

Just follow the instructions as written, and the hack will work.

Stefano Virgill 08-16-2007 12:37 PM

It works man!
Me stupid :(

Thank you very much!
Excellent mod!

Steve

Deaz 10-30-2007 09:27 PM

Nice, this hack is very beautiful :) thanks man ;) good job

Katafraktos 11-28-2007 09:02 PM

This is an excelent mod, i have it on my forum for some time now, and its great.
But, today, i upgraded my personal browser firefox 2.0.0.10 and from now on, it does not work anymore on firefox!

is there anyway i can make it work, not on my browser only, but in general, i thing that the automatic upgrade of firefox will be installed in more than one users of our forum.

thank you again ;)

Tralala 11-30-2007 12:04 AM

Quote:

Originally Posted by Katafraktos (Post 1391283)
This is an excelent mod, i have it on my forum for some time now, and its great.
But, today, i upgraded my personal browser firefox 2.0.0.10 and from now on, it does not work anymore on firefox!

is there anyway i can make it work, not on my browser only, but in general, i thing that the automatic upgrade of firefox will be installed in more than one users of our forum.

thank you again ;)

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

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 02:24 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.02973 seconds
  • Memory Usage 1,886KB
  • 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
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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