Live v.0.3Created by: Nick Ramsay (longcountdown)
Created on: 2009/01/09
Requires: None
Updated to v.0.3 on January 16th 2009DescriptionA one-page alternative to the existing Live pages.
Features- Filter activity to show all, top stories, new stories, votes or comments
- View comments by hovering over the comment icon
- View news summaries by hovering over the "new" and "top" icons
- See all voters by hovering over the vote icon
- Avatars included in comments and User column
- Times formatted after 24 hours to show the date instead of ">25 hours"
- Dedicated css and language files
- Strips BBCode from comments
- Admin page for setting the number of items to display and the refresh rate
- Removes the need for Live-related template files
See it in action here!InstructionsFor testing purposes only, just upload, enable and visit the Live page at yoursite.com/module.php?module=live
Otherwise:
1. In Admin > Configure > Live, set "Enable live" to false. This will remove the old "Live" link from your navigation bar.
2. Upload the "live" folder to your modules folder and enable it in Admin > Module Management.
3. The live nodule has its own Admin page, set "Items to show" and "How often to refresh" as desired.
4. To put a new "Live" link in your navigation bar, either add this module hook to header.tpl in your templates folder:
{checkActionsTpl location=tpl_sidebar_logged_out_just_below_profile"}
or add a manual link like this:
<a href='{$my_base_url}{$my_pligg_base}/module.php?module=live'>Live</a>
Known Issues- Shows avatars even when avatars are disabled in Admin.
- Use of live_js.tpl after the closing HTML tag (as per this post).
- There is a delay and no "Loading..." indicator before the Live content appears.
- Filtering doesn't force a refresh.
If you can help out with these issues, please do so!
Revision History
v0.3 2009/01/16 LongCountdown - Better tooltips, Admin page and general tidying up of code.
v0.2 2009/01/13 LongCountdown - Fixes repeated content and "blinking" animation issue.
v0.1 2009/01/09 LongCountdown - First version, but based heavily on the original Live pages.