written my first wordpress plugin!!!
The smart comments plugin written by Patrick was not compatible with the newer Wordpress 1.5 version which I'm currently using. So I opened the file, modified it, and voila! A new version is born.
Feel free to download the Smart Comments Plugin v 2.0 here.
Instructions:
1) Put the file smartcomments.php in the wp-content/plugins folder.
2) Activate it by going to your Admin -> Plugins page.
3) Then, in each of the index.php and archive.php files, find this line:
< ?php comments_popup_link('No comments »', '1 comment »',
'% comments »'); ?>
4) Simply replace comments_popup_link with smart_comments_popup_link and you're done.
Hope it saves you some time!










This is so obviously machine-generated and I've actually seen this before so I know which script you're using. Hehehehhe. Post some personal posts soon!
Elaine — 4th November, 2005 @ 11:27 am
already contributing to the wordpress community! :D
yvette — 4th November, 2005 @ 11:37 am
Are you going to be a techo-lawyer?
eddy — 4th November, 2005 @ 11:42 am
Hey, I can't believe people are getting use out of this still, but it's great that you updated it! (I never did it because I decided to stop using it myself.) Whoo-hoo! My 10 seconds of fame.
Feel free to edit the wiki or whatnot, and add your name in. (Like it was that hard to write the plugin in the first place :-)
Patrick O'Leary — 4th November, 2005 @ 12:55 pm
新招...
高招!
勁! XD
Kirk — 4th November, 2005 @ 4:33 pm
[...] Smart Comments Link è un hack che esegue la funzione comments_popup_link() a seconda dello stato dei commenti all'articolo. Se i commenti sono chiusi e non ci sono commenti all'articolo, il link ai commenti non viene visualizzato. [...]
WordPress Italy » Blog Archive » Plugin WordPress: Smart Comments Link for 1.5 — 5th November, 2005 @ 6:10 pm
now that i'm awake i think i know what you're talking about in your post. :P arrr
good job :D
e — 5th November, 2005 @ 6:46 pm
thanks to all =)
this is only a very simply plugin which does not deserve so much praise.
and i didn't have to write it from scratch, thanks to Patrick's original work! =p
ryanne — 6th November, 2005 @ 12:13 am
Smart Comments Plugin V 2.0 WordPress Plugin
WordPress Plugin Details: Category: Comment Plugins Name:Smart Comments Plugin V 2.0...
Web Programming — 17th November, 2005 @ 2:27 am
Hi.
Is this plugin compatible with wordpress version 2.0?
I would like that you write the smart comment plugin that remove link comment.
Thank you very much.
Afshin — 30th January, 2006 @ 5:05 pm
Nice! Keep up the good work!
Doufer — 12th April, 2006 @ 11:23 am
[...] Smart Comments Plugin: Prints “comments off” instead of “no comments” if comments are turned off. [...]
jetshack.com » Blog Archive » Plugin List — 9th May, 2006 @ 11:02 pm
Thanks for your cool plugin...
Ferit Kunoglu — 1st January, 2007 @ 5:31 pm
Is there a way to mae it work with 2.1 it doesn't seem to work now that I upgraded.
alice — 27th January, 2007 @ 5:07 am
since structural changes have been made in 2.0 or newer versions of wordpress, i'm afraid this plugin will have to retire sooner or later, unless somebody kindly updates the plugin like i did with the previous version :)
laihiu — 27th January, 2007 @ 4:29 pm
testing
netrace — 31st January, 2007 @ 6:43 am
I'm interested in gravatars in your comment. So, here is a try.
Aoyoyo — 2nd February, 2007 @ 4:54 pm
[...] http://laihiu.nicesoda.com/2005/11/04/post378 [...]
Wordpress Plugins Themes Download » Blog Archive » — 21st February, 2007 @ 1:24 pm
very good
sumo — 23rd February, 2007 @ 2:17 pm
[...] SMART Comments A plugin which prints “comments off” instead of “no comments” if comments are turned off. By Ryanne Lai and Patrick O'Leary. I'm not totally sure if this works because i don't usually turn comments off. So, yeah. [...]
Muzikistah » Blog Archive » plugins — 12th March, 2007 @ 8:08 pm
Hi,
where is this comment plugin that I am typing into now? I have been trying to find this...
Andrew Tan — 2nd April, 2007 @ 11:43 pm
hi andrew - which comment plugin exactly are you referring to? the smart comments plugin or the monster one?
laihiu — 3rd April, 2007 @ 12:00 am
[...] instead of "no comments" if comments are turned off. Author: Ryanne Lai Hiu Yeung Plugin Page Attached [...]
Smart Comments Plugin v 2.0 - DevelopeNet.com — 16th April, 2007 @ 5:11 pm
[...] Visit [...]
WP Plugins DB » Blog Archive » Smart Comments Plugin v 2.0 — 20th May, 2007 @ 3:48 pm
[...] Returns a list of the related entries based on active/passive keyword matches. -- Plug-in: Smart Comments Version: 2.0 Author: Ryanne Lai & Patrick O'Leary Desc: A plugin which prints [...]
WordPress Plug-in List for Meandering Passage, Aug. 2007 : Meandering Passage — 11th August, 2007 @ 3:03 am
i use wp 2.0 and the plugin is working fine! thx
manele — 11th December, 2007 @ 1:58 am
Good plugin thanks.
Estetik — 29th January, 2008 @ 10:14 pm
[...] Visit [...]
WordPress Plugins Database » Plugin Details » SMART COMMENTS PLUGIN v. 2.0 — 1st February, 2008 @ 2:50 pm
Very nice plugin. Congrats.
estetik — 28th March, 2008 @ 2:07 pm