Yes these names are getting really original aren’t they! This little plugin works hand in hand with Satollos Newsletter plugin for WordPress which is a little crude but does the trick. I don’t entirely agree with the Lite version being free and the Extras package not but we all have to make money I suppose.
I had a couple of requests for clients that use the plugin regardless so instead of playing with the core and, therefore, making it unupdateable (is that a word?), I decided to write a plugin that will only work is the Newsletter plugin is installed.
My features are simple:
- Import all WP users as Newsletter Subscribers
- Import all WP commenters (whether they like it or not) as Newsletter subscribers
- Import a TSV or CSV string (textarea copy in method) Import
- Comment post auto subscribe with opt out checkbox
The entire plugin focuses on getting you subscribers albeit not in a necessarily good way. I suppose I could make the plugin a little more ethical by not bypassing the double opt in. Any one interested in me doing this say so and I shall re-release with an option either way (or better, just do what the newsletter plugin itself is set to do).
This was written in a couple of hours so is a little crude but gets the job done. Feel free to take it and use it if you feel that your newsletter subscriber counts could do with a little ‘help‘
Usage
Download Plugin -> Upload to your site -> Activate it!
Import options and settings are on an admin page with the link in the bottom left hand corner of the admin pages.




SB Author Comments: Author Commenting plugin for WordPress
April 15th, 2010To my knowledge it’s not possible to comment on an author in WordPress. “Why would you want to do that?” you ask… Well for example a client of mine is running a classifieds site using the Classipress theme. The site uses classifieds as jobs for people to do and the people posting and signing up to the site are tradesmen. Comments, in this case, can be used as a feedback system and therefore are a valuable addition.
The wp_comments table doesn’t have support or scope to store comments with an associated user (as opposed to post). At this juncture I would have inserted a null (or 0) value into the post_id column and added a row into the wp_commentmeta table with the user ID it refers to. However, I didn’t write the core code for the project so I simply updated a neat little system written by Dan Wellman. Dan’s system is pretty good and uses AJAX and JSON to add comments to a new database table with two fields (author and comment). It was what I would call ‘a good start’ as DB details were required in a number of different files and the database had room for improvement. I have a few more plans for the code but for now have changed a couple of things and bundled it into a WordPress plugin for you.
In my version the database table is created for you, it has several more fields including a primary key (!), timestamps and room for additional information (not currently utilised) to be stored. The WordPress database class is used now so no duplication of the connection details is necessary.
Take a look at the plugin and comments and suggestions for additions are very welcome.
Download
SB Author Comments (1.84 kB)
Usage
Upload and activate the plugin as normal. Then add the following code to your author.php theme template making sure to edit the $author_id variable as appropriate.
<?php if (function_exists('sb_ac_comment_form')) { echo sb_ac_comment_form($author_id); } ?>Credit
Once again credit goes to Dan Wellman who detailed the integration into his site on his blog
No comments »
Posted in AJAX, PHP, Plugins, Time Savers, Tutorials, Wordpress
Tags: comment author Plugin Wordpress Wordpress Plugins