PDA

View Full Version : Miscellaneous Hacks - [YUI] Animation Effects


winstone
01-17-2010, 10:00 PM
It's Function:

Adds fade-in effect to all popup menus
Adds slide-up/down effect to all collapsible blocks

(Applies to all pages including any custom mod)

Demo:
see http://www.youtube.com/watch?v=3Ww3P1aqb1Y

Installation:

Upload the content in 'upload' folder
Import the product available in zip file


Side Notes:
This mod uses YUI Animation utility available on all vBulletin installations
On Forum Home page, sidebar uses this utility already, when this product is enabled, it will avoid duplicate calls for the same utility by removing the call made by sidebar

How to upgrade:
From 1.00 to 1.1.1

Uninstall the previous version (required so we can get rid of the extra template)
Import the product

From 1.1 to 1.1.1

Re-import the product overwriting the existing one


Update Log:
Version 1.1.1
Corrected path to YUI Animation utility in plugin

Version 1.1
There is no need for an extra template file anymore, "headinclude_javascript" is being used now

Note: if you are using Remote YUI setup, you better keep version 1.00 and don't upgrade, or manually edit the plugin to correct the path to YUI Animation utility

Infopro
01-18-2010, 01:13 PM
Just an FYI, I don't see any issues with this on 3.8.4 menus seem to have a bit more spunk opening. :)

Thanks.

sematopdemir
01-18-2010, 01:17 PM
Thanks.

bilgicc
01-18-2010, 01:52 PM
Thank you. Installed.

KURTZ
01-18-2010, 03:45 PM
i gave a try to this hack but i don't understand what changed ... :S

winstone
01-18-2010, 10:00 PM
Just an FYI, I don't see any issues with this on 3.8.4 menus seem to have a bit more spunk opening. :)

Thanks.

so it is somehow compatible with 3.8. too, sweet :D

I haven't tested it myself on 3.8, I got vB about 2 years ago and haven't had time to upgrade my board yet (i know its a long time and the actual reason is my laziness lol), still running some other system and just preparing to finally make the migration directly to vB4

i gave a try to this hack but i don't understand what changed ... :S

did you read the mod details to see what it does? did you check the demo?
by not understanding the changes, do you mean it is not working on your site? if not what browser are you using, what's the operating system (it matters) and finally can you share the URL to your site so others can check as well

By the way, guys I have tested this mod on IE7, IE8, FF3.5, Safari latest (WIN), Chrome latest, iPhone's Safari and it works just fine, if there are any incompatible browser, let me know

cheers

MmS1
01-18-2010, 10:24 PM
i love it
installed tnx mate

KURTZ
01-19-2010, 06:38 AM
did you read the mod details to see what it does? did you check the demo?
by not understanding the changes, do you mean it is not working on your site? if not what browser are you using, what's the operating system (it matters) and finally can you share the URL to your site so others can check as well

By the way, guys I have tested this mod on IE7, IE8, FF3.5, Safari latest (WIN), Chrome latest, iPhone's Safari and it works just fine, if there are any incompatible browser, let me know

cheers

sure mate :)

http://fniv.it/vb/content.php

i'm under W7 64bit and FF 3.5.8 (Shiretoko)

winstone
01-19-2010, 08:44 AM
sure mate :)

http://fniv.it/vb/content.php

i'm under W7 64bit and FF 3.5.8 (Shiretoko)

well checking with Chrome and FF3.5 on W7 64Bit it's working fine on your site, can't you see the fade effect on popup menus or slow scroll up on blocks when you collapse them? normally they just appear or disappear (instantly)

ps2wiz
01-19-2010, 09:19 AM
Does this have a negative impact on SEO since it adds a lot of javascript and obviously search bots can not read/see Java?

KURTZ
01-19-2010, 09:57 AM
well checking with Chrome and FF3.5 on W7 64Bit it's working fine on your site, can't you see the fade effect on popup menus or slow scroll up on blocks when you collapse them? normally they just appear or disappear (instantly)

i can't see the fade effect dude ... the scroll up of the menus is normal ... :)

winstone
01-19-2010, 10:02 AM
Does this have a negative impact on SEO since it adds a lot of javascript and obviously search bots can not read/see Java?

short answer, no it doesn't have a negative impact

winstone
01-19-2010, 10:06 AM
i can't see the fade effect dude ... the scroll up of the menus is normal ... :)

weird, but hey at least it works for others

AzzidReign
01-20-2010, 12:24 AM
How server intensive can this get if you own a big board?

winstone
01-20-2010, 01:12 AM
How server intensive can this get if you own a big board?

This is not Ajax and is only client side so it has no effect on server what so ever

Trek
01-20-2010, 03:28 AM
weird, but hey at least it works for others

I just checked KURTZ' site and I don't see it either. Works the same as normal. Maybe he doesn't have the mod installed any longer?

Either way, I'm also on Win7, 64 bit WW3.5.7 and it's just not doing anything different than a standard install. No fades, no smooth scrollups.

Not sure what the issue would be (again, assuming he still has it installed).

winstone
01-20-2010, 04:03 AM
I just checked KURTZ' site and I don't see it either. Works the same as normal. Maybe he doesn't have the mod installed any longer?

Either way, I'm also on Win7, 64 bit WW3.5.7 and it's just not doing anything different than a standard install. No fades, no smooth scrollups.

Not sure what the issue would be (again, assuming he still has it installed).

looking at it's source html code, Its not installed there anymore

choitz
01-20-2010, 11:18 AM
Very nice touch - Cheers!

Infopro
01-21-2010, 11:45 AM
so it is somehow compatible with 3.8. too, sweet :D

I haven't tested it myself on 3.8, I got vB about 2 years ago and haven't had time to upgrade my board yet (i know its a long time and the actual reason is my laziness lol), still running some other system and just preparing to finally make the migration directly to vB4
...

Well, sort of. And I did have to edit it a bit.

<script type="text/javascript" src="$stylevar[yuipath]/animation/animation-min.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript" src="clientscript/yui_animation_effects.js?v=$vboptions[simpleversion]"></script>

It might just be me, but it does seem to open menus a bit faster. As for actual animation, not so much I don't think different than defaults. I've got some long menus and they seem to drag a bit at times, adding this I think, speeds them up. ;)

Xeyn
02-22-2010, 06:58 PM
Ahhhhhh...Made my forums look so much better....thx dude

mandingo
02-23-2010, 03:16 AM
fyi,this works in the following browsers:
Konqueror
Chrome
Firefox 3.5.5
Opera
Arora
for Ubuntu Karmic 64

Aviani-Terrador
04-20-2010, 01:45 AM
Can you make it so it works with the forums on the main page as well?

CvP
04-21-2010, 12:00 PM
cool! works on all styles.

iamacyborg
05-04-2010, 09:49 PM
I'm having some problems with this. It's working fine with the blog sidebar tabs, but I'm not seeing any changes to the forum collapse.

CvP
07-22-2010, 09:02 AM
I'm having some problems with this. It's working fine with the blog sidebar tabs, but I'm not seeing any changes to the forum collapse.
same here. I remember it used to slide open/close forumhome categories. But it doesn't now. (probably since I upgraded to 4.0.5).

moreover, it is conflicting with this mod: https://vborg.vbsupport.ru/showthread.php?t=233296

please investigate :)

Daryn
07-22-2010, 07:53 PM
Same here. Forum Collapses don't work, however VbA widgets do work. Can't be anything too major.

CrystaStarLight
08-15-2010, 08:26 PM
That is happening for me too on 4.0.6. Everything works accept for forum collapsing.

fferre
08-25-2010, 07:58 PM
I've a problem on explorer 8 when opening a menu link in tabvar

the error comes from line:

YAHOO.util.Dom.setXY(this.menu,this.get_menu_posit ion(b));

object does not accept this method

CrystaStarLight
11-27-2010, 01:22 AM
Hi! I wasn't able to get this to work in IE 7 and below with the list popup menus. They wouldn't open at all, which made people not able to browse the site.


<li class="popupmenu">

kesandal
12-19-2010, 11:35 AM
What a pity, that this addon doesn't work with v. 4.1.0 :(

temporaryins
12-20-2010, 05:41 AM
It's still working for me.

career
01-10-2011, 11:47 AM
How to make this work on vb 3.8?

ALBCODERS
01-10-2011, 05:27 PM
Great MOD thanks

laebshade
12-03-2011, 09:56 PM
Doesn't work in IE 8 or 9, and possibly/likely other IE versions. If you try to expand a collapsed block, a red X appears where the up arrow box image should be and the block doesn't expand. Reuploaded the contents of "upload", overwriting original files. Removed and reinstalled this mod's version 1.1.1 with no change. Issue started somewhere around vBulletin 4.1.7. Now running vB 4.1.8 and still does not work.

Must be noted I'm using external YUI, but also I tried using "None" for remote and the same occurred.

artos0131
12-06-2011, 12:36 AM
This mod realy needs to be updated. I hope author will do it soon.

zascok
08-05-2012, 07:03 PM
FF14 vB4.2pl2 is not working , sorry. WIll wait for an update if any.

Really why? While sidebar is using such a nice animation forum categories have to jump up and down like a goat. :)