Author Archive

I just voted for CommentLuv for the Mashable Web Awards

Posted by Andy Bailey at 19 November, 2008, 6:49 pm
10

The web awards voting has started!

Please consider giving commentluv a vote for the blog plugins category

I like the feature of being able to automatically tweet about it with a link after you’re done.

Popularity: 1% [?]

Category : Blog News

Forcing the issue with CommentLuv

Posted by Andy Bailey at 19 November, 2008, 10:32 am
21

The new version of CommentLuv has been going since September 1st and has been written about on:

  1. My Forum
  2. The plugin page on my blog
  3. The CommentLuv site
  4. The wordpress codex
  5. The Wordpress MU Site
  6. Every registered member
  7. Through visiting every site I get notified about in Google Alerts that is using the old version.
  8. Running a massive contest encouraging people to upgrade to the latest version

The old version is responsible for about 50,000 unnecessary hits to my server every day from automated spam bots that post direct to the wordpress comment post file, sometimes the server would fold from a busy spam day (it once had 1 million spam hits in a few hours!) so I had to find another way to let the people know that their version needs updating (just in case they didn’t see any of the above places).

Not to mention all the people complaining that their latest post wasn’t shown on some blogs, this is down to Feedburner not passing back fresh feeds to scripts unless they have cache enabled. The new version does this but the old one doesn’t. (feedburners fault, not mine!)

So, I put in a small message to be sent back instead of the last blog post if it was requested in the first 10 minutes of each hour;

CommentLuv needs updating on this site. Please download the latest version and install it on your site. This message will apear during the first 10 minutes of each hour. This remote script will cease returning posts in 7 days.

Is that so bad?

The alternative is just delete the remote scripts and everyone using the old version will be left with nothing happening instead.

What do you think? should I keep with the message or just delete the remote scripts so nothing gets sent back to the people that don’t upgrade or view their plugins page?

I’ve only seen one site complain but it was an un-ranked, 0.4 average comments per post site written anonymously who posted to their site instead of contacting me direct via the squillion ways possible (my email, forum, site, phone, skype, yahoo, gmail……) but, ever the conscientious coder, I don’t want to offend anyone by daring to ask them to upgrade a plugin because their old one can affect the performance of my server and subsequently, the 100-200K last blog posts that get sent back to the users who DID upgrade. :-/

If you see the message above when someone comments, it means the blog being commented on needs to upgrade the plugin for the good of everyone who uses the proper version (in fact, for the good of the whole universe!) I have a support ticket function open at CommentLuv so if anyone needs help updating or even if you want to shout at me, you just need to click… (surely that is more efficient and quicker than writing a whole post about it?)

Popularity: 1% [?]

Category : Blog News

Drowning in code - why WP2.7 will be a journey for me

Posted by Andy Bailey at 16 November, 2008, 2:35 pm
23

Someone sent me a message saying that the options page doesn’t update on CommentLuv for WP2.7b3 and it’s set off a small chain reaction in my head.

I checked another plugin that does work for the options update in 2.7b3 and compared it to my code and that’s where the kerbumph happened in my head…

My wordpress plugin code needs a complete overhaul! you see, it has grown organically (as in like wild weed beds) since it’s inception as a simple one file plugin to what it is now which is a large bit of code with functions calling functions and some (I admit) messy solutions to problems.

Not my fault though! These messy solutions were made at a time when my coding knowledge was expanding (which is always). My coding knowledge is pretty much down to writing this plugin and it’s support site so it’s only natural that code I wrote just 2 months ago could have benefited from my brain of now.

Not a problem… this just means I need to rewrite the whole plugin and add some things I have wanted to do for a long time but I didn’t know how!

Here’s a list of things I have in my mind for it (more for my own sake when I come back and stare at old posts for inspiration)..

  • Move the options page to a separate file
    This will make it easier to update options and be compatible with 2.7
  • Fix so no config for form fields required (done)
    This came to me while thinking about eggs. go figure!
  • Use external javascript file for CommentLuv and heart box
    I wanted to do this a long time ago but didn’t know if my server could handle it, turns out it can and it has the advantage of me being able to change the way commentluv functions at one place and everyone that uses it gets the update immediately. no more relying on people to update their plugin!
  • put a refresh image next to the last blog post so someone can refresh their link
    This is so I can simplify the code of the javascript for speedier running and compatibility
  • add alert function so remote script can send back an alert to the user if they’re commenting too fast
  • make all platform versions look the same (blogger done)
  • retrieve commentluv member id from options page via ajax
  • automatically detect if blog is using ID commenting and take appropriate action so commentluv still works

There’s a lot more I imagine but the most important thing for me is the options page and remote javascript instead of included.

The house will be busy this week and the contest is going mad so when all that’s over, I’ll see if I can go to a quiet place and be out of contact for a week while I make the changes. oh gwd, I see a large growth of chin whiskers happening…

Popularity: 1% [?]

Category : Blog News | Code

this.parentNode has no properties jQuery

Posted by Andy Bailey at 13 November, 2008, 6:31 pm
4

Ever had this error when you’re running a jQuery script?

this.parentNode has no properties jQuery

This innocuous error, in my experience comes down to two things:

  1. You are trying to get the ID of a parent object. Like if you want the form ID from knowing the name field. jQuery(”#name”).parents(”form”).attr(”id”); and the form doesn’t have the attribute of ID set.
  2. Scriptaculous , more specifically effects.js . If the effects.js is being used on the same page then this error happens. The solution is to download the latest version (1.8.1) and use that instead. You can overwrite just the effects.js from the package and you wont get the error any more!

Exciting? yes because no matter how many searches I made I couldn’t find the answer. Google groups and forums all talked about something else causing it like noConflict() or loading scriptaculous first.

Now you know. Use the latest version of Scriptaculous (if you must use it at all) with jQuery.

Popularity: 1% [?]

Category : Blog News | Code | ajax

Contest ideas

Posted by Andy Bailey at 12 November, 2008, 8:12 pm
8

The great CommentLuv contest is going well, 67 people have registered their sites to take part so far! I had to rewrite the contest page at commentluv so it doesn’t load them all until the user presses a button.

There are an ever increasing amount of comments being made every day, amazing to think it’s only been live for 4 days now!

3 people have won (1 person won twice!) already and there are going to be at least another 10 prizes to go out before 22nd Nov

I want to see if the contest page or a new one showing the current prize can attract some prize sponsors.. I put a link to buy any of the gadgets that I stock in my ebay store under each prize in the prize list and they are getting some pretty good clicks. I’ve sold more than the usual amount of memory cards in the past week and I’m sure it’s the contest doing it.

My idea is to code a widget that shows the current prize and who has donated it that can be displayed on the commentluv blogs that want to be part of the contest. I link it to a page on CommentLuv.com for the prize details including links to purchase the product at the sponsors site.

Given enough time for the contest to run, it could generate some good traffic and maybe more sales…

Maybe I can convince one of my suppliers to go with the idea and make a really good prize donation like an Asus eee PC or other fancy electronic gadget?

What do you think? I’d love to hear your opinion

Popularity: 1% [?]

Category : Blog News

Intense Debate can work with CommentLuv

Posted by Andy Bailey at 11 November, 2008, 10:06 am
19

Just spent a couple of hours playing with the Intense Debate plugin after getting my invitation code this morning and I’m really happy to report that it will be compatible with CommentLuv. Well, it will be compatible with the new version of CommentLuv.

Intense debate isn’t working fully with OpenID yet but I made some test comments as a non-logged in user and it was able to add the last blog post so I’m confident that I can get it working with someone logged in to IntenseDebate.

By adding a small bit to the commentluv script that allows users to enter their IntenseDebate username to their profile it will work when they comment on IntenseDebate blogs when they’re logged in.

Ironically, it was what I learned making the JS-kit commentluv that got IDcommentluv working in such a short time (I got the invitation code at 8.45am and had commentluv working on it by 10:45am <- the same day! lol)
I’ve deactivated it now, I prefer the wordpress comments system at the moment because ID still isn’t able to handle openID well enough.

When ID goes public and enough people use it then I will finalize the code for commentluvID and release it. Nice to know it wont be too hard (oh god why did I say that?!)

Popularity: 1% [?]

Category : Blog News

Contest off to a flying (bump then flying again) start!

Posted by Andy Bailey at 9 November, 2008, 1:31 pm
25

The Contest did start and after my host managed to kill a nasty process eating thingy on the server, we have our first winner!

Witchypoo not content with winning the sneaky quick contest has continued rampaging through the contest blogs and leaving great comments, she ends up back here and wins again!

Look how the win appears in the comment.

The next prize will be available tomorrow but don’t rest your keyboard yet! the more comments you make on the day before the prize is available then the more chance you have of winning!

claim instructions are sent by the system to the email address registered at commentluv.com so now is a good time to make sure that you can receive emails from commentluv.com. You can do a lost password routine and not click the link sent to you to make sure you can receive emails from my server.

I see a lot of bounces come back from peoples mail boxes saying that it’s full, if the claim email doesn’t get through to you then you can’t claim. Check it today!

Popularity: 1% [?]

Category : Blog News | contests

CommentLuv contest should go live tomorrow!

Posted by Andy Bailey at 8 November, 2008, 12:04 pm
45

I spent the entire day (minus a 2 hour trip to the haberdashery <- don't ask!) coding the final pages and scripts for the contest. I have the prizes up and descriptions entered. I was originally going to do 1 gadget per day for a whole month but I neglected to work in how much it would be to post them all!
continue

Popularity: 2% [?]

Category : Blog News | Social Networking | Wordpress | contests

Sneaky secret contest before the CommentLuv Contest starts

Posted by Andy Bailey at 6 November, 2008, 4:22 pm
9

I’m doing some testing with live data for the CommentLuv contest, there may be some extra bits added on the end of the pull down box for debug info for qualified commenters (those with a CommentLuv account and profile entered).

While it’s doing it’s thing so I can see the stats of how many and where etc, it will be doing a dry run for the winners. This little dress rehearsal will choose the winner in the same way it will be done when the contest goes live but instead of returning the notification, it will prepend a dot (.) to the post title.

There are 2 dots to be found and they only appear on the last blog posts of a winner who is qualified and commenting on a blog that is registered for the contest. If you have a last blog post that gets ‘chosen’ for this dry run then CONGRATULATIONS! you win a $20 Amazon gift certificate. You need to contact me so I can arrange to send you the prize (after I confirm the data in the database).

You can see a list of blogs who have registered for the contest here

it’s only for today so there’s not much time left!! get commenting!

Popularity: 1% [?]

Category : contests

A collection of Last Suppers

Posted by Andy Bailey at 1 November, 2008, 1:14 pm
23


Battlestar Galactica

Star Wars

The Simpsons

The Sopranos

The Muppets!

Popularity: 3% [?]

Category : Funnies
follow fiddyp on twitter

18 online now
the most online was 176
Sponsors
available ad space available ad space available ad space available ad space available ad space available ad space