Comment Email Responder Plugin

Tagged Under :

Well… I was really wanting to get this plugin, the Comment Email Responder, installed and working. Because it is such a neat idea to be able to reply to comments not only by email, but also on the comment itself. And then have an email sent to the commenter.

So I was looking at it a little bit. I installed it on all three of my blogs. On two it was working great. But on this blog, Luna Tail, I didn’t see the little icon I was supposed to be seeing when I viewed comments.

So off to PHP land I went and looked at the code. The code contains an if statement that looks to see if the user is level 10. If so, it displays the envelope. If not, it falls out of the if statement.

I displayed some of the variables, and I found that my admin login ID did not display a 10. I went and created a new user, and gave her admin status, and logged in through IE and guess what? New user had a 10.

So off to the database I went. There is an entry in the usermeta table called wp_user_level. My new user had this entry in the DB, and it was set to 10. But my admin user did not have this entry in the DB at all.

So I went to w3schools, where I always have to go for SQL because I don’t use it enough to remember SQL sytax, and got an insert line to add this field to that table in the DB, for my admin user (user 1), and give it a value of 10. Viola, works like a dream.

Now I can see the envelope icon on this blog and use the comment email responder. Woo Hoo!

I love code. I love PHP. It’s too much fun to work in. :) I don’t do it nearly enough.

NOTE: Read comments for further information about this fix.

[tags]comment email responder, wordpress, plugins, wordpress plugins[/tags]

Comments:

(39) Comments posted for Comment Email Responder Plugin

Make a comment

CommentLuv Enabled

Luna Tail is Digg proof thanks to caching by WP Super Cache