Mephisto - comment notification
We're all busy and automatic notification is nearly always preferable to checking RSS feeds or logging onto a site every day.
With this plugin, you will be emailed the moment someone has left a comment on your website.
First off, log into your VPS and navigate to your Mephisto directory:
cd ~/public_html/railsdomain.com/
Once there, use subversion to 'check out' the latest version of the plugin (enter the following code on one line):
svn co
http://opensource.agileevolved.com/svn/root/rails_plugins/mephisto_comment_notification/trunk/
vendor/plugins/mephisto_comment_notification
Now restart the server. If you are using Litespeed:
sudo /usr/local/lsws/bin/lswsctrl restart
That's all you need to do.
Customised Email
The default notification email subject is:
[Mephisto] A new comment has been posted for 'article name'
To change this to one more suited to your site, you need to edit line #9 of:
vendor/plugins/mephisto_comment_notification/lib/comment_notifier.rb
To customise the body of the email then you need to edit:
vendor/plugins/mephisto_comment_notification/lib/views/comment_notifier/comment_notification.rhtml
Troubleshooting
If you do not receive an email, ensure you have restarted your server and secondly, check that when you installed Mephisto, you set the correct email address in the config/environment.rb file (see Mephisto Install article for details).
Plugin author: Luke Redpath
PickledOnion
Digg it |
del.icio.us |
reddit |
StumbleUpon

Subscribe to Feed
Article Comments:
Donovan Dillon 28 Sep, 2007
As usual, very useful jaja indeed! Thanks Pickled. I am encountering an error with the 'svn' line. Here's the command:
Here's the error I am receiving:
Thoughts?
PickledOnion 29 Sep, 2007
Donavan,
There is a space between ..../trunk/ and vendor/...
You are basically downloading .../trunk into the vendor/... folder.
Hope my '...' shortcuts make sense.
PickledOnion.