DISQUS

Development on a shoestring: New release for the FriendFeed Comments WordPress plugin - remembering your details

  • Scobleizer · 1 year ago
    I can't wait to use this on my wordpress.com blog. Thanks!
  • Glenn Slaven · 1 year ago
    Well I guess you just need to 'lean' on Matt to get him to add it to the service :)
  • adapar · 1 year ago
    This looks great! I am in the middle of a redesign and I was looking for something like this... I will test it this weekend and let you know how it goes. Thanks!
  • colinwalker · 1 year ago
    Glenn, I'm getting an error "toggleFriendFeedDiscussions is undefined" with this version. It's been completely removed/reinstalled and still happening.

    Gone back to 1.4.7 for now
  • Glenn Slaven · 1 year ago
    Colin, could you check out your site's template & check whether it implements the wp_head(); hook in the header template?

    I'm inserting javascript methods into the page header with that hook & if it doesn't run the plugin will fail
  • colinwalker · 1 year ago
    Yes, the wp_head call is there. Everything else works just not the show/hide toggle.
  • Glenn Slaven · 1 year ago
    Odd. None of the javascript that is supposed to be included on the page is
    being rendered and prototype isn't being included either, it's like the
    header function isn't being called at all.

    I've just checked in an update that may help, give the WordPress plugin site
    10 minutes or so to refresh & then update to version 1.5.1 and hopefully
    that will help

    cheers

    2008/5/18 Disqus <>:
  • colinwalker · 1 year ago
    I wonder if it's something to do with my theme. 1.5.1 isn't working either
  • Glenn Slaven · 1 year ago
    Nope, it was me. I missed something. It only showed up if you didn't have the comments & likes form turned on. My fault for not testing properly before releasing! 1.5.2 is up on the Wordpress pugins site now
  • colinwalker · 1 year ago
    Yep, that's sorted it :) Thanks.
    You go and design a new feature and I don't even use it - typical ;)
  • Glenn Slaven · 1 year ago
    Awesome, sorry 'bout that
  • adapar · 1 year ago
    Well, it worked like a charm after a little hack to make it work along with Gengo 2.5.1; both 'blog_url' matched but, as the language is appended to the url, the 'path' part didn't match (in line 179 of friendfeed-comments.php).

    I have a nitpick about the security note in your post: maybe it would be nice if people are warned that their API keys will be stored in the blog's database in clear text. Otherwise, they might assume a local cookie is handling that bit.

    Good work!
  • Glenn Slaven · 1 year ago
    Adapar, what did you need to change in the path matching to make it work?

    Also, I've updated the post to make the security of your API key more clear
  • adapar · 1 year ago
    The change is a crude hack: I merely commented everything after the && in this line that begins with "$is_same_blog = ($blog_url['host'] == $post_url['host'])". I will change it later to check if Gengo is installed so it can behave accordingly. If you want, I can send the changes later this week.

    Thanks for updating the post, it's much clearer now.
  • mastermaq · 1 year ago
    I simply can't get this to work! Whenever I enabled the plugin, and go into the settings, it looks like this:

    http://blog.mastermaq.ca/images/ffcomments1.gif

    Then I click save, and the page goes blank, like this:

    http://blog.mastermaq.ca/images/ffcomments2.gif

    Any ideas?
  • mastermaq · 1 year ago
    Got it to work finally. Had to do a string replace in friendfeed-comments.php, to change "<?=" to "<?php echo", without the quotes obviously. Maybe this is because I am on Windows? Anyway, did that, deleted plugin data, and re-entered the settings and now it works.
  • Glenn Slaven · 1 year ago
    Ah good point, I hadn't thought of that. I really shouldn't be using those
    shortcuts. I'll get rid of them in the next release

    2008/5/27 Disqus <>:
  • Lars Damgaard Nielsen · 1 year ago
    I can not get this awesome plugin to work :-(

    I have put the wp_ffcomments() in the Main Index Template inside the loop like this (its in the fifth line from the bottom of the code) :

    <?php get_header(); ?>

    <div id="content">

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class="post" id="post-<?php the_ID(); ?>">
    <div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
    <div class="title">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link til <?php the_title(); ?>"><?php the_title(); ?></h2>
    <div class="postdata"><span class="category"><?php the_category(', ') ?></span> <span class="comments"><?php comments_popup_link('Ingen kommentarer »', '1 Kommentar »', '% Kommentarer »'); ?></span></div>
    </div>
    <div class="entry">

    Skrevet af <?php the_author(); ?>


    <?php the_content('Continue reading »'); ?>


    <?php
    if(function_exists("the_tags"))
    the_tags('\\\\ tags: ', ', ', '
    ');
    ?>
    Trackback URL: <?php the_permalink() ?>trackback/
    <?php wp_ffcomments() ?>



    </div><!--/entry -->

    </div><!--/post -->

    <?php endwhile; ?>

    I am not the most skilled programmer, so i don't know what i'm doing wrong ...