Changeset 222577
- Timestamp:
- 03/28/2010 06:03:42 PM (16 years ago)
- Location:
- comment-emailer/trunk
- Files:
-
- 2 edited
-
comment-emailer.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
comment-emailer/trunk/comment-emailer.php
r222126 r222577 3 3 * @package commented-emailer 4 4 * @author Gordon French 5 * @version 1.0. 15 * @version 1.0.2 6 6 */ 7 7 /* 8 Plugin Name: Comment edEmailer8 Plugin Name: Comment Emailer 9 9 Plugin URI: http://wordpress.gordonfrench.com/ 10 Description: Comment edEmailer, allows you to modify the email that is sent to the post author when a new comment has been made. The default wordpress email says from wordpress@ and lacks formating. With Commented Emailer you can pick whaat information gets sent to the author and how that information will look.10 Description: Comment Emailer, allows you to modify the email that is sent to the post author when a new comment has been made. The default wordpress email says from wordpress@ and lacks formating. With Commented Emailer you can pick whaat information gets sent to the author and how that information will look. 11 11 12 12 Author: Gordon French 13 Version: 1.0. 113 Version: 1.0.2 14 14 Author URI: http://wordpress.gordonfrench.com 15 15 */ 16 16 17 17 18 $commentedOptions = get_option("commentedOptions"); 19 if ($commentedOptions['enabled'] == 'yes'){ 20 //please commet this line out if having activation problems 21 //after activation please uncomment this line. 22 // to comment out this line just add the two // before it. 23 include 'notify_postauthor.php'; 24 } 25 26 27 18 28 // add the settings page to the main sidebar under settings 19 29 function commented_menu() { 20 //add_options_page('My Plugin Options', 'My Plugin', 'capability_required', 'your-unique-identifier', 'my_plugin_options');21 30 add_options_page('commented-emailer', 'Comment Email', '8', 'commented_emailer', 'commented_emailer'); 22 //add_submenu_page('post-new.php',...) 23 //add_submenu_page('post-new.php', 'RSS to Post', '8', 'RSS-to-Post-Settings', 'my_plugin_options'); 31 commented_admin_warnings(); 24 32 } 25 33 add_action('admin_menu', 'commented_menu'); 34 35 36 37 // deletes the options array so that you 38 //do not get an error on reactivation 39 function commented_remove() { 40 $commentedOptions['enabled'] == 'no'; 41 update_option("commentedOptions", $commentedOptions); 42 43 delete_option("commentedOptions"); 44 45 } 46 register_deactivation_hook( __FILE__, 'commented_remove' ); 26 47 27 48 … … 304 325 } 305 326 306 $commentedOptions = get_option("commentedOptions");307 if ($commentedOptions['enabled'] == 'yes'){308 include 'notify_postauthor.php';309 }310 311 327 312 328 ?> -
comment-emailer/trunk/readme.txt
r222126 r222577 24 24 25 25 26 == Frequently Asked Questions == 27 28 = Fatal Error after upgrade = 29 Sorry, this issue has been fixed but if you have an older version please 30 disable the plugin before upgrading. If you have already tried to upgrade 31 and get this error you will need to edit one of the files. 32 33 Go to plugin - editor and from the upper dropdown select comment-emailer 34 then edit the top file comment-emailer/comment-emailer.php 35 36 Line 22 says include 'notify_postauthor.php'; please comment this line out 37 activate the plugin then disable the plugin. Once you have diasabled the plugin 38 you can uncomment this line and then reenable the plugin. 39 26 40 27 41 == Installation == … … 31 45 e.g. 32 46 33 1. Upload `plugin-name.php`to the `/wp-content/plugins/` directory47 1. Upload the complete folder to the `/wp-content/plugins/` directory 34 48 2. Activate the plugin through the 'Plugins' menu in WordPress 35 49 3. Enable the plugin on the comment Email tab under settings. … … 57 71 * fixed image path 58 72 73 = 1.0.2 = 74 *repaired an update issues 75 59 76 60 77
Note: See TracChangeset
for help on using the changeset viewer.