| 
									
										
										
										
											2011-04-24 19:28:26 +02:00
										 |  |  | Infinite Scroll adds the following functionality to your StatusNet installation: | 
					
						
							|  |  |  | When a user scrolls towards the bottom of the page, the next page of notices is | 
					
						
							|  |  |  | automatically retrieved and appended. This means they never need to click "Next | 
					
						
							|  |  |  | Page", which dramatically increases stickiness. | 
					
						
							| 
									
										
										
										
											2009-08-05 17:09:19 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-04-28 13:25:16 -04:00
										 |  |  | Note that there is a configuration option to make it so that the plugin doesn't | 
					
						
							|  |  |  | trigger when the user approaches the bottom of the page, but instead triggers | 
					
						
							|  |  |  | when the "next" button is clicked. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-08-05 17:09:19 -04:00
										 |  |  | Installation | 
					
						
							|  |  |  | ============ | 
					
						
							| 
									
										
										
										
											2011-04-28 13:25:16 -04:00
										 |  |  | Add "addPlugin('InfiniteScroll', | 
					
						
							|  |  |  |     array('setting'=>'value', 'setting2'=>'value2', ...);" | 
					
						
							|  |  |  | to the bottom of your config.php | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Settings | 
					
						
							|  |  |  | ======== | 
					
						
							|  |  |  | on_next_only (false): trigger infinite scroll when the next button is clicked. | 
					
						
							|  |  |  | Note that this means you really don't have "infinite scrolling" as the trigger | 
					
						
							|  |  |  | is clicking, not scrolling. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Example | 
					
						
							|  |  |  | ======= | 
					
						
							|  |  |  | addPlugin('InfiniteScroll', array( | 
					
						
							|  |  |  |     'on_next_only'=>false | 
					
						
							|  |  |  | )); | 
					
						
							|  |  |  | 
 |