Changeset 862311
- Timestamp:
- 02/21/2014 12:14:18 PM (12 years ago)
- Location:
- new-post-notification
- Files:
-
- 6 added
- 3 edited
-
tags/1.0.7 (added)
-
tags/1.0.7/languages (added)
-
tags/1.0.7/languages/npn_plugin-de_DE.po (added)
-
tags/1.0.7/languages/npn_plugin-ja.po (added)
-
tags/1.0.7/npn_plugin.php (added)
-
tags/1.0.7/readme.txt (added)
-
trunk/languages/npn_plugin-de_DE.po (modified) (1 diff)
-
trunk/npn_plugin.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
new-post-notification/trunk/languages/npn_plugin-de_DE.po
r809604 r862311 84 84 #@ npn_plugin 85 85 msgid "You can deactivate the subscription in your" 86 msgstr "Du kannst diese Benachrichtigungen dea cktivieren: "86 msgstr "Du kannst diese Benachrichtigungen deaktivieren: " 87 87 88 88 #: npn_plugin.php:98 -
new-post-notification/trunk/npn_plugin.php
r829663 r862311 4 4 * Plugin URI: http://kilozwo.de/wordpress-new-post-notification-plugin 5 5 * Description: Simply notifies users if a new post has been published. This is an addon for User-Access-Manager. Users will only be notified if they have access. Your subscribers can also decide which posts they would like to be noticed on. 6 * Version: 1.0. 66 * Version: 1.0.7 7 7 * Author: Jan Eichhorn 8 8 * Author URI: http://kilozwo.de … … 183 183 if ( 'npn_mailnotify' == $column_name ){ 184 184 $mailstatus = get_user_meta($user_id, 'npn_mailnotify'); 185 if ($mailstatus[0]=='1') {return __('active','npn_plugin');} else {return __('not active','npn_plugin');} 185 $user_cats = get_user_meta($user->ID, 'npn_mailnotify_category'); 186 if ($mailstatus[0]=='1') { 187 $user_cats = explode(',',$user_cats[0]); 188 $out = ''; 189 foreach ($user_cats as $category){ 190 $out .= get_cat_name($category).', '; 191 } 192 if ($out == ', ') {return __('All categories','npn_plugin');} else return $out; 193 } 194 else 195 { 196 return __('not active','npn_plugin'); 197 } 186 198 } 187 199 return $value; -
new-post-notification/trunk/readme.txt
r829668 r862311 5 5 Requires at least: 3.0.1 6 6 Tested up to: 3.8 7 Stable tag: 1.0. 67 Stable tag: 1.0.7 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Simply notifies users if a new post has been published. This is an addon for User-Access-Manager. Users will only be notified if they have access.11 Simply notifies users if a new post has been published. This can also be used as an addon for User-Access-Manager. Users will only be notified if they have access. 12 12 13 13 == Description == … … 15 15 Simply notifies registered users if a new post has been published. If you use the User-Access-Manager (UAM) Plugin by GM_Alex, users will only be notified if they have access to the post. Notifies the admin if a user changes his subscription status. There is zero configuration. Available in English, German and Japan. 16 16 17 The subscription to new posts is activated to new users b edefault. Based on the post category, users are able to choose which notifications they would like to receive. They can also deactivate all notifications.17 The subscription to new posts is activated to new users by default. Based on the post category, users are able to choose which notifications they would like to receive. They can also deactivate all notifications. 18 18 19 19 … … 30 30 31 31 == Changelog == 32 33 = 1.0.7 = 34 * Error in German translation fixed 32 35 33 36 = 1.0.6 =
Note: See TracChangeset
for help on using the changeset viewer.