README 775 B

12345678910111213141516171819202122232425262728293031
  1. The SlicedFavorites plugin shows timelines of popular notices for defined
  2. subsets of users.
  3. Installation
  4. ============
  5. add "addPlugin('SlicedFavorites');"
  6. to the bottom of your config.php
  7. Settings
  8. ========
  9. slices: Array of subsets
  10. Example
  11. =======
  12. addPlugin('SlicedFavorites', array(
  13. 'slices' => array(
  14. // show only pop's notices on /favorited
  15. 'default' => array('include' => array('pop')),
  16. // show only son's notices on /favorited/blog
  17. 'blog' => array('include' => array('son')),
  18. // show all favorited notices except pop's and son's on /favorited/submitted
  19. 'submitted' => array('exclude' => array('pop', 'son')),
  20. // show all favorited notices on /favorited/everybody
  21. 'everybody' => array(),
  22. )
  23. ));