Aprašymas
Comment Connection is a plugin that turns an element of comment text to a link for a previous comment. Whenever an author uses @commenter, the text after @ is automatically linked to the previous comment it refers to.
The plugin works by searching each comment for an occurance of @. Where it finds one, the plugin searches the comment database for a comment on the same post written by the person being referenced. By doing it this way, the plugin only adds one database query for each referencing comment.
If the type after the @ symbol does not correspond to a comment, no changes are made.
Currently tested successfully with the most current version of WP, 2.7. If you have trouble with earlier versions, or even have it work properly on earlier versions, please let me know.
For a complete list of the changes from each version, please visit the plugin homepage.
Be sure to check out my other plugins at my WordPress profile.
USAGE
Inside a comment, write @commenter where commenter is the name of the author you are replying to. The plugin will successfully find a link when the commenter text is followed by a new line, colon (:), comma (,) or a dash (-).
LIMITATIONS
- Commenter must be an exact match of the original author’s name.
- Many database queries can occur for a post with many referencing comments.
- Only links to the last comment made by commenter (ie. if the commenter writes many comments before the @, the most recent one is linked to).
Diegimas
- Copy the folder comment-connection into your WordPress plugins directory (wp-content/plugins).
- Log in to WordPress Admin. Go to the Plugins page and click Activate for Comment Connection.
DUK
- What is the purpose of this plugin?
-
Comment Connection allows readers to follow conversations by automatically linking to comments that are replied to. This becomes especially important with longer conversations.
- What symbol triggers the response?
-
The @ symbol currently modifies comments, though more options may become available later.
- How does the plugin know when not to add a link?
-
In addition to the @ symbol, the reference must be followed by either a new line, colon or comma. This means that neither email addresses nor regular names are turned into a link unless it has the @ symbol.
- Will the plugin work if I use a different case?
-
Yes. Comment Connection will still find the reference if the case is different. Ex. @john smith: will reference the comment by John Smith.
Atsiliepimai
Įskiepis neturi atsiliepimų.
Programuotojai ir komandos nariai
“Comment Connection” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.
AutoriaiIšverskite “Comment Connection” į savo kalbą.
Domina programavimas?
Peržiūrėkite kodą, naršykite SVN repozitorijoje, arba užsiprenumeruokite kodo pakeitimų žurnalą per RSS.