Go with the flow joe! New CommentLuv version started

Tags:
718 views

CommentLuv first flowchart

It seems CommentLuv is enjoying an upsurge of installs again, this usually happens when a big blogger like The Brown Baron, Revellian, Howtospoter or John Cow installs it and gives it a mention so I thought I had better address some (small) issues with it and give it a rewrite.

I’ve sketched out the first draft of the flow chart which is a good reminder in my own mind of how things link together. It’s a chart that will expand further and take up more and more space, from experience I think it will take another 4 or 5 sketches to get the full flow down on paper and then I can take that and refine and expand it to take into account the individual functions and then I can start on the coding proper!

Some things I am going to put in this new version…

  • Options Page
    • Change displayed text under comment area
    • Change styling options for last blog post display
    • Change message for last blog post display
    • Option to use external script for blogs with no curl support
    • Setting for how hard the plugin should look for the feed
    • Setting for enable CommentLuv by default
    • Timeout setting for MAGPIE
  • AJAX support for background fetching during comment entry*
  • Include MAGPIE library in plugin directory**
  • Tidy up WP_OPTIONS function for older versions of CommentLuv

* Use jquery to call the function after the comment author URL field loses focus, this will store the authors feed in the cache so when the user submits the comment, the feed in the cache will be used. This will prevent any hanging around after the comment has been submitted while the plugin searches for the feed location.

** Currently, there are some cases of the default include of MAGPIE saving each and every feed cache to the WP database in WP_OPTIONS/OPTION_NAME which tends to make it grow quite large, also some users have reported it being set to “autoload on” which can have an effect on load times. This wont happen if I use a separate MAGPIE include.

So, that’s it, those are my ideas for the new version of CommentLuv. Do you have any suggestions for things you’d like to see?

Popularity: 4% [?]

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Tags: , , , , ,

Print This Post Print This Post

Related Posts

  • CommentLuv gets more muscle
  • The Archimedes Commentluv Principle
  • Introducing AJAX CommentLuv
  • CommentLuvvers - Interesting sites that use CommentLuv
  • CommentLuvvers - Interesting sites that use the CommentLuv Plugin
  • CommentLuv is working!
  • Beta testing CommentLuv 1.0
  • 27 Responses to “Go with the flow joe! New CommentLuv version started”

    1. 1
      Bobby Revell (34 comments.) Says:
      MyAvatars 0.2

      I’m a big blogger? Hahaha! I can’t wait for the new version - I think it will be even cooler than it already is. I can’t think of anything to help out, but I do support you 100% and love Comment Luv!

      Bobby Revell’s last blog post..Advertising On Your Body and Soul

    2. 2
      Andy Bailey Says:
      MyAvatars 0.2
      Bobby: this is what makes you a ‘big blogger’, you’re here on a post that mentions you and it wasn’t because you were prompted by a pingback, it’s because you actually go out and read your visitors blogs and take the time to participate. You’ll always be a big blogger in my eyes because of your sincerity, authority, reach and influence. Thanks so much for your support, it’s what motivates me to put so much time and effort into creating things like CommentLuv.
    3. 3
      Rich (7 comments.) Says:
      MyAvatars 0.2

      I like comment luv as well, without which I guess I wouldn’t know about a terrific piece of work like Mr. Revels’ blog. What an amazing blog that is, by the way, makes be feel a tad inadequate, making me painfully aware of my limitations, both technically and as a so-called a ‘blogger’. In fact, describing myself thus would seem to be an bit on an insult to people like Bobby and Andy.

      Thats the trouble, I like reading blogs but often leave without comment, which is just not nice and something I must learn to correct. It feels a bit like turning up at a party, getting as much free food and drink as you can, then leaving without introducing yourself to the hosts. Or something like that.

      So, what feature would I like to see?

      No ideas I am afraid, I know my place

      :)
      Rich’s last blog post..e-lottery success- the Sue Pearson way.

    4. 4
      Rich (7 comments.) Says:
      MyAvatars 0.2

      That’s strange, in a fit of guilt for all the comments I could have made but did’t, I headed over the Bobbys’ blog to make ammends, and it didn’t work! Twice!

      Oh well, at least I made the effort, eh !

      :)
      Rich’s last blog post..La la la Latvia!

    5. 5
      Andy Bailey Says:
      MyAvatars 0.2
      Rich » don’t worry Rich, Bobby has set all comments to hold for moderation so he can reply to each and every one as it comes in. That’s why it looks like your comment didn’t work, it’ll turn up as soon as he’s had a chance to read it
    6. 6
      Rich (7 comments.) Says:
      MyAvatars 0.2

      Ahhh of course, silly me.

      Oh well, I will leave this thread with a nice quote I found today.

      “A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort.”

      Herm Albright
      1876-1944, Author

      Rich’s last blog post..La la la Latvia!

    7. 7
      Andy Bailey Says:
      MyAvatars 0.2
      Rich: haha! great quote! well done on your latvia signup too. :-)
    8. 8
      Todd Morris (5 comments.) Says:
      MyAvatars 0.2

      Hey Andy,

      I really like your CommentLuv plugin, and I’ve been seeing it all over lately, so apparently I’m not alone. It definitely works too … for example, I’m here because I followed a comment you left on Bobby’s blog. Although truth be told, I’m sure I would have seen in it my feed reader eventually too.

      I do have one question about the plugin. It doesn’t appear to me that it automatically removes “nofollow” from comments (even here on your blog). To have comments followed, I have to use CommentLuv in conjunction with one of the DoFollow plugins (LinkLove in my case). Perhaps, if it’s not too difficult, you could add that feature to the options panel of a future update? ie, let me set the number of comments somebody has to leave before their links become followed … basically just combine the functionality of your plugin with something similar to LinkLove.

      I hope that was clear :)
      Thanks,
      Todd

      Todd Morris’s last blog post..I Started Blogging Just Over A Year Ago

    9. 9
      Andy Bailey Says:
      MyAvatars 0.2
      Todd: thanks for your comments, the plugin does have some code in it that is supposed to prevent wordpress from adding a nofollow attribute to the link but it only does it at time of submission so if wordpress gets to do something with the comment afterwards like during a moderation or if it is edited then wordpress adds the nofollow back in. I will have a look at linklove and see if I can incorporate it’s functionality into the new version of CL
    10. 10
      Pete White (13 comments.) Says:
      MyAvatars 0.2

      Andy,

      I’ve been getting similar requests for the Drupal version and I’m going to integrate an options page for settings such as having it automatically selected as default.

      I think we need to discuss how we can separate the core functionality (ie the functions that are used for fetching RSS feeds) from the Wordpress/Drupal code.

      Perhaps put them in a separate file that can be included with our own code?

      Email me if you want to discuss this further. I’ve been getting a lot of good feedback about the plugin for Drupal.

      Pete White’s last blog post..How to Create Your Own HDR Photos/Photomatix tutorial

    11. 11
      Andy Bailey Says:
      MyAvatars 0.2
      Pete: I am working on this very thing as we speak, I should have something for you tomorrow (if there’s not much work on in the office!)
    12. 12
      Pete White (13 comments.) Says:
      MyAvatars 0.2

      Excellent, I have this issue that you might be able to look at whilst you are coding, I think its a problem with escaped characters http://drupal.org/node/239327 .

      I’m moving offices on Thursday and house on friday so wont be able to get much work done this week.

      We need some sort of developers page on the commentluv site you think?

      Pete White’s last blog post..How to Create Your Own HDR Photos/Photomatix tutorial

    13. 13
      Andy Bailey Says:
      MyAvatars 0.2
      Pete: I think this is something to do with the way MAGPIE treats escapted characters, it doesn’t like the apostrophe’s in words either. It is fine to pick up japanese posts et al but seems to have issues with some blogs. I think I might need to do something to take out the reliance of magpie as the feed parser, I’m sure there must be an easier way!

      I’ll look into getting a developer page on commentluv.com today…

    14. 14
      Gobba (2 comments.) Says:
      MyAvatars 0.2

      Nice one! Do you know when youll be finished? =) Is there anything i can do to help? *php coder*

      cheers

      Gobba’s last blog post..Server rooms of DEATH!

    15. 15
      Andy Bailey Says:
      MyAvatars 0.2
      Gobba: I was playing about with it last night so I can remove the need to depend on the magpie includes within wordpress.,.. check out the new post about it later…
    16. 16
      Pete White (13 comments.) Says:
      MyAvatars 0.2

      Andy,

      Great news - are you writing your own equivalent functions for fetching RSS feeds then?

      Thanks

      Pete

      Pete White’s last blog post..Earn up to £5000 from Laptops Direct

    17. 17
      Andy Bailey Says:
      MyAvatars 0.2
      Pete: actually, that’s what I used to do in the first versions of CL. I ended up going with the included magpie files because that seemed to work more often that relying on using fopen or file commands which sometimes hiccupped on some cheaper hosting packages.
      I am working on it right now…
    18. 18
      Michael (2 comments.) Says:
      MyAvatars 0.2

      Hi,

      Michael from Germany here.

      If i could make a wish, i’d suggest a function that allows a commenter to choose which of his post would get linked to.

      So that not the last post shows up, but the one that the commenter has chosen, because he regards it most relevant or topically close to the post he is commenting on.

      This way an array of related blog post might evolve, which could even lead to a new sort of post-tags …

      Hmm, perhaps too visionary or abitious …?

      What do you think?

      Regards,

      Michael

      Michael’s last blog post..New Tool Will Put Your Listbuilding On Steroids

    19. 19
      Stephen Cronin (3 comments.) Says:
      MyAvatars 0.2

      Hi Andy,

      Great plugin, but unfortunately I fall into the camp that are having problems with Magpie saving every feed in the wp_options table.

      I think it stored the complete feed for 58 sites (116 records in wp_options, 2 for each). This increased the size of wp_options from 0.5MB to 3.5MB. For the moment, I’ve had to disable the plugin.

      I remain a firm believer in the plugin and I’m looking forward to the update. Sounds good! Thanks for a great plugin.

      Stephen Cronin’s last blog post..New WordPress Plugin - KeywordLuv

    20. 20
      Andy Bailey Says:
      MyAvatars 0.2
      Stephen: there is some simple code that can clean out those lines

      <?php
      include_once(’wp-config.php’);
      include_once(’wp-includes/wp-db.php’);

      $sql = ‘DELETE FROM `wp_options` WHERE `option_name` LIKE \’rss_%\”;
      $results = $wpdb->query($sql);
      echo ” $results rows found and removed containing rss_*”;

      $sql = ‘OPTIMIZE TABLE `wp_options`’;
      $results=$wpdb->query($sql);

      echo “\noptimize table (0/1) $results”;
      ?>

      I’ll put it on the main commentluv page too, just put that code into a text file, save it as clean.php and upload it to your root of your blog and then browse to it on your browser, that should get rid of any excess rss

      new version is soon!

    21. 21
      Stephen Cronin (3 comments.) Says:
      MyAvatars 0.2

      Hi Andy,

      Thanks, great service! Actually, I’m sorted (via CPanel), but there may be others.

      I think the new version is going to be GREAT and I can’t wait to get my hands on it…

      Stephen Cronin’s last blog post..New WordPress Plugin - KeywordLuv

    22. 22
      CommentLuv Problem | wp_options Table Huge | More Than Scratch The Surface Says:
      MyAvatars 0.2

      [...] When I went to Andy Bailey’s site to report this, I found this is a known problem, which will be resolved in the next version. From his post discussing the upcoming CommentLuv upgrade: [...]

    23. 23
      Ian Richardson (1 comments.) Says:
      MyAvatars 0.2

      G’Day Andy,

      For some reason CommentLuv doesn’t seem to be working.

      I have Wordpress 2.3.2 installed and the latest version of CommentLuv.

      I’ve had a couple of my reader leave comments with no links back, subsequently they contacted me asking why.

      I tested it by adding a comment of my own, but didn’t receive a link back to my latest post.

      Can you help please?

      Ian

      Ian Richardsons last blog post..I’m giving more Luv, now with CommentLuv and KeywordLuv

    24. 24
      Stop Grinding Teeth - Sheila (1 comments.) Says:
      MyAvatars 0.2

      I never thought about getting two links back when you comment on a blog with CommentLuv. Now there is more reason to comment than ever before!

      Stop Grinding Teeth - Sheilas last blog post..How To Stop Grinding Teeth At Night

    25. 25
      TruckerTom (2 comments.) Says:
      MyAvatars 0.2

      I agree that encouraging comments is a great thing - even if the people reading are just commenting to get that link. As long as they read, contribute to the article and put something intelligent - then they should have that link there. It is a good service to help other people get those links.

    26. 26
      Utah Heavy Hauling (1 comments.) Says:
      MyAvatars 0.2

      I’m hoping commentluv will start implementing the same features from other software - like keywordluv and some spam prevention aps

    27. 27
      teddY (1 comments.) Says:
      MyAvatars 0.2

      Dear Andy,

      Thanks for sharing the fixing code for older versions of CommentLuv. I’ve replaced the quotations mark so that they’ll be parsed correctly:

      <?php
      include_once('wp-config.php');
      include_once('wp-includes/wp-db.php');

      $sql = 'DELETE FROM `wp_options` WHERE `option_name` LIKE \'rss_%";
      $results = $wpdb->query($sql);
      echo " $results rows found and removed containing rss_*";

      $sql = 'OPTIMIZE TABLE `wp_options`';
      $results=$wpdb->query($sql);

      echo "noptimize table (0/1) $results";
      ?>

      However, even after doing so, I’m still getting an error message that goes like this:
      Parse error: syntax error, unexpected T_STRING in /home/teddy/public_html/clean.php on line 9

      Thanks a lot for your help!

      p/s: I’ve upgraded to the latest verion but rolled back to v0.999 because the latest version doesn’t seem to work properly. I’m currently using Wordpress 2.5, with several comment-related plugins - Spam Karma 2 and WP Thread Comment.

    Leave a Reply

    Blog Comment Policy
    I encourage comments on this blog and really appreciate people taking the time to add to the discussion. I use dofollow and CommentLuv so there is more incentive to leave relevant comments. However, comments that are made for the sole purpose of getting a link back to your site or using key words or phrases as your name will have the url and last blog post removed. Anonymous comments are welcome but only if they contribute to the discussion. You are fine to disagree with my post, but being rude to me or other people that comment will see your comment removed and your IP banned.