Infinite scroll v0.4

Release Notes

 

Warining: This release isn't compatible with River Privacy 1.0.

Bugfixes:

Enhancements and Feature requests:

  • Galleries are infinite-scrollable now.
  • Added 'load more' button feature.
  • Users can select which kind of pagination they want (classic, load more button or automatic).

 

  • this plugin will not work with any hype plugin.  it has conflicts with hypeframework.  

  • hypealive has a load more button for the riveractivity already and i think thats where the conflict begins.  havent looked at it yet, but i am pretty sure some of the code is in the framework.  will look into it and get back to you in a pm Scoooop.  :)

  • yep, the code is in the framework.  looks as if it is a conflict with the ajax or js....not sure but either way know its one or the other.  the other problem is that hype stores everything in a different place than what elgg normally would.  the list of river items for example is stored in window.hj data object.  to make a hypescroll i am sure it would be a pain, maybe easier (not that it would be easy) to just modify the hypeframework

  • is it me or does this not work with messages pagination?

  • only for ->
    activity (river), comments (annotations) (entity) lists;
    messages not in there ;-o(

  • yeah seems like elgg objects aren't paginated with the plugin

  • Watch my pages plugin I installed, but u can see my latest comment on that plugin that has also problems 

    http://community.elgg.org/plugins/1020937/0.1/watch-my-pages

    And Infinite scroll also does not work :(

    Is there any fully working plugin which can load acitivty automatically?

    For Infinite scroll plugin do I need any framework or other plugins? Because I tried to install only Infinite scroll on my default theme of elgg 1.8 but Infinite scroll did not work :(

  • this plugin not work in elgg 1.8.12 

  • The root site url is getting passed through as the handler with this plugin. So for everyone getting that problem saying "You've reached the end of the list, there is no more elements to show" there is a very simple fix. To the infinte_scroll/list.php add another array_shift() so the first 3 lines look like:

    $path = explode('/', $vars['path']);
    array_shift($path);
    array_shift($path);

    This should work for river, blog, bookmarks etc

     

  • @Mark, this hack didnt work for me (members view anyhow).

    I tried deactivating the hype framework and that didnt fix this problem.
    The only view that works correctly is classic. The other two options get the
    "You've reached the end of the list, there is no more elements to show"
    when there should be more elements in the list.

  • Getting error

    Fatal Error.

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

    QUERY: SELECT DISTINCT rv.* FROM elgg_river rv WHERE ( (1 = 1) ) ORDER BY

    DatabaseException Object
    (
    [message:protected] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

    QUERY: SELECT DISTINCT rv.* FROM elgg_river rv WHERE ( (1 = 1) ) ORDER BY 
    [string:Exception:private] => exception 'DatabaseException' with message 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

    and more lines................

  • But It's working after deactivate pluggin "river_update"

  • Can latest comments be shown at top?

    How to configure after how many comments 'load more' appears?

     

    To re-see a comment user liked he can remember that, that the comment was, say on page 4 or 5 or x, but with infinte scroll how does he get back to a comment again when he wants?

  • Can latest comments be shown at top?

    How to configure after how many comments 'load more' appears?

     

    To re-see a comment user liked he can remember that, that the comment was, say on page 4 or 5 or x, but with infinte scroll how does he get back to a comment again when he wants?

  • In settings > Configure your Tools
    I want to make "Automatic on scroll" default for every new user in "which kind of pagination you like"

    How can I do this please?

  • Thanks [cim] - this is very helpful.
    BTW has it got any conflict with hypeFramework/hypeMap - Infinite scroll for Elgg 1.8 has got conflict.

  • @disha as far as i know, the plugins that auto refreshes the activity page will mess up the infinite scroll or any plugin that replaces the elgg's activity river view

  •  [cim] apparently watch-my-pages loads some other notifications also along with the comments - by default it gives autoscroll which I was asking for, but it does not give the end-user/site-member options/tools to disable infinite scroll and use classic pagination if he/she wants. Infinite scroll for Elgg 1.8 do give this liberty to the end-user/site-member. Only thing is I am finding no way to enable autoscroll by default instead of the 'load more' button

  • @disha the watch my plugins was made like that, no options, just replaces the original pagination

  • Hi There,

    I use the plugin River_addon With ( Watch My Pages and  infite Scroll ) But River_addon disabled automatic pagination on the activities page .

    Ok, In Dashboard and others pages all fine .

    My river_addon is configured with the following string:

    river_addon/pages/river.php

    $options['limit'] = 30;

    Well, wanted to do automatic pagination on the activities page.

    How to to ? 

    Please, help me.

    Thanks All.

  • Getting following error with River Addon plugin

    "You've reached the end of the list, there is no more elements to show."

  • Hello,

    Please, I need this Plugin to my new Version Elgg 1.9.7 .

    Can help-me ?

    Regards !

sem

Lorea Developer

Stats

  • Category: Misc
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 3734
  • Recommendations: 18

Other Projects

View sem's plugins