DISQUS

David Cramer's Blog: LifeStream WordPress Plugin

  • baron · 1 year ago
    hi. Thanks for plugin

    perfect.

    Regards
  • vipey · 1 year ago
    great plugin

    theres a few like this but this one is very simple to use

    thanx
  • Aaron · 1 year ago
    Nice! was looking out for this kinda plugin.
  • timmy · 1 year ago
    I get the following error when upgrading to 0.3

    Parse error: syntax error, unexpected ',' in /home/timmy/domains/timmywong.com/public_html/wpress/wp-content/plugins/lifestream/pages/settings.inc.php on line 2

    I removed and then upload the new version, reactivate but still seeing that error
  • Stellan · 1 year ago
    Man, I've been looking for something like this. Excellent job!

    But I get the same error as Timmy, basically:

    Parse error: syntax error, unexpected ',' in /home/web29516/domains/salt.se/public_html/wp-content/plugins/lifestream/pages/settings.inc.php on line 2

    Is there a solution to this? I'm dying for it.
  • Stellan · 1 year ago
    When i try to open the options page, that is.
  • mads · 1 year ago
    I'm also eager to try this. However, I'm having simplepie problems. This is what I get when I try to activate:
    Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 4864 bytes) in --/wp-content/plugins/lifestream/simplepie.inc on line 12784

    Also: auto-updating within WP makes the plugin unavailable, as it nests the plugin under one dir too many (plugins/lifestream/lifestream/plugin).

    An idea: how about the possibillty to pair 'unsupported' feeds with your own icons? Would be neat.

    Looking forward to see this evolve!
  • lars · 1 year ago
    i have a bunch of events listed in the feed config menu, but the actual lifestream page says there are no events to display. is it supposed to do that and i have to wait longer, or is there something i'm missing?
  • David Cramer · 1 year ago
    mads: As for the memory issue, I don't think that's something I can easily solve as it seems its an issue with simplepie.

    lars: goto /wp-admin/options-general.php?page=lifestream.php&action=events and see if it shows them there
  • lars · 1 year ago
    yep its all there. just wont show up on the lifestream.
  • David Cramer · 1 year ago
    Are the events possibly old? The default cut off date I think is still two weeks.
  • lars · 1 year ago
    that might be the problem... for some strange reason they're all listed as jan 1st 1:59am
  • David Cramer · 1 year ago
    Can you give me the information for the feed? (the url or username and feed type)
  • lars · 1 year ago
    well my blog, twitter, and digg feeds all come in with that same time stamp. so i dont think the feeds are the problem.
  • lars · 1 year ago
    my host doesnt have cron... could that be a problem?
  • David Cramer · 1 year ago
    It uses WordPress's built in cron, which may or may not change, since it seems the fastest you can get an automatic update is once an hour (which sucks).

    I sent you an email, and I posted a new version to SVN on wp.org which changes the use of Simplepie's get_date() call, to the proper call. This MAY fix the issue, but the issue shouldn't have been present to begin with.

    Again, you are probably going to want to run a `truncate table wp_lifestream_event, wp_lifestream_event_group;`
  • lars · 1 year ago
    that did it, thanks!

    but i did get
    Warning: Invalid argument supplied for foreach() in /home/www/lifeinbeta.freehostia.com/wordpress/wp-content/plugins/lifestream/lifestream.php on line 321
  • David Cramer · 1 year ago
    Right now it doesn't report errors on fetching feeds, seems one of yours didn't fetch tho.
  • timmy · 1 year ago
    Version 0.1 & 0.2 are okay but 0.3 seems to have issues.

    Parse error: syntax error, unexpected ‘,’ in /home/timmy/domains/timmywong.com/public_html/wpress/wp-content/plugins/lifestream/pages/settings.inc.php on line 2
  • Scot · 1 year ago
    You should consider adding Identi.ca/Laconica support. API available: http://laconi.ca/trac/
  • timmy · 1 year ago
    Version 0.3.1 works flawlessly. Those who has issues with

    Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 4864 bytes) in –/wp-content/plugins/lifestream/simplepie.inc on line 12784

    This can be resolved by changing the PHP memory size on wp-settings
  • lars · 1 year ago
    looks like the default blog rss address that you used didn't match where the rss was located. i'm on version 2.5.
  • mads · 1 year ago
    Timmy: How do I change that? Do I go directly into editing wp-settings.php, and what line needs to be changed? Also, is it safe to change this?
  • Deks Daka · 1 year ago
    Hey David whenever I try to activate the plugin it gives me this error.
    Fatal error: Cannot redeclare class SimplePie in /home/hyperhoo/public_html/deksdaka/wp-content/plugins/lifestream/simplepie.inc on line 382

    I tried deactivating all my plugins and only activating this one and it gives me this error.
    Parse error: syntax error, unexpected '}' in /home/hyperhoo/public_html/deksdaka/wp-content/plugins/lifestream/feeds.inc.php on line 505

    Any idea on how to fix this?
  • Deks Daka · 1 year ago
    Also is there a way to make it post the items in an actual post instead of just listing them?
  • Franky · 1 year ago
    Thanks for this great Plugin!

    I get the following error:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /usr/local/pem/vhosts/107154/webspace/httpdocs/wp-content/plugins/lifestream/lifestream.php on line 200

    Is there any way to fix it?

    Best wishes
    Franky
  • flr · 1 year ago
    I was wondering two things. Is there still a way to get my facebook status RSS? Also, is there a way to put YouTube Favorites into the lifestream?

    thanks
  • David Cramer · 1 year ago
    Yes you can still get the Facebook RSS. Although I'm not 100% sure its location on the new site.

    As for YouTube favorites, I briefly looked around for a feed on YouTube but didn't find one. If you can find one it's quick for me to add it.
  • Pete · 1 year ago
  • flr · 1 year ago
    I can't find the Facebook RSS anywhere. I found this site: http://www.referd.info/ that generates an RSS feed, I tried putting it in as a Generic item but it didn't seem to work.
  • flr · 1 year ago
    I forgot to mention, it seems like Google Reader isn't updating
  • Deks Daka · 1 year ago
    Suggestion for future improvements. I think you should add comments as a category for feeds since generic says posted.
  • Philip · 1 year ago
    Hi! Great extension. Find one bug: need rename "locale" to "locales" dir.

    P.S. Sorry. My english is bad. :)
  • Deks Daka · 1 year ago
    Hi I was wondering where the information from the rss feeds is stored?
  • David Cramer · 1 year ago
    The data is stored within the database under two tables.
  • Ramoonus · 1 year ago
    Hi there David, i love your plugin.
    i still miss some features ...
    like a short guide about the CSS
    integration with TinyMCE ... a button in here to put lifestream on a page ... easier for nubs

    and a few more options on the LifeStream admin. page
  • der5er · 1 year ago
    Excellent plugin David. I love it. I do have two bugs:

    1. Twitter won't update if I select the feed type Twitter. If I put the feed in as a blog or Generic, then it finds 20 events right away, but if I put it in as Twitter, it finds 0.

    2. All feed items in the admin screen show up with "December 31st @ 6:00 pm" (localized epoch, UTC -6).

    For now, I've worked around problem 1 by putting my Twitter feed in twice. Once as Twitter which won't update (but I cross my fingers) and once as Generic, which will update. Problem 2 is just a minor annoyance, so I'm not going to work around it.
  • Harris · 1 year ago
    I also have the error:
    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/21/d161770073/htdocs/wp-content/plugins/lifestream/lifestream.php on line 198
  • Bandit · 1 year ago
    How do you find the URL for Youtube? I plugged in what I think it is but it doesn't show anything on the page. I have Facebook and Myspace working.
  • Bandit · 1 year ago
    Nevermind - must be losing it! I found how to do it.
  • David Cramer · 1 year ago
    I've added a brief tutorial on extending feeds.
  • Justin · 1 year ago
    @David: Wonderful plugin, looking forward to giving it a try; however I am concerned if it will support multiple authors? Essentially, I am going to use this on a website that has about 12 authors. I want to include it in their author profile page, i.e. yourdomain.com/author/justin/ which would be the default author template.

    I could throw it into a loop if they're viewing the profile for justin to use THESE feeds, etc.

    If not, how up are you for developing a version that would hook into the "User Profile" and allow for supporting multiple authors and hook into the author template?
  • Astorg · 1 year ago
    I get the following error when I activate the plugin:


    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/3187/domains/astorg.co.uk/html/wp-content/plugins/lifestream/lifestream.php on line 198
  • David Cramer · 1 year ago
    For anyone receiving the parse error, you MUST be using PHP5. It is a requirement for LifeStream.

    If you somehow switch from PHP4 to PHP5 you will also need to reactivate the plugin once you are done.
  • David Cramer · 1 year ago
    I pushed out version 0.36, with some requested features from a friend.
  • Sherwin Techico · 1 year ago
    It's not for me, it's for the people =)
  • issy · 1 year ago
    Hi David,

    Great plugin. Though trying to get a few feeds working,if i open the feeds in a browser it displays but refreshing does not pull in any events. The events table is empty and so is the events under settings. Any way i can debug to see if it's fetching the feeds correctly? I am pulling feeds from yahoo pipes using generic.
  • issy · 1 year ago
    oh when i refresh i just get a blank page back. .... i have checked the feed as well and there are some items about 1 hour ago.
  • creeva · 1 year ago
    I seem to be having a database issue when I try to add feeds to the plugin - here is what I get every time I attempt to add a feed item:



    WordPress database error: [Table 'databasename.wp_lifestream_feeds' doesn't exist]
    INSERT INTO `wp_lifestream_feeds` (`feed`, `options`, `timestamp`) VALUES ('digg', 'a:3:{s:8:\"username\";s:6:\"creeva\";s:7:\"grouped\";s:1:\"1\";s:10:\"show_label\";s:1:\"1\";}', '1219329504')


    Of course this is specific to digg, but supplant the digg option with a different one. It doesn't seem to be creating the correct database tables - any clues?
  • issy · 1 year ago
    @creeva, i had the same issue did you have a previous version of lifestream installed?

    If you check your wordpress DB, you should see the tables have been created lifestream_feeds lifestream_x
    rename these to wp_lifestream_feeds
  • David Cramer · 1 year ago
    I think I may have solved the database table naming issues.

    I committed version 0.37 just now, so that should pop up soon. This *only* affects people who have just installed and are getting errors about the tables not existing.

    You will need to reactivate the plugin wont you upgrade to install the tables.
  • creeva · 1 year ago
    same issue after the .37 update
  • creeva · 1 year ago
    I hadn't - /bonk - but I then deactivated and reactivated it and same thing.
  • David Cramer · 1 year ago
    I pushed another attempt to fix invalid database creation. I think it may have been caused by switching to `register_activation_hook`.
  • Rick · 1 year ago
    Great work David! Much better than mine so far!

    As soon as I have some spare time I think I can send you some patchs.

    Cheers
  • medicman · 1 year ago
    Plugin could not be activated because it triggered a fatal error.

    Fatal error: Cannot redeclare class SimplePie in /home/medicman.nl/www/wp-content/plugins/lifestream/simplepie.inc on line 382

    Running a fresh install of WP 2.6.1

    A bug or?.....
  • Deks Daka · 1 year ago
    Suggestion for future feature. The ability to go back to older lifestream history. Sort of like the page back button on wordpress. Also the ability to specify how many days lifestream shows.
  • Sherwin Techico · 1 year ago
    Modified the lightbox' image size for Flickr feeds to be 500px-wide on either x- or y-side.

    Line 309:

    $link = $item['image']['url'];

    to

    $link = $item['image']['url'];
    $link = str_replace('_m', '', $link);

    HTH
  • Deks Daka · 1 year ago
    One of the feeds I pull from messed up the date on one of the feed items. It is now showing up as the first thing and under it is today's feed items. I deleted it and I got the message that it will be hidden. So I cleared my cache and cookies and reloaded the page but it is still there. It's been about 4 hours since then and it is still there. Any ideas?
  • helpme · 1 year ago
    Installed latest version from wordpress.org. Activated plugin on WP 2.6.1. Attached a few feeds. Plugin status page shows items but I do not see a widget displayed on my Fastlane theme page. How do I activate/embed the lifestream output onto a template sidebar?
  • CalinSoft · 1 year ago
    Hi! Great plugin.

    Minor Fix:
    file:_lifestream.php
    line: 941
    if (isset($_GET['activate']) && $_GET['activate'] == 'true')

    replace for:

    if ((isset($_GET['activate']) && $_GET['activate'] == 'true') || (isset($_GET['activate-multi']) && $_GET['activate-multi'] == 'true'))

    :)
  • Austin Storm · 1 year ago
    @David - Thanks for this plugin! Any chance you'd consider adding support for multiple bloggers on the same blog? This would be perfect for group blogs...
  • So It's Come To This: · 1 year ago
    David,

    I can't seem to figure out the time stamp. My life stream events don't get the right time stamp even though I've configured the time correctly in the options; it appears to be 3 hours behind. I'm on EST and, I believe, my servers are hosted in PST - which would make me think the time stamp is generated from the local server time. Is this true? Or any I totally off on this? Would there be any recommended course of action I can take to make sure that the time stamp generated on the life stream is in my time zone?
  • David Cramer · 1 year ago
    Just a quick update, WPMU is next on my TODO :)
  • Austin Storm · 1 year ago
    Whoa, the very latest version appears to make my most recent posts not show up. Weird, huh?
  • David Cramer · 1 year ago
    Ack, so its not a bug on my blog.

    Good to know, im going to go investigate now :)
  • ezoehunt · 1 year ago
    Great idea for plugin but cannot get it to work. No events show up for Facebook, Twitter, etc. No events in tables. Is there a fix for this? Have PHP 5.2.5 and WP 2.5.1. Thanks.
  • Austin Storm · 1 year ago
    Yeah, I've tested it, and it hides the most recent 7 posts.
  • David Cramer · 1 year ago
    I committed a new revision, 0.53, which I *think* solves the issue introduced with blog posts not appearing.
  • Austin Storm · 1 year ago
    Thanks, it does seem to have fixed the issues.
  • Deks Daka · 1 year ago
    Hi I just upgraded to .53 and now my lifestream has disappeared. I had it all working before except for the fact that it wouldn't delete the one event. any chance you can take a look at this?
  • Evert · 1 year ago
    Howdy!

    When I try to activate the plugin (revision 61634 from SVN) I get:

    Fatal error: Call to undefined function get_currentuserinfo() in /var/www/htdocs/wp-content/plugins/lifestream/_lifestream.php on line 162
  • Bandit · 1 year ago
    When I upgraded lifestream this morning I now get an error message anytime I try to activate any plugin in Wordpress. I am using Wordpress 2.6.1 and the error is included below.

    Fatal error: Call to undefined function get_currentuserinfo() in /home/content/d/p/e/dperryr/html/wp-content/plugins/lifestream/_lifestream.php on line 162
  • David Cramer · 1 year ago
    FYI for everyone who upgraded over the night I recommend doing another upgrade today. Sorry for the instabilities. I would use tags and releases on wp.org, but to be quite honest it's a pain in the ass, and I don't even like having to use their SVN hosting.

    The get_currentuserinfo() issue is fixed, and the issue with it throwing errors on INSERT queries when you did refresh all is also fixed.
  • Bandit · 1 year ago
    Problem solved!! Thanks for your quick response! I love the plugin!!
  • ginajack · 1 year ago
    Hi

    I easily installed the latest plugin version; activated it and see the feeds in the back end; however, after a long search, I cannot find any details/info about how to make the LifeStream output visible as a Separate page on my site.

    I am sure it is simple, but I am missing it. Please point me to the right source .

    Thanks
  • blissofbeing · 1 year ago
    Can you include twitpic in the supported list? I can't get my head around this php OOP.

    It would also be cool if there was an option to "show details" be on by default. For example, I would like show my flicr photos without having to click the "show details" button.
  • Pablo DiCiacco · 1 year ago
    I see this is not an uncommon update problem:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/onewalru/public_html/FORUMS/wordpress_walrus/wp-admin/includes/template.php on line 92

    Curious, because WP has not file called "template.php". There is a "template-loader.php". ???

    Ran your 8/27 update and now all the feeds there last night are gone. I hate when that happens!

    Guess I'll wait for the next "update"!
  • Pablo DiCiacco · 1 year ago
    my bad...
    Line 92:

    $posts_count = ( $category->count > 0 ) ? "term_id'>$category->count" : $category->count;
  • Pablo DiCiacco · 1 year ago
    PHP error check of _lifestream.php shows something around line 277 in error.
  • Pablo DiCiacco · 1 year ago
    Wonderful, just wonderful... now my entire site is gone!

    Fatal error: Class 'LifeStream_PhotoFeed' not found in /home/onewalru/public_html/FORUMS/wordpress_walrus/wp-content/plugins/lifestream/feeds.inc.php on line 294

    Thank you so very much for the wonderful freekin' update!
  • Pablo DiCiacco · 1 year ago
    Ya know, I believe I have appropriate reason to be pissed off. Wouldn't you expect an "update" to be tested thoroughly first. I am feeling like a lab-rat. I got site back. Lifestream databases reported missing (table wp lifestream does not exist). Glad to have site back, but the layout is all messed up.
    This is really, really annoying... so much so I am forced to leave a vapid comment on the wp-plugin comments.
  • David Cramer · 1 year ago
    I'm sorry that you're having problems, but I'm not quite sure how your error is related. I don't do any messing with templates, and there's no errors in the code (syntax errors that is) that would cause an undefined error.
  • Austin Storm · 1 year ago
    Whoa, Pablo has some mild anger issues. I've been really amazed at how fast you've been rolling out the updates. Thanks for your work on this sweet plugin.
  • Pablo DiCiacco · 1 year ago
    Called therapist, took medication, better now.
  • Bandit · 1 year ago
    I have a small issue but not sure if you have seen it before or not. I included Youtube feeds to be shown on the generated page. When I upload a video to Youtube it shows the entry on the page but below it I just see a placeholder where I guess the video is supposed to be? Is this the way it should react? Should I get a link or should it show the actual video I uploaded?
  • Bandit · 1 year ago
    The new version fixed my issue. Thanks!!
  • Daniel Sale · 1 year ago
    Was wondering if Identi.ca could be made so that my status is seen instead of "danielsale's status on Saturday, 30-Aug-08 22:12:36 UTC"
  • Gray · 1 year ago
    having an issue with the Flickr feed. i supplied the same user ID as i did to the FlickrRSS plugin (which works). and nothing turns up on the Lifestream. i have another 2 feeds (blog and twitter) which work. it might be because my Flickr user ID is still a bunch of letters and numbers with @. MUST i use a proper username?
  • aRAY · 1 year ago
    If the youtube events can show details as the flickr does, it will be excellent. ;-)
  • Jittery Jim · 1 year ago
    Have a couple questions as to how to set this up in the sidebar (al la this site) but your forum is down. Any chance it'll be working soon?
  • jr · 1 year ago
    Hi,
    using WP 2.6.2 and last version of Lifestream 0.72d
    activation works but i have no option entry for lifestream. :((
    more over, i think you could create a widget to drag and drop in the widget panel for novice users, what do you think ?
  • nolageek · 1 year ago
    Not showing twitpic or flickr feeds for me.
  • nolageek · 1 year ago
    Oops, saved too soon. How about adding support for brightkite and dodgeball?
  • Scot · 1 year ago
    I see you have support for Identi.ca. How about the same for OpenMicroBlogger.com and instances of the software running it (openmicroblogger.org)? Both Identi.ca and Openmicroblogger.com use the same microblogging protocol.

    Cheers
  • elclinto · 1 year ago
    I get this error upon Refresh All Feeds:

    Fatal error: Call to undefined method SimplePie::enable_cache() in ... /home/.... plugins/lifestream/_lifestream.php on line 569
  • JLS · 1 year ago
    My daily digest posts are coming out empty. The post itself, if i try to edit it, has content. However, nothing shows when viewing the page itself... Any clue?
  • JLS · 1 year ago
    This is code that shows up on the blog source:
    ---------


    20
    Oct

    Diário@Web dia 2008-10-20






    ---------
    It should be somwhere between and
  • JLS · 1 year ago
    oh.. nevermind the last post, the code didn't parse.
  • Nico · 1 year ago
    Very good!! If all plugins could be setup with SVN like this that will be so cool :)
  • Makki · 1 year ago
    Not lworking in 2.7 dev of wp
  • Håkan Dahlström · 1 year ago
    Very smooth plugin. Thank you.
  • Lee · 1 year ago
    Hi, I did leave a comment on the forum but I dont think its being read so Im hoping for better luck here.
    I had Lifestream working fine on my Mac using MAMP to set up as server and use PHP5 but since Ive uploaded to my host (running PHP5 also) Nothing is being shown and in fact I cant get a single feed to activate never mind show up on my Lifestream page.
    I hope that its just me and this can be resolved easy enough but Im receiving error messages to do with cURL - " Error fetching feed from *feed address* (cURL error 7) " Ive also had a another cURL error number but it escapes me now.

    If its possible to guide me in the right direction Id be very grateful
    thanks
    Lee
  • Lee · 1 year ago
    Just to add the cURL error I now get it error 28
  • Rick · 1 year ago
    Trying to install Lifestream and ran into an issue.

    First, admittedly, I installed Lifestream running PHP4. I've since upgraded, de-activated and re-activated the plugin. Now, though, when I click the "Lifestream" link in the header, I get the following error:

    Warning: include(pages/feeds.inc.php) [function.include]: failed to open stream: No such file or directory in /home/.calli/richardfc76/rickcecil.com/blogtown/wp-content/plugins/lifestream/_lifestream.php on line 1337

    Warning: include() [function.include]: Failed opening 'pages/feeds.inc.php' for inclusion (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/.calli/richardfc76/rickcecil.com/blogtown/wp-content/plugins/lifestream/_lifestream.php on line 1337

    I double checked the path that starts with "/home" and it is correct. I've been doing some google searches on the problem and have found nothing. Certainly no PHP guy, so any advice or pointers would be much appreciated.
  • David Cramer · 1 year ago
    It seems as if it's possibly not doing relative includes. This is very strange behavior. I will change them to absolute in the next commit. Thanks!
  • Ryan · 1 year ago
    Where is the RSS feed on imdb's My Movies page? I can't find it. THanks
  • Hip Hop Makers · 1 year ago
    Great plug in. I'm using it on my site
  • Hip Hop Makers · 1 year ago
    I posted earlier. Once again this is a great plugin. I hacked it and made it into a news feed
    http://hiphopmakers.com/online-news
  • Tobias · 1 year ago
    Great plugin! However, I can't seem to delete any feeds, neither in the feed overview nor in the widget itself. I mark the feeds I want to dismiss and press delete. The page seems to reload or something, but the feed-entries are still there. Has anybody encountered the same problem? Any ideas on how to fix this?
    Cheers from Germany!
  • Sulcalibur · 1 year ago
    How would I go about getting this to work on a 2.7 install of Wordpress?

    Thanks :)
  • Simon · 1 year ago
    It works with the latest release of 2.7
  • Greg · 1 year ago
    This is a great great plugin! I can not find full documentation. Can anyone point me to the documentation - or - do I need to open up the code?
  • Matthias Heil · 1 year ago
    Same (feed cannot be deleted) problem for me (see Tobias a little down) - I don't want my blog feed (listed first) to show up on my LifeStream... help greatly appreciated!
  • Dan K. · 1 year ago
    First, great plugin and thank you.

    My Google Reader shared feeds are not appearing. I get the following error message:

    exception 'LifeStream_FeedFetchError' with message 'Error fetching feed from http://www.google.com/reader/shared/05994778350... (XML error: mismatched tag at line 38, column 83)' in /home/clope/public_html/keishi.biz/wp-content/plugins/lifestream/

    I am currently using Wordpress version 2.6.5. Thank you.
  • Greg · 1 year ago
    The download link is busted "404 File not found" over at wordpress.org
  • David Cramer · 1 year ago
    I'm committing version 0.85. If this doesn't fix the download link on WP.org I will host a copy here as well.
  • Greg · 1 year ago
    Thanks David.
  • David Cramer · 1 year ago