vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Jquery Infinite Scroll - Idea (https://vborg.vbsupport.ru/showthread.php?t=317079)

thetechgenius 02-01-2015 05:08 PM

Jquery Infinite Scroll - Idea
 
I found a cool Jquery library that automatically loads web content when the user scrolls down to page.

I have an idea, maybe it can be coded into vBulletin4, so when you are viewing the list of threads, you don't have to click to go to the next page of threads. This will automatically load more threads as you scroll down the page. It will not load all the threads at once though, so its like Lazy Loading threads as you scroll. Which is cool because it shouldn't add to the page loading times.


This is a direct link to the page where I found the Jquery Infinite Scroll:

http://www.phpjabbers.com/free-jquer...scroll-script/


What do you guys/girls think about this? Would anyone like to work with me to create this addon for vBulletin? I think a feature like this is already included with vBulletin 5, im not sure though because I never installed vB5.

Zachery 02-01-2015 11:09 PM

The problem (IMO) with IS, is that it can cause issues. Where do you stop loading the topic so the user can reply when they get to the "bottom" of the thread?

vBulletin 5 doesn't have IS for a number of reasons, one is outlined above. Also there was a consideration of browser performance. If you look at a popular tumblr archive which does have IS, the further you get down the page the more sluggish it gets. The browser struggles to load and display new data.

There are a significant number of issues with IS, and they're not easily solvable.

Also, you'd want/need to redesign your footer, esp if there are any important links in it. A floating bar would be required, because anything you need at the bottom of the page is effectively out of reach until you get to a point where a topic/page stops loading.

Replicant 02-01-2015 11:29 PM

I've been on a forum that had it. It is only acting on the forumview section of the page, so moving the mouse off that section scrolls the entire page to the bottom. It was kind of annoying and like Zachery said, the browser was sluggish.


All times are GMT. The time now is 11:16 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.00938 seconds
  • Memory Usage 1,713KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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