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 08-23-2011 10:00 PM

LOGECT vBulletin Image Preloader Effect
 
1 Attachment(s)
Info: The LOGECT vBulletin image preloader Mod will load all images on your vbulletin with an awesome preloader effect using jquery and CSS.

Prealoder Source: http://net.tutsplus.com/tutorials/ja...age-preloader/

Note:
-The preloder will not effect on images that load from CSS
- If you already load jquery somewhere you should set the jquery option to No
Go to: vBulletin Options > LOGECT - vBulletin Image Prealoder Effect


Installation:
1- Upload all files from folder upload to forum folder.
2- Import product.

Upgrade:
1- Upload all files from folder upload to forum folder.
2- Import product.

To set options:
Go to: vBulletin Options > LOGECT - vBulletin Image Prealoder Effect

Versions:
v1.0 24 August 2011 first release
v1.1 25 Apr 2012 Bug fixed and added option to disable jquery if you already load it somewhere

doctorsexy 08-27-2011 01:46 PM

Interesting... thanks...installed 4.1.5

Kaspersku 08-28-2011 02:10 AM

Great mod,
Nominee MOMTH

Lord. Dela 08-28-2011 07:20 PM

Thanks !

Marios858 08-28-2011 08:06 PM

Thanks !!!

zairafusco 10-08-2011 01:13 PM

unfortunately there is a jquery conflict issue (with a slider plugin, the Nivo slider port for Vb4) but only with MSIE (which doesn't load the any picture, freezes on the preloader.gif)..

i tried to make some changes in the code but no effects..

zairafusco 11-08-2011 01:00 AM

no way to have it working with internet explorer... it's a bug or something i can fix?
thank you

sticky 11-09-2011 01:36 AM

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

Is this resolved?

LOGECT 11-10-2011 05:09 PM

@zairafusco
Would you send me a link to your webpage, so i can check it out, thanks.

Emeralda 03-29-2012 06:21 PM

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:

Quote:

And this line of code is giving error:

$(function(){$("#logect_ip").logect_preloader();}) ;
Also, does it load jquery somewhere? I already have it loaded on the forum, twice >.<

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 06:03 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.01047 seconds
  • Memory Usage 1,753KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete