vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - LOGECT vBulletin Image Preloader Effect (https://vborg.vbsupport.ru/showthread.php?t=269071)

LOGECT 04-25-2012 12:57 PM

v1.1 25 Apr 2012 released
Bug fixed and added option to disable jquery if you already load it somewhere.

LOGECT 04-25-2012 12:57 PM

Quote:

Originally Posted by Emeralda (Post 2314789)
I don't think it's working, at least for me it doesn't. Could you check it out for me too? Link to example gallery: http://cafeotaku.net/forum/showthrea...-Digital-works! and it it loads too fast, with a big image: http://cafeotaku.net/forum/showthrea...mer-Anime-2012

Someone told me this while troubleshooting a different mod:



Also, does it load jquery somewhere? I already have it loaded on the forum, twice >.<

Please try the new version, and set the jquery option to NO if you already load it somewhere.

LOGECT 04-25-2012 01:00 PM

Quote:

Originally Posted by zairafusco (Post 2265534)
no way to have it working with internet explorer... it's a bug or something i can fix?
thank you

Please feel free to install the new version, it works fine on all browser (+ ie 7,8,9 )

Emeralda 04-26-2012 11:34 AM

I installed the new version, checked on Opera, Chrome, Firefox and IE, it still didn't work >.<

LOGECT 04-26-2012 11:42 AM

Quote:

Originally Posted by Emeralda (Post 2323684)
I installed the new version, checked on Opera, Chrome, Firefox and IE, it still didn't work >.<

Your jquery should load before the following code, you already load jquery but it right before </head> tag.

Code:

<script type="text/javascript" src="logect/vb_imgpl/jquery.preloader.js"></script>
<script type="text/javascript">
$(function(){$("#logect_ip").logect_preloader();});
</script>

Please enable the jquery option and then remove the following line from your style:

Code:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
or you can manually add it before {vb:raw template_hook.headinclude_javascript} in your headinclude template:

Emeralda 04-26-2012 01:18 PM

Oh, that worked. And sorry for the trouble, but I won't be using it after all that. For example, in Opera when it doesn't load the images anew ever time a page loads, you see the images instantly when the page loads, bigger images are being loaded, but after a second or two you suddenly see the loading animation again, as if the images were being reloaded, actually increasing the page load time. There was also problem with bigger images (the example one I linked before) where it didn't load it (checked in Chrome).

LOGECT 04-26-2012 01:28 PM

Quote:

Originally Posted by Emeralda (Post 2323711)
Oh, that worked. And sorry for the trouble, but I won't be using it after all that. For example, in Opera when it doesn't load the images anew ever time a page loads, you see the images instantly when the page loads, bigger images are being loaded, but after a second or two you suddenly see the loading animation again, as if the images were being reloaded, actually increasing the page load time. There was also problem with bigger images (the example one I linked before) where it didn't load it (checked in Chrome).

No problem at all, just to let you know that you can increase or decrease the preloader speed time by changing the value for delay:100, in jquery.preloader.js.


All times are GMT. The time now is 08:06 PM.

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.01712 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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