Postie - Version 1.3.2

Version Description

(2009.08.27) = * tags are now always an array, even if no default tags are set * Subject is showing up again if you do not have the IMAP extension installed * More information on the IMAP extension and more user-friendly installation * Fixed problems with smtp server settings in 1.3.1 * Added russian translation (thanks to fatcow.com)

Download this release

Release Info

Developer robfelty
Plugin Icon 128x128 Postie
Version 1.3.2
Comparing to
See all releases

Code changes from version 1.3.0 to 1.3.2

Revision CHANGED
@@ -1,2 +1,2 @@
1
- Revision: 145640
2
- Last Changed Date: 2009-08-13 17:08:39 -0400 (Thu, 13 Aug 2009)
1
+ Revision: 149093
2
+ Last Changed Date: 2009-08-25 17:48:05 -0400 (Tue, 25 Aug 2009)
config_form.php CHANGED
@@ -556,15 +556,17 @@ attribute_escape($config['AUDIOTEMPLATE']) ?>" />
556
  </div>
557
  <div id="simpleTabs-content-8" class="simpleTabs-content">
558
  <?php include('faq.html'); ?>
559
- </div>
560
- <input type="submit" name="Submit" value="<?php _e('Update Options', 'postie') ?> &raquo;" class='button' />
 
 
561
  </form>
562
  <div id="w3c">
563
  <a href="http://validator.w3.org/check?uri=referer"><img src="<?php echo '../wp-content/plugins/postie/images/valid-xhtml10-blue.png'; ?>" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
564
  <a href="http://jigsaw.w3.org/css-validator/check/referer"><img style="border:0;width:88px;height:31px" src="<?php echo '../wp-content/plugins/postie/images/vcss-blue.gif'; ?>" alt="Valid CSS!" /></a>
565
  </div>
566
  Postie Version:
567
- $Id: config_form.php 145637 2009-08-13 21:08:39Z robfelty $
568
  </div>
569
 
570
  <?php $iconDir = get_option('siteurl') . '/' . PLUGINDIR . '/postie/icons'; ?>
556
  </div>
557
  <div id="simpleTabs-content-8" class="simpleTabs-content">
558
  <?php include('faq.html'); ?>
559
+ </div> <p class='submit'>
560
+ <input type="submit" name="submit" value="<?php _e('Update Options',
561
+ 'postie') ?> &raquo;" />
562
+ </p>
563
  </form>
564
  <div id="w3c">
565
  <a href="http://validator.w3.org/check?uri=referer"><img src="<?php echo '../wp-content/plugins/postie/images/valid-xhtml10-blue.png'; ?>" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
566
  <a href="http://jigsaw.w3.org/css-validator/check/referer"><img style="border:0;width:88px;height:31px" src="<?php echo '../wp-content/plugins/postie/images/vcss-blue.gif'; ?>" alt="Valid CSS!" /></a>
567
  </div>
568
  Postie Version:
569
+ $Id: config_form.php 149134 2009-08-26 02:26:46Z robfelty $
570
  </div>
571
 
572
  <?php $iconDir = get_option('siteurl') . '/' . PLUGINDIR . '/postie/icons'; ?>
cronless_postie.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Cronless Postie
4
  Plugin URI: http://blog.robfelty.com/plugins/postie
5
  Description: Checks e-mail periodically using wordpress's built-in scheduling mechanism
6
  Author: Robert Felty
7
- Version: 1.3.0
8
  Author URI: http://blog.robfelty.com
9
  */
10
 
4
  Plugin URI: http://blog.robfelty.com/plugins/postie
5
  Description: Checks e-mail periodically using wordpress's built-in scheduling mechanism
6
  Author: Robert Felty
7
+ Version: 1.3.2
8
  Author URI: http://blog.robfelty.com
9
  */
10
 
faq.html CHANGED
@@ -1,24 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <h3>Frequently Asked Questions</h3>
2
- <h4>Mail is not showing up right when I send html (rich formatted) e-mail!</h4>
3
 
4
  <p>Make sure you set the preferred text type to html</p>
5
 
6
- <h4>Do I need to any code to my theme for postie to work?</h4>
7
 
8
  <p>No. </p>
9
 
10
- <h4>I read somewhere to add an iframe to my footer. Should I do this?</h4>
11
 
12
  <p>No. Do not add an iframe in your footer to get postie to check mail
13
  periodically. To check e-mail periodically, either set-up a cron job, or use
14
  cronless postie. See installation instructions</p>
15
 
16
- <h4>My mail host requires SSL, but postie will not allow me to select pop3-ssl or imap-ssl</h4>
17
 
18
  <p>You must have php-imap installed on your server for this to work. Ask your
19
  hosting provider about this.</p>
20
 
21
- <h4>Can I use postie to check a gmail account?</h4>
22
 
23
  <p>Yes. You can use either pop3-ssl or imap-ssl with a gmail account. Before
24
  attempting to use with postie, make sure that you enable pop or imap in your
@@ -47,7 +60,7 @@ this would be just foo)</li>
47
  </ul></li>
48
  </ul>
49
 
50
- <h4>My posts show up as being posted by 'admin' instead of me. Why?</h4>
51
 
52
  <p>If your admin account is linked to bar@gmail.com, and you send mail from
53
  bar@gmail.com, it will show up as being posted by admin. If you have a
@@ -59,7 +72,7 @@ johndoe@gmail.com to foo@gmail.com, it gets posted as "John Doe". </p>
59
  <p>If you send an e-mail to your postie address from an e-mail address that is no
60
  t linked to a wordpress user, it will get posted as admin.</p>
61
 
62
- <h4>Images aren't showing up at all?</h4>
63
 
64
  <p>There are a couple possible reasons for this. First, check to see if you can
65
  add an image through wordpress's normal posting mechanism. If not, then there
@@ -72,14 +85,14 @@ provider about this.</p>
72
  sure that it is</li>
73
  </ol>
74
 
75
- <h4>Can I delete the wp-files directory needed by postie version &lt;1.3.0?</h4>
76
 
77
  <p>If you have posts published already by older versions of postie, getting rid
78
  of those directories will delete any files you might have had associated with
79
  those old posts. If you don't have any such posts, then you can safely delete
80
  them.</p>
81
 
82
- <h4>How can I get rid of stupid stuff my e-mail provider adds to my messages?</h4>
83
 
84
  <p>To strip off stuff that they add at the beginning of a message, start your
85
  post with :start</p>
@@ -87,7 +100,7 @@ post with :start</p>
87
  <p>To strip off stuff that they add at the end of a message, end your
88
  post with :end</p>
89
 
90
- <h4>How can I add custom attachment icons?</h4>
91
 
92
  <p>Simply upload the icons you want to the postie/icons/custom directory. You
93
  must name the icons according to the following scheme:
@@ -116,4 +129,30 @@ icons)</p>
116
  <li>pdf - portable document format</li>
117
  <li>rtf - rich text format</li>
118
  <li>txt - plain text document</li>
119
- </ul>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <li id='question-0'><a href='#answer-0'>Mail is not showing up right when I send html (rich formatted) e-mail!</a></li>
2
+ <li id='question-1'><a href='#answer-1'>Do I need to any code to my theme for postie to work?</a></li>
3
+ <li id='question-2'><a href='#answer-2'>I read somewhere to add an iframe to my footer. Should I do this?</a></li>
4
+ <li id='question-3'><a href='#answer-3'>My mail host requires SSL, but postie will not allow me to select pop3-ssl or imap-ssl</a></li>
5
+ <li id='question-4'><a href='#answer-4'>Can I use postie to check a gmail account?</a></li>
6
+ <li id='question-5'><a href='#answer-5'>My posts show up as being posted by 'admin' instead of me. Why?</a></li>
7
+ <li id='question-6'><a href='#answer-6'>Images aren't showing up at all?</a></li>
8
+ <li id='question-7'><a href='#answer-7'>Can I delete the wp-files directory needed by postie version &lt;1.3.0?</a></li>
9
+ <li id='question-8'><a href='#answer-8'>How can I get rid of stupid stuff my e-mail provider adds to my messages?</a></li>
10
+ <li id='question-9'><a href='#answer-9'>How can I add custom attachment icons?</a></li>
11
+ <li id='question-10'><a href='#answer-10'>Can I add special text to the body of the post when using postie?</a></li>
12
+ <li id='question-11'><a href='#answer-11'>Can I add special text to the title of the post when using postie?</a></li>
13
+ <li id='question-12'><a href='#answer-12'>Is the IMAP extension required for postie?</a></li>
14
  <h3>Frequently Asked Questions</h3>
15
+ <h4 id='answer-0'>Mail is not showing up right when I send html (rich formatted) e-mail!</h4>
16
 
17
  <p>Make sure you set the preferred text type to html</p>
18
 
19
+ <h4 id='answer-1'>Do I need to any code to my theme for postie to work?</h4>
20
 
21
  <p>No. </p>
22
 
23
+ <h4 id='answer-2'>I read somewhere to add an iframe to my footer. Should I do this?</h4>
24
 
25
  <p>No. Do not add an iframe in your footer to get postie to check mail
26
  periodically. To check e-mail periodically, either set-up a cron job, or use
27
  cronless postie. See installation instructions</p>
28
 
29
+ <h4 id='answer-3'>My mail host requires SSL, but postie will not allow me to select pop3-ssl or imap-ssl</h4>
30
 
31
  <p>You must have php-imap installed on your server for this to work. Ask your
32
  hosting provider about this.</p>
33
 
34
+ <h4 id='answer-4'>Can I use postie to check a gmail account?</h4>
35
 
36
  <p>Yes. You can use either pop3-ssl or imap-ssl with a gmail account. Before
37
  attempting to use with postie, make sure that you enable pop or imap in your
60
  </ul></li>
61
  </ul>
62
 
63
+ <h4 id='answer-5'>My posts show up as being posted by 'admin' instead of me. Why?</h4>
64
 
65
  <p>If your admin account is linked to bar@gmail.com, and you send mail from
66
  bar@gmail.com, it will show up as being posted by admin. If you have a
72
  <p>If you send an e-mail to your postie address from an e-mail address that is no
73
  t linked to a wordpress user, it will get posted as admin.</p>
74
 
75
+ <h4 id='answer-6'>Images aren't showing up at all?</h4>
76
 
77
  <p>There are a couple possible reasons for this. First, check to see if you can
78
  add an image through wordpress's normal posting mechanism. If not, then there
85
  sure that it is</li>
86
  </ol>
87
 
88
+ <h4 id='answer-7'>Can I delete the wp-files directory needed by postie version &lt;1.3.0?</h4>
89
 
90
  <p>If you have posts published already by older versions of postie, getting rid
91
  of those directories will delete any files you might have had associated with
92
  those old posts. If you don't have any such posts, then you can safely delete
93
  them.</p>
94
 
95
+ <h4 id='answer-8'>How can I get rid of stupid stuff my e-mail provider adds to my messages?</h4>
96
 
97
  <p>To strip off stuff that they add at the beginning of a message, start your
98
  post with :start</p>
100
  <p>To strip off stuff that they add at the end of a message, end your
101
  post with :end</p>
102
 
103
+ <h4 id='answer-9'>How can I add custom attachment icons?</h4>
104
 
105
  <p>Simply upload the icons you want to the postie/icons/custom directory. You
106
  must name the icons according to the following scheme:
129
  <li>pdf - portable document format</li>
130
  <li>rtf - rich text format</li>
131
  <li>txt - plain text document</li>
132
+ </ul>
133
+
134
+ <h4 id='answer-10'>Can I add special text to the body of the post when using postie?</h4>
135
+
136
+ <p>Yes. You can create your own function, and use the postie_post filter
137
+ Two short examples are included in the filterPostie.php file</p>
138
+
139
+ <h4 id='answer-11'>Can I add special text to the title of the post when using postie?</h4>
140
+
141
+ <p>Yes. You can create your own function, and use the postie_post filter
142
+ Two short examples are included in the filterPostie.php file</p>
143
+
144
+ <h4 id='answer-12'>Is the IMAP extension required for postie?</h4>
145
+
146
+ <p>The IMAP extension is not required, but it is strongly recommended, especially
147
+ is you are using non-English text. There is more information on php.net about
148
+ installing the IMAP extension. If you have control over your server, it is
149
+ often not hard to install. </p>
150
+
151
+ <p>On Ubuntu, try
152
+ sudo apt-get install php5-imap</p>
153
+
154
+ <p>On Fedora, try
155
+ sudo yuminstall php-imap</p>
156
+
157
+ <p>The IMAP extension is known to be installed on the following popular webhosts:
158
+ * Dreamhost</p>
filterPostie.php ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: Postie Filter
4
+ Plugin URI: http://blog.robfelty.com/plugins/postie
5
+ Description: Adds my own custom filter to messages posted by postie
6
+ Version: 1.3.2
7
+ Author: Robert Felty
8
+ Author URI: http://blog.robfelty.com/
9
+ */
10
+
11
+ /*
12
+ * Any filter function you write should accept one argument, which is the post
13
+ array, which contains the following fields:
14
+ 'post_author'
15
+ 'comment_author'
16
+ 'comment_author_url'
17
+ 'user_ID'
18
+ 'email_author'
19
+ 'post_date'
20
+ 'post_date_gmt'
21
+ 'post_content'
22
+ 'post_title'
23
+ 'post_modified'
24
+ 'post_modified_gmt'
25
+ 'ping_status'
26
+ 'post_category'
27
+ 'tags_input'
28
+ 'comment_status'
29
+ 'post_name'
30
+ 'post_excerpt'
31
+ 'ID'
32
+ 'customImages'
33
+ 'post_status'
34
+
35
+ Your function can modify any of these fields. It should then return the array
36
+ back.
37
+
38
+ Two example functions are provided here
39
+ */
40
+
41
+ function filter_content($post) {
42
+ //this function prepends a link to bookmark the category of the post
43
+ $this_cat = get_the_category($post['ID']);
44
+ //var_dump($this_cat);
45
+ $link = '<a href="' . get_category_link($this_cat[0]->term_id) .
46
+ '">Bookmark this category</a>' . "\n";
47
+ $post['post_content'] = $link . $post['post_content'];
48
+ return ($post);
49
+ }
50
+
51
+ function filter_title($post) {
52
+ //this function appends "(via postie)" to the title (subject)
53
+ $post['post_title']= $post['post_title'] . ' (via postie)';
54
+ return ($post);
55
+ }
56
+
57
+ function auto_tag($post) {
58
+ // this function automatically inserts tags for a post
59
+ $my_tags=array('cooking', 'latex', 'wordpress');
60
+ foreach ($my_tags as $my_tag) {
61
+ if (stripos($post['post_content'], $my_tag)!==false)
62
+ array_push($post['tags_input'], $my_tag);
63
+ }
64
+ return ($post);
65
+ }
66
+
67
+ function add_custom_field($post) {
68
+ //this function appends "(via postie)" to the title (subject)
69
+ add_post_meta($post['ID'], 'postie', 'postie');
70
+ return ($post);
71
+ }
72
+
73
+ add_filter('postie_post', 'filter_title');
74
+ add_filter('postie_post', 'filter_content');
75
+ add_filter('postie_post', 'add_custom_field');
76
+ add_filter('postie_post', 'auto_tag');
77
+
78
+ ?>
languages/postie-ru_RU.mo ADDED
Binary file
languages/postie-ru_RU.po ADDED
@@ -0,0 +1,356 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Postie\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/limit-login-attempts\n"
5
+ "POT-Creation-Date: 2009-01-28 17:17+0000\n"
6
+ "PO-Revision-Date: 2009-08-10 00:29+0300\n"
7
+ "Last-Translator: Fat Cow <zhr@tut.by>\n"
8
+ "Language-Team: Fat Cow <zhr@tut.by>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-Language: Russian\n"
13
+ "X-Poedit-Country: RUSSIAN FEDERATION\n"
14
+ "X-Poedit-SourceCharset: utf-8\n"
15
+
16
+ #: config_form.php:18
17
+ msgid "Postie Options"
18
+ msgstr "опции Postie"
19
+
20
+ #: config_form.php:18
21
+ msgid "Reset Configs To Default"
22
+ msgstr "восстановить конфигурацию по умолчанию"
23
+
24
+ #: config_form.php:2
25
+ msgid "If you would like to start over - you can click the button on the right to reset all configurations to the default."
26
+ msgstr "если выхотите нчать сначала - вы должны нажать на клавишу справа для восстановления всех конфигураций по умолчанию."
27
+
28
+ #: config_form.php:30
29
+ msgid "To run the check mail script manually"
30
+ msgstr "вручную прогонять проверку почты"
31
+
32
+ #: config_form.php:32
33
+ msgid "Run Postie"
34
+ msgstr "проверка Postie"
35
+
36
+ #: config_form.php:39
37
+ msgid "If you have problems with Postie this will run a special script to test your configuraiton options"
38
+ msgstr "еслиувас есть проблемы с Postie, то будет установлен специальный прогон для тестирования опций конфигурации"
39
+
40
+ #: config_form.php:41
41
+ msgid "Test Config"
42
+ msgstr "тестировать конфигурацию"
43
+
44
+ msgid "Recommended"
45
+ msgstr "рекомендуется"
46
+
47
+ msgid "Yes"
48
+ msgstr "да"
49
+
50
+ msgid "No"
51
+ msgstr "нет"
52
+
53
+ #: config_form.php
54
+ msgid "Authorization Settings"
55
+ msgstr "разрешение установок"
56
+
57
+ #: config_form.php
58
+ msgid "Allow Anyone To Post Via Email"
59
+ msgstr "разрешить каждому посылать через почту"
60
+
61
+ #: config_form.php
62
+ msgid "Changing this to yes is NOT RECOMMEDED - anything that gets sent in will automatically be posted. This could make it easier to compromise your server - YOU HAVE BEEN WARNED."
63
+ msgstr "Changing this to yes is NOT RECOMMEDED - anything that gets sent in will automatically be posted. This could make it easier to compromise your server - YOU HAVE BEEN WARNED."
64
+
65
+ #: config_form.php
66
+ msgid "Minimum Access Level Required To Post:"
67
+ msgstr "минимальный необходимый уровень доступа для того, чтобы посылать сообщения:"
68
+
69
+ #: config_form.php
70
+ msgid "This allows you to grant access to other users to post if they have the proper access level"
71
+ msgstr "это позволяет вам предоставлять доступ к другим пользователям, если у них есть соответствующий уровень доступа"
72
+
73
+ #: config_form.php
74
+ msgid "Authorized Addresses"
75
+ msgstr "разрешить адрес"
76
+
77
+ #: config_form.php
78
+ msgid "Put each email address on a single line. Posts from emails in this list will be treated as if they came from the admin. If you would prefer to have users post under their own name - create a WordPress user with the correct access level."
79
+ msgstr "установите адрес почты на единственную линию. сообщения из почты в этом списке будут обработаны, если они пройдут через админа. если вы предпочитаете иметь пользователей под их собственными именами, создайте пользователя WordPress с правильным уровнем доступа."
80
+
81
+ #: config_form.php
82
+ msgid "Directory Settings"
83
+ msgstr "директорий настроек"
84
+
85
+ #: config_form.php
86
+ msgid "Directory For Photos:"
87
+ msgstr "директорий для фото"
88
+
89
+ #: config_form.php
90
+ msgid "Directory For Files:"
91
+ msgstr "директорий для файлов:"
92
+
93
+ #: config_form.php
94
+ msgid "Message Settings"
95
+ msgstr "настройки сообщений"
96
+
97
+ #: config_form.php
98
+ msgid "Default post by mail category:"
99
+ msgstr "посто по умолчанию через категорию почты"
100
+
101
+ #: config_form.php
102
+ msgid "Default Title:"
103
+ msgstr "название по умолчанию:"
104
+
105
+ #: config_form.php
106
+ msgid "Live from the field"
107
+ msgstr "Live from the field"
108
+
109
+ #: config_form.php
110
+ msgid "Prefered Text Type (HTML/plain):"
111
+ msgstr "предпочтение типа текста (HTML/простой):"
112
+
113
+ #: config_form.php
114
+ msgid "plain"
115
+ msgstr "простой"
116
+
117
+ #: config_form.php
118
+ msgid "html"
119
+ msgstr "html"
120
+
121
+ #: config_form.php
122
+ msgid "Forward Rejected Mail"
123
+ msgstr "переслать отвергнутое сообщение"
124
+
125
+ #: config_form.php
126
+ msgid "Allow Subject In Mail"
127
+ msgstr "допустить в зависимости от сообщения"
128
+
129
+ #: config_form.php
130
+ msgid "Allow HTML In Mail Subject"
131
+ msgstr "допустить html в зависимости от почты"
132
+
133
+ #: config_form.php
134
+ msgid "Allow HTML In Mail Body"
135
+ msgstr "допустить html в почте"
136
+
137
+ #: config_form.php
138
+ msgid "Encoding for pages and feeds:"
139
+ msgstr "кодировать страницы и питание"
140
+
141
+ #: config_form.php
142
+ msgid "UTF-8"
143
+ msgstr "UTF-8"
144
+
145
+ #: config_form.php
146
+ msgid "it should handle ISO-8859-1 as well"
147
+ msgstr "it should handle ISO-8859-1 as well"
148
+
149
+ #: config_form.php
150
+ msgid "Decode Quoted Printable Data"
151
+ msgstr "декодировать вводимые данные"
152
+
153
+ #: config_form.php
154
+ msgid "Should be yes in most cases."
155
+ msgstr "нужно согласие вбольшинстве случаев"
156
+
157
+ #: config_form.php
158
+ msgid "Supported File Types"
159
+ msgstr "поддерживаемые типы файлы"
160
+
161
+ #: config_form.php
162
+ msgid "Put each type on a single line."
163
+ msgstr "устанить кждый тип на единственной линии."
164
+
165
+ #: config_form.php
166
+ msgid "Banned File Names"
167
+ msgstr "запрещенные имена файлов"
168
+
169
+ #: config_form.php
170
+ msgid "Put each file name on a single line.Files matching this list will never be posted to your blog."
171
+ msgstr "установите каждый файл на единственной линии. сочетание файлов в этом списке никогда небудет опубликовано в вашем блоге"
172
+
173
+ #: config_form.php
174
+ msgid "Drop The Signature From Mail"
175
+ msgstr "Достать сигнатуру из письма"
176
+
177
+ #: config_form.php
178
+ msgid "Signature Patterns"
179
+ msgstr "образец подписи"
180
+
181
+ #: config_form.php
182
+ msgid "Put each pattern on a seperate line and make sure to escape any special characters."
183
+ msgstr "установите образец на ссылке и проверьте с целью избежения специальныххарактеристик"
184
+
185
+ #: config_form.php
186
+ msgid "Image Settings"
187
+ msgstr "образец настроек"
188
+
189
+ #: config_form.php
190
+ msgid "No GD Support"
191
+ msgstr "нет GD поддрежки"
192
+
193
+ #: config_form.php
194
+ msgid "Currently your installation of PHP does not have GD installed so no image resizing can occur."
195
+ msgstr "к настоящему времени устновка PHP не имеет установленного GD, таким образом, можно изменить размер изображения"
196
+
197
+ #: config_form.php
198
+ msgid "Post Images At End"
199
+ msgstr "опубликовать изображения в конце"
200
+
201
+ #: config_form.php
202
+ msgid "No means they will be put before the text of the message."
203
+ msgstr "нет средств, они будут установлены до текста сообщения"
204
+
205
+ #: config_form.php
206
+ msgid "Resize Large Images"
207
+ msgstr "изменить размер большихизображений"
208
+
209
+ #: config_form.php
210
+ msgid "Maximum Image Width:"
211
+ msgstr "максимальная ширина изображеня"
212
+
213
+ #: config_form.php
214
+ msgid "pixels"
215
+ msgstr "пиксели"
216
+
217
+ #: config_form.php
218
+ msgid "JPEG Compression:"
219
+ msgstr "JPEG сжатие"
220
+
221
+ #: config_form.php
222
+ msgid "%"
223
+ msgstr "%"
224
+
225
+ #: config_form.php
226
+ msgid "Use ImageMagick"
227
+ msgstr "использовать ImageMagick"
228
+
229
+ #: config_form.php
230
+ msgid "convert binary location:"
231
+ msgstr "преобразование бинарной позиции:"
232
+
233
+ #: config_form.php
234
+ msgid "only needed if you are using ImageMagick"
235
+ msgstr "всё то нужно, если вы используете ImageMagick"
236
+
237
+ #: config_form.php
238
+ msgid "should be /usr/bin/convert"
239
+ msgstr "должно быть /usr/bin/преобразование"
240
+
241
+ #: config_form.php
242
+ msgid "identify binary location:"
243
+ msgstr "определть бинарную позицию"
244
+
245
+ #: config_form.php
246
+ msgid "should be /usr/bin/identify"
247
+ msgstr "должно быть /usr/bin/определение"
248
+
249
+ #: config_form.php
250
+ msgid "Start Image Count At 0"
251
+ msgstr "начать считать изображенияот 0"
252
+
253
+ #: config_form.php
254
+ msgid "Image Place Holder Tag:"
255
+ msgstr "тэг места размещения изображения:"
256
+
257
+ #: config_form.php
258
+ msgid "Image CSS Class:"
259
+ msgstr "класс CSS изображения:"
260
+
261
+ #: config_form.php
262
+ msgid "Image CSS Style:"
263
+ msgstr "стиль изображения CSS:"
264
+
265
+ #: config_form.php
266
+ msgid "3GP"
267
+ msgstr "3GP"
268
+
269
+ #: config_form.php
270
+ msgid "Embed 3GP videos as QuickTime"
271
+ msgstr "вставить 3GP видео как QuickTime"
272
+
273
+ #: config_form.php
274
+ msgid "This controls if the video is just a link or embeded in the page using QuickTime"
275
+ msgstr "это регулирование,если видео это только ссылка или вставлено в страницу, которая использует QuickTime"
276
+
277
+ #: config_form.php
278
+ msgid "Location of ffmpeg:"
279
+ msgstr "размещение ffmpeg:"
280
+
281
+ #: config_form.php
282
+ msgid "only needed if you are on a Linux server and use 3gp video,and don't embed the video. This allows postie to make thumbnail of the very first frame"
283
+ msgstr "это нужно, если вы на Linux сервере и используете 3gp видео, и не вставляете видео. это позволит postie, чтобы сделать первый фрейм"
284
+
285
+ #: config_form.php
286
+ msgid "should be /usr/bin/ffmpeg"
287
+ msgstr "должно быть /usr/bin/ffmpeg"
288
+
289
+ #: config_form.php
290
+ msgid "3GP CSS Class:"
291
+ msgstr "3GP CSS класс:"
292
+
293
+ #: config_form.php
294
+ msgid "Mailserver Settings"
295
+ msgstr "настройки Mailserver"
296
+
297
+ #: config_form.php
298
+ msgid "Mail Protocol:"
299
+ msgstr "протокол почты"
300
+
301
+ #: config_form.php
302
+ msgid "IMAP/IMAP-SSL/POP3-SSL unavailable"
303
+ msgstr "IMAP/IMAP-SSL/POP3-SSL недоступно"
304
+
305
+ #: config_form.php
306
+ msgid "Standard Ports:"
307
+ msgstr "стандарт портов:"
308
+
309
+ #: config_form.php
310
+ msgid "POP3"
311
+ msgstr "POP3"
312
+
313
+ #: config_form.php
314
+ msgid "IMAP"
315
+ msgstr "IMAP"
316
+
317
+ #: config_form.php
318
+ msgid "IMAP-SSL"
319
+ msgstr "IMAP-SSL"
320
+
321
+ #: config_form.php
322
+ msgid "POP3-SSL"
323
+ msgstr "POP3-SSL"
324
+
325
+ #: config_form.php
326
+ msgid "Postie Time Correction:"
327
+ msgstr "коррекция времени Postie:"
328
+
329
+ #: config_form.php
330
+ msgid "hours"
331
+ msgstr "часы"
332
+
333
+ #: config_form.php
334
+ msgid "Should be the same as your normal offset - but this lets you adjust it in cases where that doesn't work."
335
+ msgstr "Should be the same as your normal offset - but this lets you adjust it in cases where that doesn't work."
336
+
337
+ #: config_form.php
338
+ msgid "Mail Server:"
339
+ msgstr "сервер почты"
340
+
341
+ #: config_form.php
342
+ msgid "Port:"
343
+ msgstr "порт:"
344
+
345
+ #: config_form.php
346
+ msgid "Mail Userid:"
347
+ msgstr "почтаUserid:"
348
+
349
+ #: config_form.php
350
+ msgid "Mail Password:"
351
+ msgstr "пароль почты:"
352
+
353
+ #: config_form.php
354
+ msgid "Update Options"
355
+ msgstr "обновить опции"
356
+
languages/postie.pot CHANGED
@@ -1,356 +1,569 @@
1
- # Postie Translation File
2
- # Copyright (C) YEAR Translator <translator@invalid>
3
  # This file is distributed under the same license as the PACKAGE package.
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
  #
6
  #, fuzzy
7
-
8
  msgid ""
9
  msgstr ""
10
- "Project-Id-Version: Postie\n"
11
  "Report-Msgid-Bugs-To: \n"
12
- "POT-Creation-Date: 2005-11-10 11:48-0600 \n"
13
- "PO-Revision-Date: 2005-11-10 11:48-0600\n"
14
- "Last-Translator: Head Geek <headgeek@economysizegeek.com>\n"
15
- "Language-Team: \n"
16
  "MIME-Version: 1.0\n"
17
- "Content-Type: text/plain; charset=utf-8\n"
18
  "Content-Transfer-Encoding: 8bit\n"
19
 
20
- #: config_form.php:18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  msgid "Postie Options"
22
  msgstr ""
23
- #: config_form.php:18
24
- msgid "Reset Configs To Default"
 
25
  msgstr ""
26
- #: config_form.php:2
27
- msgid "If you would like to start over - you can click the button on the right to reset all configurations to the default."
 
28
  msgstr ""
29
- #: config_form.php:30
30
- msgid "To run the check mail script manually"
 
31
  msgstr ""
32
- #: config_form.php:32
 
33
  msgid "Run Postie"
34
  msgstr ""
35
- #: config_form.php:39
36
- msgid "If you have problems with Postie this will run a special script to test your configuraiton options"
 
37
  msgstr ""
38
- #: config_form.php:41
 
39
  msgid "Test Config"
40
  msgstr ""
41
- msgid "Recommended"
 
 
42
  msgstr ""
43
- msgid "Yes"
 
 
44
  msgstr ""
45
- msgid "No"
 
 
46
  msgstr ""
47
- #: config_form.php
48
- msgid "Authorization Settings"
 
49
  msgstr ""
50
 
51
- #: config_form.php
52
- msgid "Allow Anyone To Post Via Email"
53
  msgstr ""
54
 
55
- #: config_form.php
56
- msgid "Changing this to yes is NOT RECOMMEDED - anything that gets sent in will automatically be posted. This could make it easier to compromise your server - YOU HAVE BEEN WARNED."
57
  msgstr ""
58
 
59
- #: config_form.php
60
- msgid "Minimum Access Level Required To Post:"
61
  msgstr ""
62
 
63
- #: config_form.php
64
- msgid "This allows you to grant access to other users to post if they have the proper access level"
65
  msgstr ""
66
 
67
- #: config_form.php
68
- msgid "Authorized Addresses"
69
  msgstr ""
70
 
71
- #: config_form.php
72
- msgid "Put each email address on a single line. Posts from emails in this list will be treated as if they came from the admin. If you would prefer to have users post under their own name - create a WordPress user with the correct access level."
73
  msgstr ""
74
 
75
- #: config_form.php
76
- msgid "Directory Settings"
77
  msgstr ""
78
 
79
- #: config_form.php
80
- msgid "Directory For Photos:"
81
  msgstr ""
82
 
 
 
 
83
 
84
- #: config_form.php
85
- msgid "Directory For Files:"
86
  msgstr ""
87
 
88
- #: config_form.php
89
- msgid "Message Settings"
90
  msgstr ""
91
 
92
- #: config_form.php
93
- msgid "Default post by mail category:"
94
  msgstr ""
95
 
96
- #: config_form.php
97
- msgid "Default Title:"
98
  msgstr ""
99
 
100
- #: config_form.php
101
- msgid "Live from the field"
102
  msgstr ""
103
 
104
- #: config_form.php
105
- msgid "Prefered Text Type (HTML/plain):"
106
  msgstr ""
107
 
108
- #: config_form.php
109
- msgid "plain"
 
 
 
 
110
  msgstr ""
111
 
112
- #: config_form.php
113
- msgid "html"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  msgstr ""
115
 
116
- #: config_form.php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
  msgid "Forward Rejected Mail"
118
  msgstr ""
119
 
120
- #: config_form.php
121
  msgid "Allow Subject In Mail"
122
  msgstr ""
123
 
124
- #: config_form.php
125
  msgid "Allow HTML In Mail Subject"
126
  msgstr ""
127
 
128
- #: config_form.php
129
  msgid "Allow HTML In Mail Body"
130
  msgstr ""
131
 
132
- #: config_form.php
133
- msgid "Encoding for pages and feeds:"
 
 
134
  msgstr ""
135
 
136
- #: config_form.php
137
- msgid "UTF-8"
 
 
138
  msgstr ""
139
 
140
- #: config_form.php
141
- msgid "it should handle ISO-8859-1 as well"
 
 
142
  msgstr ""
143
 
144
- #: config_form.php
145
- msgid "Decode Quoted Printable Data"
 
 
146
  msgstr ""
147
 
148
- #: config_form.php
149
- msgid "Should be yes in most cases."
150
  msgstr ""
151
 
152
- #: config_form.php
153
- msgid "Supported File Types"
154
  msgstr ""
155
 
156
- #: config_form.php
157
- msgid "Put each type on a single line."
 
 
 
158
  msgstr ""
159
 
160
- #: config_form.php
161
- msgid "Banned File Names"
 
 
 
 
 
 
 
 
 
 
 
 
162
  msgstr ""
163
 
164
- #: config_form.php
165
- msgid "Put each file name on a single line.Files matching this list will never be posted to your blog."
166
  msgstr ""
167
 
 
 
 
168
 
169
- #: config_form.php
170
- msgid :start
171
  msgstr ""
172
 
173
- #: config_form.php
 
 
 
 
 
 
 
 
174
  msgid "Drop The Signature From Mail"
175
  msgstr ""
176
 
177
- #: config_form.php
178
  msgid "Signature Patterns"
179
  msgstr ""
180
 
181
- #: config_form.php
182
- msgid "Put each pattern on a seperate line and make sure to escape any special characters."
 
 
183
  msgstr ""
184
 
185
- #: config_form.php
186
- msgid "Image Settings"
 
 
187
  msgstr ""
188
 
189
- #: config_form.php
190
- msgid "No GD Support"
191
  msgstr ""
192
 
193
- #: config_form.php
194
- msgid "Currently your installation of PHP does not have GD installed so no image resizing can occur."
195
  msgstr ""
196
 
197
- #: config_form.php
198
- msgid "Post Images At End"
 
 
199
  msgstr ""
200
 
201
- #: config_form.php
202
- msgid "No means they will be put before the text of the message."
 
 
203
  msgstr ""
204
 
205
- #: config_form.php
206
- msgid "Resize Large Images"
 
 
 
207
  msgstr ""
208
 
209
- #: config_form.php
210
- msgid "Maximum Image Width:"
 
211
  msgstr ""
212
 
213
- #: config_form.php
214
- msgid "pixels"
215
  msgstr ""
216
 
217
- #: config_form.php
218
- msgid "JPEG Compression:"
219
  msgstr ""
220
 
221
- #: config_form.php
222
- msgid "%"
 
223
  msgstr ""
224
 
225
- #: config_form.php
226
- msgid "Use ImageMagick"
227
  msgstr ""
228
 
229
- #: config_form.php
230
- msgid "convert binary location:"
 
 
231
  msgstr ""
232
 
233
- #: config_form.php
234
- msgid "only needed if you are using ImageMagick"
235
  msgstr ""
236
 
237
- #: config_form.php
238
- msgid "should be /usr/bin/convert"
239
  msgstr ""
240
 
241
- #: config_form.php
242
- msgid "identify binary location:"
 
 
243
  msgstr ""
244
 
245
- #: config_form.php
246
- msgid "should be /usr/bin/identify"
247
  msgstr ""
248
 
249
- #: config_form.php
250
- msgid "Start Image Count At 0"
251
  msgstr ""
252
 
253
- #: config_form.php
254
- msgid "Image Place Holder Tag:"
 
 
255
  msgstr ""
256
 
257
- #: config_form.php
258
- msgid "Image CSS Class:"
259
  msgstr ""
260
 
261
- #: config_form.php
262
- msgid "Image CSS Style:"
263
  msgstr ""
264
 
265
- #: config_form.php
266
- msgid "3GP"
267
  msgstr ""
268
 
269
- #: config_form.php
270
- msgid "Embed 3GP videos as QuickTime"
271
  msgstr ""
272
 
273
- #: config_form.php
274
- msgid "This controls if the video is just a link or embeded in the page using QuickTime"
275
  msgstr ""
276
 
277
- #: config_form.php
278
- msgid "Location of ffmpeg:"
279
  msgstr ""
280
 
281
- #: config_form.php
282
- msgid "only needed if you are on a Linux server and use 3gp video,and don't embed the video. This allows postie to make thumbnail of the very first frame"
 
 
283
  msgstr ""
284
 
285
- #: config_form.php
286
- msgid "should be /usr/bin/ffmpeg"
 
 
287
  msgstr ""
288
 
289
- #: config_form.php
290
- msgid "3GP CSS Class:"
291
  msgstr ""
292
 
293
- #: config_form.php
294
- msgid "Mailserver Settings"
295
  msgstr ""
296
 
297
- #: config_form.php
298
- msgid "Mail Protocol:"
299
  msgstr ""
300
 
301
- #: config_form.php
302
- msgid "IMAP/IMAP-SSL/POP3-SSL unavailable"
303
  msgstr ""
304
 
305
- #: config_form.php
306
- msgid "Standard Ports:"
307
  msgstr ""
308
 
309
- #: config_form.php
310
- msgid "POP3"
 
 
311
  msgstr ""
312
 
313
- #: config_form.php
314
- msgid "IMAP"
315
  msgstr ""
316
 
317
- #: config_form.php
318
- msgid "IMAP-SSL"
319
  msgstr ""
320
 
321
- #: config_form.php
322
- msgid "POP3-SSL"
 
323
  msgstr ""
324
 
325
- #: config_form.php
326
- msgid "Postie Time Correction:"
327
  msgstr ""
328
 
329
- #: config_form.php
330
- msgid "hours"
331
  msgstr ""
332
 
333
- #: config_form.php
334
- msgid "Should be the same as your normal offset - but this lets you adjust it in cases where that doesn't work."
335
  msgstr ""
336
 
337
- #: config_form.php
338
- msgid "Mail Server:"
 
339
  msgstr ""
340
 
341
- #: config_form.php
342
- msgid "Port:"
343
  msgstr ""
344
 
345
- #: config_form.php
346
- msgid "Mail Userid:"
 
 
347
  msgstr ""
348
 
349
- #: config_form.php
350
- msgid "Mail Password:"
 
351
  msgstr ""
352
 
353
- #: config_form.php
354
- msgid "Update Options"
355
  msgstr ""
356
-
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
  # This file is distributed under the same license as the PACKAGE package.
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
  #
6
  #, fuzzy
 
7
  msgid ""
8
  msgstr ""
9
+ "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2009-08-25 22:42-0400\n"
12
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
  "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=CHARSET\n"
17
  "Content-Transfer-Encoding: 8bit\n"
18
 
19
+ #: config_form.php:156
20
+ msgid ""
21
+ "Changing this to yes is NOT RECOMMEDED - anything that gets sent in will "
22
+ "automatically be posted. This could make it easier to compromise your server "
23
+ "- YOU HAVE BEEN WARNED."
24
+ msgstr ""
25
+
26
+ #: config_form.php:196
27
+ msgid ""
28
+ "Put each email address on a single line. Posts from emails in this list will "
29
+ "be treated as if they came from the admin. If you would prefer to have users "
30
+ "post under their own name - create a WordPress user with the correct access "
31
+ "level."
32
+ msgstr ""
33
+
34
+ #: config_form.php:269
35
+ msgid "Set to no if using markdown or textitle syntax"
36
+ msgstr ""
37
+
38
+ #: config_form.php:285
39
+ msgid "Put each type on a single line."
40
+ msgstr ""
41
+
42
+ #: config_form.php:286
43
+ msgid ""
44
+ "Put each file name on a single line.Files matching this list will never be "
45
+ "posted to your blog. You can use wildcards such as *.xls, or *.* for all "
46
+ "files"
47
+ msgstr ""
48
+
49
+ #: config_form.php:288
50
+ msgid ""
51
+ "Put each pattern on a separate line and make sure to escape any special "
52
+ "characters."
53
+ msgstr ""
54
+
55
+ #: config_form.php:290
56
+ msgid ""
57
+ "Only allow messages which have been sent throught the following smtp "
58
+ "servers. Put each server on a separate line. Leave blank to not check stmp "
59
+ "servers."
60
+ msgstr ""
61
+
62
+ #: config_form.php:299
63
+ msgid "No means they will be put before the text of the message."
64
+ msgstr ""
65
+
66
+ #: config_form.php:347
67
+ msgid ""
68
+ "When true, images will not appear in the post. Instead the url to the image "
69
+ "will be input into a custom field named 'image'."
70
+ msgstr ""
71
+
72
+ #: config_form.php:4 config_form.php:41
73
  msgid "Postie Options"
74
  msgstr ""
75
+
76
+ #: config_form.php:44
77
+ msgid "Configuration successfully updated!"
78
  msgstr ""
79
+
80
+ #: config_form.php:45
81
+ msgid "Error - unable to save configuration"
82
  msgstr ""
83
+
84
+ #: config_form.php:53
85
+ msgid "Reset Settings To Defaults"
86
  msgstr ""
87
+
88
+ #: config_form.php:57
89
  msgid "Run Postie"
90
  msgstr ""
91
+
92
+ #: config_form.php:58
93
+ msgid "(To run the check mail script manually)"
94
  msgstr ""
95
+
96
+ #: config_form.php:62
97
  msgid "Test Config"
98
  msgstr ""
99
+
100
+ #: config_form.php:63
101
+ msgid "this will run a special script to test your configuration options"
102
  msgstr ""
103
+
104
+ #: config_form.php:69
105
+ msgid "Mailserver"
106
  msgstr ""
107
+
108
+ #: config_form.php:70
109
+ msgid "User"
110
  msgstr ""
111
+
112
+ #: config_form.php:71
113
+ msgid "Message"
114
  msgstr ""
115
 
116
+ #: config_form.php:72
117
+ msgid "Image"
118
  msgstr ""
119
 
120
+ #: config_form.php:73
121
+ msgid "Video and Audio"
122
  msgstr ""
123
 
124
+ #: config_form.php:74
125
+ msgid "Attachments"
126
  msgstr ""
127
 
128
+ #: config_form.php:75
129
+ msgid "Help"
130
  msgstr ""
131
 
132
+ #: config_form.php:76
133
+ msgid "FAQ"
134
  msgstr ""
135
 
136
+ #: config_form.php:84
137
+ msgid "Cronless postie should check for mail"
138
  msgstr ""
139
 
140
+ #: config_form.php:86
141
+ msgid "Once weekly"
142
  msgstr ""
143
 
144
+ #: config_form.php:87
145
+ msgid "daily"
146
  msgstr ""
147
 
148
+ #: config_form.php:88
149
+ msgid "hourly"
150
+ msgstr ""
151
 
152
+ #: config_form.php:89
153
+ msgid "twice per hour"
154
  msgstr ""
155
 
156
+ #: config_form.php:90
157
+ msgid "every ten minutes"
158
  msgstr ""
159
 
160
+ #: config_form.php:99
161
+ msgid "Mail Protocol:"
162
  msgstr ""
163
 
164
+ #: config_form.php:108
165
+ msgid "IMAP/IMAP-SSL/POP3-SSL unavailable"
166
  msgstr ""
167
 
168
+ #: config_form.php:114
169
+ msgid "Port:"
170
  msgstr ""
171
 
172
+ #: config_form.php:115
173
+ msgid "Standard Ports:"
174
  msgstr ""
175
 
176
+ #: config_form.php:116
177
+ msgid "POP3"
178
+ msgstr ""
179
+
180
+ #: config_form.php:117
181
+ msgid "IMAP"
182
  msgstr ""
183
 
184
+ #: config_form.php:118
185
+ msgid "IMAP-SSL"
186
+ msgstr ""
187
+
188
+ #: config_form.php:119
189
+ msgid "POP3-SSL"
190
+ msgstr ""
191
+
192
+ #: config_form.php:127
193
+ msgid "Postie Time Correction:"
194
+ msgstr ""
195
+
196
+ #: config_form.php:129
197
+ msgid ""
198
+ "Should be the same as your normal offset - but this lets you adjust it in "
199
+ "cases where that doesn't work."
200
+ msgstr ""
201
+
202
+ #: config_form.php:132
203
+ msgid "hours"
204
+ msgstr ""
205
+
206
+ #: config_form.php:137
207
+ msgid "Mail Server:"
208
+ msgstr ""
209
+
210
+ #: config_form.php:142
211
+ msgid "Mail Userid:"
212
+ msgstr ""
213
+
214
+ #: config_form.php:146
215
+ msgid "Mail Password:"
216
+ msgstr ""
217
+
218
+ #: config_form.php:156
219
+ msgid "Allow Anyone To Post Via Email"
220
+ msgstr ""
221
+
222
+ #: config_form.php:158
223
+ msgid "Roles That Can Post:"
224
+ msgstr ""
225
+
226
+ #: config_form.php:160
227
+ msgid ""
228
+ "This allows you to grant access to other users to post if they have the "
229
+ "proper access level"
230
  msgstr ""
231
 
232
+ #: config_form.php:183
233
+ msgid "Post status:"
234
+ msgstr ""
235
+
236
+ #: config_form.php:196
237
+ msgid "Authorized Addresses"
238
+ msgstr ""
239
+
240
+ #: config_form.php:199
241
+ msgid "Admin username:"
242
+ msgstr ""
243
+
244
+ #: config_form.php:209
245
+ msgid "Default post by mail category:"
246
+ msgstr ""
247
+
248
+ #: config_form.php:217
249
+ msgid "Default post by mail tag(s)"
250
+ msgstr ""
251
+
252
+ #: config_form.php:218
253
+ msgid "separated by commas"
254
+ msgstr ""
255
+
256
+ #: config_form.php:226
257
+ msgid "Default Title:"
258
+ msgstr ""
259
+
260
+ #: config_form.php:233
261
+ msgid ""
262
+ "Preferred\n"
263
+ " Text Type:"
264
+ msgstr ""
265
+
266
+ #: config_form.php:242
267
  msgid "Forward Rejected Mail"
268
  msgstr ""
269
 
270
+ #: config_form.php:243
271
  msgid "Allow Subject In Mail"
272
  msgstr ""
273
 
274
+ #: config_form.php:244
275
  msgid "Allow HTML In Mail Subject"
276
  msgstr ""
277
 
278
+ #: config_form.php:245
279
  msgid "Allow HTML In Mail Body"
280
  msgstr ""
281
 
282
+ #: config_form.php:247
283
+ msgid ""
284
+ "Tag Of\n"
285
+ " Message Start:"
286
  msgstr ""
287
 
288
+ #: config_form.php:249
289
+ msgid ""
290
+ "Use to remove any text from a message that the email provider puts at the "
291
+ "top of the message"
292
  msgstr ""
293
 
294
+ #: config_form.php:255
295
+ msgid ""
296
+ "Tag Of\n"
297
+ " Message End:"
298
  msgstr ""
299
 
300
+ #: config_form.php:257
301
+ msgid ""
302
+ "Use to remove any text from a message that the email provider puts at the "
303
+ "end of the message"
304
  msgstr ""
305
 
306
+ #: config_form.php:266
307
+ msgid "Wrap content in pre tags"
308
  msgstr ""
309
 
310
+ #: config_form.php:267
311
+ msgid "Filter newlines"
312
  msgstr ""
313
 
314
+ #: config_form.php:270
315
+ msgid ""
316
+ "Replace newline characters with\n"
317
+ " html line breaks (&lt;br\n"
318
+ " /&gt;)"
319
  msgstr ""
320
 
321
+ #: config_form.php:273
322
+ msgid "Return rejected mail to sender"
323
+ msgstr ""
324
+
325
+ #: config_form.php:274
326
+ msgid "Send post confirmation e-mail to sender"
327
+ msgstr ""
328
+
329
+ #: config_form.php:275
330
+ msgid "Automatically convert urls to links"
331
+ msgstr ""
332
+
333
+ #: config_form.php:276
334
+ msgid "Use shortcode for embedding video (youtube and others)"
335
  msgstr ""
336
 
337
+ #: config_form.php:278
338
+ msgid "Encoding for pages and feeds:"
339
  msgstr ""
340
 
341
+ #: config_form.php:281
342
+ msgid "should handle ISO-8859-1 as well"
343
+ msgstr ""
344
 
345
+ #: config_form.php:284
346
+ msgid "Decode Quoted Printable Data"
347
  msgstr ""
348
 
349
+ #: config_form.php:285
350
+ msgid "Supported File Types"
351
+ msgstr ""
352
+
353
+ #: config_form.php:286
354
+ msgid "Banned File Names"
355
+ msgstr ""
356
+
357
+ #: config_form.php:287
358
  msgid "Drop The Signature From Mail"
359
  msgstr ""
360
 
361
+ #: config_form.php:288
362
  msgid "Signature Patterns"
363
  msgstr ""
364
 
365
+ #: config_form.php:289
366
+ msgid ""
367
+ "Allowed SMTP\n"
368
+ " servers"
369
  msgstr ""
370
 
371
+ #: config_form.php:298
372
+ msgid ""
373
+ "Post Images At\n"
374
+ " End"
375
  msgstr ""
376
 
377
+ #: config_form.php:300
378
+ msgid "Start Image Count At 0"
379
  msgstr ""
380
 
381
+ #: config_form.php:302
382
+ msgid "Image Place Holder Tag:"
383
  msgstr ""
384
 
385
+ #: config_form.php:308
386
+ msgid ""
387
+ "Image\n"
388
+ " Template"
389
  msgstr ""
390
 
391
+ #: config_form.php:310
392
+ msgid ""
393
+ "Choose a default template,\n"
394
+ " then customize to your liking in the text box"
395
  msgstr ""
396
 
397
+ #: config_form.php:313
398
+ msgid ""
399
+ "Sizes for thumbnail, medium, and large images can be chosen in the <a href="
400
+ "\"options-media.php\">Media Settings</a>. The samples here use the default "
401
+ "sizes, and will not reflect the sizes you have chosen."
402
  msgstr ""
403
 
404
+ #: config_form.php:340 config_form.php:385 config_form.php:427
405
+ #: config_form.php:471 config_form.php:545
406
+ msgid "Preview"
407
  msgstr ""
408
 
409
+ #: config_form.php:347
410
+ msgid "Use custom image field"
411
  msgstr ""
412
 
413
+ #: config_form.php:358
414
+ msgid "Video template 1"
415
  msgstr ""
416
 
417
+ #: config_form.php:359 config_form.php:402 config_form.php:444
418
+ msgid ""
419
+ "Choose a default template, then customize to your liking in the text box"
420
  msgstr ""
421
 
422
+ #: config_form.php:394
423
+ msgid "Video 1 file types:"
424
  msgstr ""
425
 
426
+ #: config_form.php:395
427
+ msgid ""
428
+ "Use the video template 1 for these files types (separated by\n"
429
+ " commas)"
430
  msgstr ""
431
 
432
+ #: config_form.php:401
433
+ msgid "Video template 2"
434
  msgstr ""
435
 
436
+ #: config_form.php:436
437
+ msgid "Video 2 file types:"
438
  msgstr ""
439
 
440
+ #: config_form.php:437
441
+ msgid ""
442
+ "Use the video template 2 for these files types (separated by\n"
443
+ " commas)"
444
  msgstr ""
445
 
446
+ #: config_form.php:443
447
+ msgid "Audio template"
448
  msgstr ""
449
 
450
+ #: config_form.php:480
451
+ msgid "Audio file types:"
452
  msgstr ""
453
 
454
+ #: config_form.php:481
455
+ msgid ""
456
+ "Use the audio template for these files types (separated by\n"
457
+ " commas)"
458
  msgstr ""
459
 
460
+ #: config_form.php:495
461
+ msgid "Attachment icon set"
462
  msgstr ""
463
 
464
+ #: config_form.php:519
465
+ msgid "Attachment icon size (in pixels)"
466
  msgstr ""
467
 
468
+ #: config_form.php:560
469
+ msgid "Update Options"
470
  msgstr ""
471
 
472
+ #: cronless_postie.php:37 postie.php:66
473
+ msgid "Edit Plugins"
474
  msgstr ""
475
 
476
+ #: get_mail.php:29
477
+ msgid "Dang, message is empty!"
478
  msgstr ""
479
 
480
+ #: get_mail.php:32 postie-functions.php:382
481
+ msgid "There does not seem to be any new mail."
482
  msgstr ""
483
 
484
+ #: postie-functions.php:1327
485
+ msgid ""
486
+ "The uploaded file exceeds the <code>upload_max_filesize</code> directive in "
487
+ "<code>php.ini</code>."
488
  msgstr ""
489
 
490
+ #: postie-functions.php:1328
491
+ msgid ""
492
+ "The uploaded file exceeds the <em>MAX_FILE_SIZE</em> directive that was "
493
+ "specified in the HTML form."
494
  msgstr ""
495
 
496
+ #: postie-functions.php:1329
497
+ msgid "The uploaded file was only partially uploaded."
498
  msgstr ""
499
 
500
+ #: postie-functions.php:1330
501
+ msgid "No file was uploaded."
502
  msgstr ""
503
 
504
+ #: postie-functions.php:1332
505
+ msgid "Missing a temporary folder."
506
  msgstr ""
507
 
508
+ #: postie-functions.php:1333
509
+ msgid "Failed to write file to disk."
510
  msgstr ""
511
 
512
+ #: postie-functions.php:1349
513
+ msgid "Invalid form submission."
514
  msgstr ""
515
 
516
+ #: postie-functions.php:1357
517
+ msgid ""
518
+ "File is empty. Please upload something more substantial. This error could "
519
+ "also be caused by uploads being disabled in your php.ini."
520
  msgstr ""
521
 
522
+ #: postie-functions.php:1361
523
+ msgid "Specified file failed upload test."
524
  msgstr ""
525
 
526
+ #: postie-functions.php:1369
527
+ msgid "File type does not meet security guidelines. Try another."
528
  msgstr ""
529
 
530
+ #: postie-functions.php:1387
531
+ #, php-format
532
+ msgid "The uploaded file could not be moved to %s."
533
  msgstr ""
534
 
535
+ #: postie-functions.php:1986
536
+ msgid "Yes"
537
  msgstr ""
538
 
539
+ #: postie-functions.php:1988
540
+ msgid "No"
541
  msgstr ""
542
 
543
+ #: postie.php:97
544
+ msgid "Postie is almost ready."
545
  msgstr ""
546
 
547
+ #: postie.php:98
548
+ #, php-format
549
+ msgid "You must <a href=\"%1$s\">enter your email settings</a> for it to work."
550
  msgstr ""
551
 
552
+ #: postie.php:105
553
+ msgid "Warning: the IMAP php extension is not installed."
554
  msgstr ""
555
 
556
+ #: postie.php:106
557
+ msgid ""
558
+ "Postie may not function correctly without this extension (especially for non-"
559
+ "English messages)."
560
  msgstr ""
561
 
562
+ #: postie.php:109
563
+ #, php-format
564
+ msgid "Please see the <a href=\"%1$s\">FAQ </a> for more information."
565
  msgstr ""
566
 
567
+ #: postie_test.php:8
568
+ msgid "Postie Diagnosis"
569
  msgstr ""
 
makepot CHANGED
@@ -3,4 +3,3 @@ find . -iname '*php' >files.tmp
3
  xgettext --language=PHP --keyword=__ --keyword=_e --keyword=__ngettext:1,2 --keyword=BuildBooleanSelect:1 --keyword=BuildTextArea:1 -F -n --from-code=UTF8 -o languages/postie.pot -f files.tmp
4
  xgettext --language=PHP --keyword=BuildBooleanSelect:4 --keyword=BuildTextArea:4 -F -n --from-code=UTF8 -j -o languages/postie.pot -f files.tmp
5
  rm files.tmp
6
-
3
  xgettext --language=PHP --keyword=__ --keyword=_e --keyword=__ngettext:1,2 --keyword=BuildBooleanSelect:1 --keyword=BuildTextArea:1 -F -n --from-code=UTF8 -o languages/postie.pot -f files.tmp
4
  xgettext --language=PHP --keyword=BuildBooleanSelect:4 --keyword=BuildTextArea:4 -F -n --from-code=UTF8 -j -o languages/postie.pot -f files.tmp
5
  rm files.tmp
 
postie-functions.php CHANGED
@@ -5,7 +5,7 @@ $original_mem_limit = ini_get('memory_limit');
5
  ini_set('memory_limit', -1);
6
 
7
  /*
8
- $Id: postie-functions.php 149089 2009-08-25 21:27:12Z robfelty $
9
  */
10
 
11
  /*TODO
@@ -153,7 +153,7 @@ function PostEmail($poster,$mimeDecodedEmail,$config) {
153
  'email_author' => $postAuthorDetails['email'],
154
  'post_date' => $post_date,
155
  'post_date_gmt' => $post_date_gmt,
156
- 'post_content' => $content,
157
  'post_title' => $subject,
158
  'post_modified' => $post_date,
159
  'post_modified_gmt' => $post_date_gmt,
@@ -167,6 +167,7 @@ function PostEmail($poster,$mimeDecodedEmail,$config) {
167
  'customImages' => $customImages,
168
  'post_status' => $post_status
169
  );
 
170
  DisplayEmailPost($details);
171
  PostToDB($details,$isReply, $config['POST_TO_DB'],
172
  $config['CUSTOM_IMAGE_FIELD']);
@@ -702,7 +703,7 @@ function GetContent ($part,&$attachments, $post_id, $config) {
702
  break;
703
  }
704
  }
705
- return(apply_filters('GetContent', $meta_return));
706
  }
707
 
708
  function ubb2HTML(&$text) {
@@ -827,11 +828,12 @@ function ValidatePoster( &$mimeDecodedEmail, $config ) {
827
  $poster = NULL;
828
  $from = RemoveExtraCharactersInEmailAddress(trim($mimeDecodedEmail->headers["from"]));
829
  $resentFrom = RemoveExtraCharactersInEmailAddress(trim($mimeDecodedEmail->headers["resent-from"]));
830
-
831
  if ( empty($from) ) {
832
  echo 'Invalid Sender - Emtpy! ';
833
  return;
834
  }
 
835
 
836
  //See if the email address is one of the special authorized ones
837
  print("Confirming Access For $from \n");
@@ -903,8 +905,8 @@ function StartFilter(&$content,$start) {
903
  * @param array - a list of patterns to determine if it is a sig block
904
  */
905
  function RemoveSignature( &$content,$filterList = array('--','- --' )) {
906
- if (empty($filterList))
907
- return;
908
  $arrcontent = explode("\n", $content);
909
  $i = 0;
910
  $pattern='/^(';
@@ -1630,7 +1632,7 @@ function chooseAttachmentIcon($file, $primary, $secondary, $iconSet='silver',
1630
  $mp3Exts=array('mp3');
1631
  $mp3Mimes=array('mp3', 'mpeg3','mpeg');
1632
  $mp4Exts=array('mp4', 'm4v');
1633
- $mp4Mimes=array('mp4', 'mpeg4');
1634
  $aacExts=array('m4a', 'aac');
1635
  $aacMimes=array('m4a', 'aac', 'mp4');
1636
  $aviExts=array('avi');
@@ -1823,7 +1825,6 @@ function GetSubject(&$mimeDecodedEmail,&$content, $config) {
1823
  $encoding='7bit';
1824
  }
1825
  if (function_exists(imap_mime_header_decode)) {
1826
- $subject='';
1827
  //$elements=imap_mime_header_decode($mimeDecodedEmail->headers['subject']);
1828
  //$text = "=?utf-8?b?w6XDpMO2?= unicode";
1829
  $text=$mimeDecodedEmail->headers['subject'];
@@ -1871,8 +1872,8 @@ function postie_get_tags(&$content, $defaultTags) {
1871
  $content = str_replace($matches[0], "", $content);
1872
  $post_tags = preg_split("/,\s*/", $matches[1]);
1873
  }
1874
- if (!count($post_tags)) {
1875
- $post_tags = $defaultTags;
1876
  }
1877
  return($post_tags);
1878
  }
@@ -2047,6 +2048,34 @@ function ResetPostieConfig() {
2047
  }
2048
  UpdatePostieConfig($config);
2049
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2050
  /**
2051
  * This function handles updating the configuration
2052
  *@return boolean
@@ -2087,14 +2116,16 @@ function UpdatePostieConfig($data) {
2087
  function WriteConfig($config) {
2088
  global $wpdb;
2089
  foreach($config as $key=>$value) {
2090
- $label = apply_filters('content_save_pre', $key);
2091
  $q = $wpdb->query($wpdb->prepare("DELETE FROM ". POSTIE_TABLE . "
2092
  WHERE label = '$label';"));
2093
- if (is_array($value))
2094
  $value=serialize($value);
2095
- $q = $wpdb->query($wpdb->prepare("INSERT INTO ". POSTIE_TABLE . "
 
2096
  (label,value) VALUES
2097
- ('$label','". $value ."');"));
 
2098
  }
2099
  }
2100
  /**
@@ -2109,11 +2140,6 @@ function ReadDBConfig() {
2109
  if (is_array($data)) {
2110
  foreach($data as $row) {
2111
  if (in_array($row->label,GetListOfArrayConfig())) {
2112
- /*
2113
- if (!is_array($config[$row->label])) {
2114
- $config[$row->label] = array();
2115
- }
2116
- */
2117
  $config[$row->label] = unserialize($row->value);
2118
  } else {
2119
  $config[$row->label] = $row->value;
5
  ini_set('memory_limit', -1);
6
 
7
  /*
8
+ $Id: postie-functions.php 149146 2009-08-26 02:57:42Z robfelty $
9
  */
10
 
11
  /*TODO
153
  'email_author' => $postAuthorDetails['email'],
154
  'post_date' => $post_date,
155
  'post_date_gmt' => $post_date_gmt,
156
+ 'post_content' => apply_filters('content_save_pre',$content),
157
  'post_title' => $subject,
158
  'post_modified' => $post_date,
159
  'post_modified_gmt' => $post_date_gmt,
167
  'customImages' => $customImages,
168
  'post_status' => $post_status
169
  );
170
+ $details = apply_filters('postie_post', $details);
171
  DisplayEmailPost($details);
172
  PostToDB($details,$isReply, $config['POST_TO_DB'],
173
  $config['CUSTOM_IMAGE_FIELD']);
703
  break;
704
  }
705
  }
706
+ return($meta_return);
707
  }
708
 
709
  function ubb2HTML(&$text) {
828
  $poster = NULL;
829
  $from = RemoveExtraCharactersInEmailAddress(trim($mimeDecodedEmail->headers["from"]));
830
  $resentFrom = RemoveExtraCharactersInEmailAddress(trim($mimeDecodedEmail->headers["resent-from"]));
831
+ /*
832
  if ( empty($from) ) {
833
  echo 'Invalid Sender - Emtpy! ';
834
  return;
835
  }
836
+ */
837
 
838
  //See if the email address is one of the special authorized ones
839
  print("Confirming Access For $from \n");
905
  * @param array - a list of patterns to determine if it is a sig block
906
  */
907
  function RemoveSignature( &$content,$filterList = array('--','- --' )) {
908
+ if (empty($filterList))
909
+ return;
910
  $arrcontent = explode("\n", $content);
911
  $i = 0;
912
  $pattern='/^(';
1632
  $mp3Exts=array('mp3');
1633
  $mp3Mimes=array('mp3', 'mpeg3','mpeg');
1634
  $mp4Exts=array('mp4', 'm4v');
1635
+ $mp4Mimes=array('mp4', 'mpeg4','octet-stream');
1636
  $aacExts=array('m4a', 'aac');
1637
  $aacMimes=array('m4a', 'aac', 'mp4');
1638
  $aviExts=array('avi');
1825
  $encoding='7bit';
1826
  }
1827
  if (function_exists(imap_mime_header_decode)) {
 
1828
  //$elements=imap_mime_header_decode($mimeDecodedEmail->headers['subject']);
1829
  //$text = "=?utf-8?b?w6XDpMO2?= unicode";
1830
  $text=$mimeDecodedEmail->headers['subject'];
1872
  $content = str_replace($matches[0], "", $content);
1873
  $post_tags = preg_split("/,\s*/", $matches[1]);
1874
  }
1875
+ if (!count($post_tags) && $defaultTags!='') {
1876
+ $post_tags = preg_split("/,\s*/", $defaultTags);
1877
  }
1878
  return($post_tags);
1879
  }
2048
  }
2049
  UpdatePostieConfig($config);
2050
  }
2051
+
2052
+ function UpdateArrayConfig() {
2053
+ global $wpdb;
2054
+ $key_arrays = GetListOfArrayConfig();
2055
+ $data = $wpdb->get_results("SELECT label,value FROM ". POSTIE_TABLE .";");
2056
+ if (is_array($data)) {
2057
+ foreach($data as $row) {
2058
+ if (in_array($row->label,$key_arrays)) {
2059
+ if (unserialize($row->value)) {
2060
+ if ($row->value=='a:1:{i:0;s:6:"a:0:{}";}') {
2061
+ $config[$row->label] = array();
2062
+ } else {
2063
+ $config[$row->label] = unserialize($row->value);
2064
+ }
2065
+ } else {
2066
+ if (!is_array($config[$row->label]))
2067
+ $config[$row->label] = array();
2068
+ if ($row->value!='a:0:{}')
2069
+ $config[$row->label][] = $row->value;
2070
+ }
2071
+ } else {
2072
+ $config[$row->label] = $row->value;
2073
+ }
2074
+ }
2075
+ }
2076
+ WriteConfig($config);
2077
+ echo "updating database";
2078
+ }
2079
  /**
2080
  * This function handles updating the configuration
2081
  *@return boolean
2116
  function WriteConfig($config) {
2117
  global $wpdb;
2118
  foreach($config as $key=>$value) {
2119
+ $label = $key;
2120
  $q = $wpdb->query($wpdb->prepare("DELETE FROM ". POSTIE_TABLE . "
2121
  WHERE label = '$label';"));
2122
+ if (is_array($value)) {
2123
  $value=serialize($value);
2124
+ }
2125
+ $theQuery=$wpdb->prepare("INSERT INTO ". POSTIE_TABLE . "
2126
  (label,value) VALUES
2127
+ ('$label','". $value ."');");
2128
+ $q = $wpdb->query($theQuery);
2129
  }
2130
  }
2131
  /**
2140
  if (is_array($data)) {
2141
  foreach($data as $row) {
2142
  if (in_array($row->label,GetListOfArrayConfig())) {
 
 
 
 
 
2143
  $config[$row->label] = unserialize($row->value);
2144
  } else {
2145
  $config[$row->label] = $row->value;
postie.php CHANGED
@@ -3,13 +3,13 @@
3
  Plugin Name: Postie
4
  Plugin URI: http://blog.robfelty.com/plugins/postie
5
  Description: Signifigantly upgrades the posting by mail features of Word Press (See <a href='options-general.php?page=postie/postie.php'>Settings and options</a>) to configure your e-mail settings. See the <a href='http://wordpress.org/extend/plugins/postie/other_notes'>Readme</a> for usage. Visit the <a href='http://forum.robfelty.com/forum/postie'>postie forum</a> for support.
6
- Version: 1.3.0
7
  Author: Robert Felty
8
  Author URI: http://blog.robfelty.com/
9
  */
10
 
11
  /*
12
- $Id: postie.php 145838 2009-08-14 17:04:45Z robfelty $
13
  * -= Requests Pending =-
14
  * German Umlats don't work
15
  * Problems under PHP5
@@ -82,8 +82,33 @@ if (is_admin()) {
82
  }
83
  add_action('init', 'postie_load_domain');
84
  }
 
85
  }
 
86
  /* Version info
87
- $Id: postie.php 145838 2009-08-14 17:04:45Z robfelty $
88
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
  ?>
3
  Plugin Name: Postie
4
  Plugin URI: http://blog.robfelty.com/plugins/postie
5
  Description: Signifigantly upgrades the posting by mail features of Word Press (See <a href='options-general.php?page=postie/postie.php'>Settings and options</a>) to configure your e-mail settings. See the <a href='http://wordpress.org/extend/plugins/postie/other_notes'>Readme</a> for usage. Visit the <a href='http://forum.robfelty.com/forum/postie'>postie forum</a> for support.
6
+ Version: 1.3.2
7
  Author: Robert Felty
8
  Author URI: http://blog.robfelty.com/
9
  */
10
 
11
  /*
12
+ $Id: postie.php 149755 2009-08-27 22:25:21Z robfelty $
13
  * -= Requests Pending =-
14
  * German Umlats don't work
15
  * Problems under PHP5
82
  }
83
  add_action('init', 'postie_load_domain');
84
  }
85
+ postie_warnings();
86
  }
87
+ register_activation_hook(__FILE__, 'UpdateArrayConfig');
88
  /* Version info
89
+ $Id: postie.php 149755 2009-08-27 22:25:21Z robfelty $
90
  */
91
+ function postie_warnings() {
92
+ $config=GetConfig();
93
+ if ($config['MAIL_SERVER']=='' && !isset($_POST['submit'])) {
94
+ function postie_enter_info() {
95
+ echo "
96
+ <div id='postie-info-warning' class='updated fade'><p><strong>".
97
+ __('Postie is almost ready.', 'postie')."</strong> "
98
+ .sprintf(__('You must <a href="%1$s">enter your email settings</a> for it to work.','postie'), "options-general.php?page=postie/postie.php")."</p></div> ";
99
+ }
100
+ add_action('admin_notices', 'postie_enter_info');
101
+ }
102
+ if (!function_exists('imap_mime_header_decode') && $_GET['activate']==true) {
103
+ function postie_imap_warning() {
104
+ echo "<div id='postie-imap-warning' class='error'><p><strong>";
105
+ echo __('Warning: the IMAP php extension is not installed.', 'postie');
106
+ echo __('Postie may not function correctly without this extension (especially for non-English messages).', 'postie');
107
+ echo "</strong> ";
108
+ //echo __('Warning: the IMAP php extension is not installed. Postie may not function correctly without this extension (especially for non-English messages) .', 'postie')."</strong> ".
109
+ echo sprintf(__('Please see the <a href="%1$s">FAQ </a> for more information.'), "options-general.php?page=postie/postie.php", 'postie')."</p></div> ";
110
+ }
111
+ add_action('admin_notices', 'postie_imap_warning');
112
+ }
113
+ }
114
  ?>
readme.html CHANGED
@@ -13,7 +13,7 @@
13
  <li>Login to WordPress as an administrator</li>
14
  <li>Goto the Plugins tab in the WordPress Admin Site</li>
15
  <li>Activate "Postie"</li>
16
- <li>Goto to the "Settings" tab and click on the sub-tab "Configure Postie" to configure it.</li>
17
  <li>Make sure you enter the mailserver information correctly, including the type
18
  of connection and the port number. Common port configurations:
19
 
@@ -59,677 +59,7 @@ you only get one visit every 30 minutes, then it might take 30 minutes for a
59
  post to show up.</li>
60
  </ul> <hr />
61
 
62
- <h3>Screenshots</h3>
63
- <ol>
64
- <li>Postie options (showing video and audio templates)</li>
65
- </ol> <hr />
66
- <h3>Changelog</h3>
67
- <h4>1.3.0 (2009.08.14)</h4>
68
-
69
- <ul>
70
- <li>Features
71
-
72
- <ul>
73
- <li>Added mpeg4 to default list of videotypes</li>
74
- <li>Added support for KOI8-R character set (cyrillic)</li>
75
- <li>Added support for iso-8859-2 character set (eastern european)</li>
76
- <li>Added option to include custom icons for attachments</li>
77
- <li>Added option to send confirmation message to sender</li>
78
- <li>Enhanced e-mails for unauthorized users</li>
79
- <li>Added option to send unauthorized e-mail back to sender</li>
80
- <li>Added option to only allow e-mails from a specified list of smtp
81
- servers</li>
82
- <li>Added option to use shortcode for embedding videos (works with the
83
- videos plugin http://www.daburna.de/download/videos-plugin.zip</li>
84
- <li>Better handling of comment authors (thanks to Petter for suggestion)</li>
85
- <li>Simplified message options (now includes an advanced options section)</li>
86
- <li>Added filter ability for post content</li>
87
- </ul></li>
88
- <li>Bug fixes
89
-
90
- <ul>
91
- <li>No longer including wp-config.php</li>
92
- <li>If tmpdir is not writable, try a different tmpdir</li>
93
- <li>More subject encoding fixes</li>
94
- <li>Updated image templates, which were causing problems for cron</li>
95
- <li>Fixed in text captions</li>
96
- <li>Fixed SQL problems when updating options</li>
97
- <li>Fixed name clashes with other plugins</li>
98
- <li>Fixed custom image field</li>
99
- </ul></li>
100
- </ul>
101
-
102
- <h4>1.3.beta (2009.07.01)</h4>
103
-
104
- <ul>
105
- <li>Mores fixes for character issues in subject</li>
106
- <li>Now handling Windows-1256 (arabic) character set</li>
107
- <li>Fixed image uploading on windows servers</li>
108
- <li>Fixed replying to message adds comment</li>
109
- <li>Uploading pictures via MMS should now work</li>
110
- <li>Fixed some issues with e-mails from outloook 12</li>
111
- <li>Greatly reduced number of database queries</li>
112
- <li>No longer requiring config_handler.php</li>
113
- </ul>
114
-
115
- <h4>1.3.alpha (2009.06.05)</h4>
116
-
117
- <ul>
118
- <li>Now using default wordpress image and upload handling, which means:
119
-
120
- <ul>
121
- <li>No more creating special directories for postie</li>
122
- <li>No more confusion about imagemagick</li>
123
- <li>Can now use the [gallery] feature of wordpress</li>
124
- <li>Attachments are now connected to posts in the database</li>
125
- <li>All image resizing uses wordpress's default settings (under media)</li>
126
- </ul></li>
127
- <li>Configuration, settings and documentation improvements
128
-
129
- <ul>
130
- <li>Completely redesigned settings page (mostly thanks to Rainman)</li>
131
- <li>Reset configuration no longer deletes mailserver settings</li>
132
- <li>Now including help files and faq directly in settings page</li>
133
- </ul></li>
134
- <li>More media features
135
-
136
- <ul>
137
- <li>Automatically turn links to youtube into an embedded player</li>
138
- <li>Added option to embed audio files with custom templates</li>
139
- <li>Video options are now template based</li>
140
- <li>Image options are now solely template based, with several new default
141
- templates</li>
142
- </ul></li>
143
- <li>Bug fixes
144
-
145
- <ul>
146
- <li>Uploading images from vodafone phones should now work</li>
147
- <li>Correctly handling Windows-1252 encoding</li>
148
- <li>Correctly handling non-ascii characters in subject line</li>
149
- </ul></li>
150
- </ul>
151
-
152
- <h4>1.2.3 (2009.05.17)</h4>
153
-
154
- <ul>
155
- <li>Fixed headers already sent bug</li>
156
- <li>Converted shortcode <code>&lt;?</code> to proper <code>&lt;?php</code> (thanks brack)</li>
157
- <li>Deleting mails after processing again</li>
158
- </ul>
159
-
160
- <h4>1.2.2 (2009.05.15)</h4>
161
-
162
- <ul>
163
- <li>Show empty categories for default category in options</li>
164
- <li>Image scaling fixed so that the smaller value of max image width and max
165
- image height is used</li>
166
- <li>Fixed some issues with parsing html e-mail</li>
167
- <li>Got rid of stupid mime tag (thanks Jeroen)</li>
168
- <li>No longer adding slashes before calling wp<em>insert</em>post</li>
169
- <li>When using custom image field, each image has a unique key</li>
170
- </ul>
171
-
172
- <h4>1.2.1 (2009.05.07)</h4>
173
-
174
- <ul>
175
- <li>Got rid of stupid version checking</li>
176
- <li>Improved cronless postie instructions and configuration</li>
177
- <li>Internationalization is working now</li>
178
- <li>Dutch localization (thanks to gvmelle http://gvmelle.com)</li>
179
- <li>Fixed caption bug when using image magick</li>
180
- <li>Added option to not filter new lines (when using markdown syntax)</li>
181
- <li>Fixed autoplay option</li>
182
- <li>Can now use wildcards in excluding filenames</li>
183
- <li>Producing better quality thumbnails (thanks to robcarey)</li>
184
- </ul>
185
-
186
- <h4>1.2 (2009.04.22)</h4>
187
-
188
- <ul>
189
- <li>More video options:
190
-
191
- <ul>
192
- <li>Can embed 3gp, mp4, mov videos</li>
193
- <li>Can specify video width, video height, player width, and player height
194
- in the settings page</li>
195
- <li>Can specify custom image template</li>
196
- </ul></li>
197
- <li>Image handling improvements:
198
-
199
- <ul>
200
- <li>Only downscale images, not up-scale (thanks Jarven)</li>
201
- <li>More custom image template options</li>
202
- <li>IPTC captions now also work when not resizing images</li>
203
- <li>Added option to use custom field for images (for Datapusher)</li>
204
- <li>Fixed some issues with image templates and line break handling</li>
205
- <li>Custom image template now works even when not resizing images</li>
206
- </ul></li>
207
- <li>Documentation improvements:
208
-
209
- <ul>
210
- <li>Added links to settings, forum, and readme in plugin description</li>
211
- <li>Updated readme (thanks to Venkatraman Dhamodaran)</li>
212
- <li>Added better instructions on how to use cronless postie</li>
213
- </ul></li>
214
- <li>Text processing improvements:
215
-
216
- <ul>
217
- <li>Added option to automatically convert urls into links</li>
218
- <li>Added feature to include a custom excerpt</li>
219
- </ul></li>
220
- <li>Miscellaneous improvements
221
-
222
- <ul>
223
- <li>Improved internationalization (thanks to Håvard Broberg
224
- (nanablag@nanablag.com))</li>
225
- </ul></li>
226
- <li>Bug Fixes
227
-
228
- <ul>
229
- <li>Removed debugging info in get_mail.php (security issue) thanks to
230
- <a href="http://svalgaard.net/jens/">Jens</a></li>
231
- <li>No longer directly including pluggable.php (should
232
- prevent conflicts with other plugins such as registerplus</li>
233
- </ul></li>
234
- </ul>
235
-
236
- <h4>1.1.5 (2009.03.10)</h4>
237
-
238
- <ul>
239
- <li>Added option to have postie posts be pending review, published, or draft</li>
240
- <li>Settings panel only shows up for administrators</li>
241
- <li>Need not be user "admin" to modify settings or to post from non-registered
242
- users</li>
243
- <li>Can now set administrator name. Authorized e-mail addresses which don't
244
- have a user get posted under this name</li>
245
- <li>Will use IPTC captions if available</li>
246
- <li>Added option to replace newline characters with &lt;br /&gt;</li>
247
- </ul>
248
-
249
- <h4>1.1.4 (2009.03.06)</h4>
250
-
251
- <ul>
252
- <li>Added more image options (open in new window, custom image template)</li>
253
- <li>can now add captions to images</li>
254
- <li>Can now add tags (including default tag option)</li>
255
- </ul>
256
-
257
- <h4>1.1.3 (2009.02.20)</h4>
258
-
259
- <ul>
260
- <li>Fixed delayed posting</li>
261
- <li>updated readme some</li>
262
- </ul>
263
-
264
- <h4>1.1.2 (2008.07.12)</h4>
265
-
266
- <ul>
267
- <li>now maintained by Robert Felty</li>
268
- <li>allow negative delays</li>
269
- <li>will glean author information from forwarded or redirected e*mails</li>
270
- <li>replying to an e*mail adds a comment to a post</li>
271
- <li>fixed category handling to work with taxonomy</li>
272
- <li>fixed one syntax error</li>
273
- <li>added option to wrap posts and comments in &lt;pre%gt; tags</li>
274
- </ul>
275
-
276
- <h4>1.1.1</h4>
277
-
278
- <p>Below is all the of the version information. As far as I can tell there once was a guy named John Blade. He took some of the orignal wp-mail.php code and started hacking away on it. He actually got pretty far. About the time I discovered WordPress and his little hack - called WP-Mail at the time - he went on a vacation or something. There were some problems with the script, and it was missing some features I wanted. I hacked away at it and got it into a place where it did what I wanted. I started posting about it since I figured other people might want the features. </p>
279
-
280
- <p>John didn't release any more versions at least up til July 2005. So I started accepting submissions and feature requests from people to help make the code better. In June/July 2005 I discovered a little plugin by Chris J Davis (http://www.chrisjdavis.org/cjd-notepad/) called notepad. I added a small feature to it (basically a bookmarklet). In the process I started looking at his code and realized how much you could do with the plugin system available in Word Press.</p>
281
-
282
- <p>So I decided to make an offical fork. I put up an article on my blog asking for new names. I picked Postie. I then modified the code to be a proper plugin. And the rest is history :)
283
- * BUGFIX -problem with subject
284
- * BUGFIX -cronless postie typo</p>
285
-
286
- <h4>1.1</h4>
287
-
288
- <ul>
289
- <li>FEATURE: Updated and tested with WordPress 2.1</li>
290
- <li>BUGFIX:Removed deprecated functions</li>
291
- <li>FEATURE: Cronless Postie now uses the WordPress native Psuedo Cron.</li>
292
- </ul>
293
-
294
- <h4>1.0</h4>
295
-
296
- <ul>
297
- <li>BUGFIX: TestWPVersion broke with 2.1</li>
298
- <li>FEATURE: end: now marks the end of a message (Dan Cunningham)</li>
299
- <li>FEATURE: Better Readme (Michael Rasmussen)</li>
300
- <li>FEATURE: Smart Sharpen Option -EXPERIMENTAL- (Jonas Rhodin)</li>
301
- <li>BUGFIX: Issue with google imap fixed (Jim Hodgson)</li>
302
- <li>BUGFIX: Fixed espacing issue in subjects (Paul Clip)</li>
303
- <li>BUGFIX: Typo in Div fixed (phil)</li>
304
- </ul>
305
-
306
- <h4>0.9.9.3.2</h4>
307
-
308
- <ul>
309
- <li>BUGFIX: Typo</li>
310
- </ul>
311
-
312
- <h4>0.9.9.3.1</h4>
313
-
314
- <ul>
315
- <li>BUGFIX: Removed debugging code</li>
316
- </ul>
317
-
318
- <h4>0.9.9.3</h4>
319
-
320
- <ul>
321
- <li>BUGFIX: If your email address matches an existing user - then it will post as that user - even if you allow anyone to post.</li>
322
- <li>BUGFIX: Replaced get<em>settings('home') with get</em>settings('siteurl')</li>
323
- <li>BUGFIX: Better handling for Japanese charactersets - Thanks to http://www.souzouzone.jp/blog/archives/009531.html</li>
324
- <li>BUGFIX: Better thumbnail window opening code - thanks to Gabi &amp; Duntello!</li>
325
- <li>FEATURE: Added an option to set the MAX Height of an image - idea from Duntello</li>
326
- <li>BUGFIX: Modified the FilterNewLines for better flowed text handling - You now HAVE TO PUT TWO NEW LINES to end a paragraph.</li>
327
- <li>FEATURE: Added new CSS tags to support positioning images/attachments/3gp videos</li>
328
- <li>BUGFIX: Tries to use the date in the message (Thanks Ravan) I tried this once before and it never worked - hopefully this time it will.</li>
329
- <li>BUGFIX: Added a workaround to fix the problem with Subscribe2 - it will now notify on posts that are not set to show up in the future.</li>
330
- </ul>
331
-
332
- <h4>0.9.9.2</h4>
333
-
334
- <ul>
335
- <li>BUGFIX: Looks for the NOOP error and disgards it</li>
336
- <li>FEATURE: Postie now detects the version of WordPress being used </li>
337
- <li>FEATURE: Smarter Parsing of VodaPhone </li>
338
- <li>FEATURE: Easy place to add new code to handle other brain-dead mail clients</li>
339
- <li>BUGFIX: Handles insertion of single quotes properly</li>
340
- <li>BUGFIX: Thumbnails should now link properly</li>
341
- </ul>
342
-
343
- <h4>0.9.9.1</h4>
344
-
345
- <ul>
346
- <li>BUGFIX: Needed a strtolower in places to catch all iso-8859 - thx to Gitte Wange for the catch</li>
347
- <li>BUGFIX: Fixed issue with the category not being posted properly</li>
348
- </ul>
349
-
350
- <h4>0.9.9</h4>
351
-
352
- <ul>
353
- <li>UPDATE TO WP 2.0</li>
354
- <li>BUGFIX: Config Page now works</li>
355
- <li>FEATURES: Supports role based posting</li>
356
- <li>BUGFIX: Posting updates the category counts.</li>
357
- </ul>
358
-
359
- <h4>0.9.8.6</h4>
360
-
361
- <ul>
362
- <li>BUGFIX: Fixed problems with config page &lt;%php became &lt;?php</li>
363
- *
364
- </ul>
365
-
366
- <h4>0.9.8.5</h4>
367
-
368
- <ul>
369
- <li>BUGFIX: onClick changed to onclick</li>
370
- <li>BUGFIX: strolower added to test for iso - thanks daniele</li>
371
- <li>BUGFIX: Added a class to the 3gp video tags</li>
372
- <li>FEATURE: Added the option to put the images before the article</li>
373
- <li>BUGFIX: Added in selection for charsets - thanks Psykotik - this may cause problems for other encodings</li>
374
- <li>FEATURE: Added option to turn of quoted printable decoding</li>
375
- <li>FEATURE: :start tag - now postie looks for this tag before looking for you message - handy if your service provider prepends a message </li>
376
- <li>FEATURE: Template for translation now included</li>
377
- </ul>
378
-
379
- <h4>0.9.8.4</h4>
380
-
381
- <ul>
382
- <li>BUGFIX: Fixed problem with config_form.php - select had "NULL" instead of ""</li>
383
- <li>BUGFIX: 3g2 now supported</li>
384
- <li>BUGFIX: More line break issues addressed</li>
385
- <li>BUGFIX: QuickTime controls are now visible even if the movie is done playing</li>
386
- <li>BUGFIX: Email addresses in the format <a href="mailto:&#x73;o&#109;&#x65;&#64;&#x64;&#111;&#x6d;&#97;&#x69;&#110;&#46;&#x63;&#111;&#x6d;">&#x73;o&#109;&#x65;&#64;&#x64;&#111;&#x6d;&#97;&#x69;&#110;&#46;&#x63;&#111;&#x6d;</a> (Full Name) supported</li>
387
- <li>BUGFIX: Some images that were not being resized - are now</li>
388
- <li>BUGFIX: HTML problems - if you posted plain text with HTML on it ignored all images</li>
389
- <li>BUGFIX: The test system blew up on the thumbnails </li>
390
- <li>BUGFIX: Selected HTML for preferred text is now shown in the config form properly</li>
391
- <li>BUGFIX: Postie now complains if it is not in its own directory</li>
392
- <li>BUGFIX: Postie doesn't include PEAR if it is already available</li>
393
- <li>BUGFIX: In Test mode rejected emails are simply dropped</li>
394
- <li>BUGFIX: Markdown messes up Postie - it will warn you if you turn it on.</li>
395
- *
396
- </ul>
397
-
398
- <h4>0.9.8.3</h4>
399
-
400
- <ul>
401
- <li>BUGFIX: Fixed issue with the line feed replacement</li>
402
- <li>BUGFIX: Added Banned File Config back in</li>
403
- <li>FEATURE: Added in a link around 3gp video embedded via QT</li>
404
- <li>BUGFIX: Email that has both Plain and HTML content will show the HTML content and not the plain if html is preferred</li>
405
- </ul>
406
-
407
- <h4>0.9.8.2</h4>
408
-
409
- <ul>
410
- <li>BUGFIX: Fixed an extra new line after attachin non-image files.</li>
411
- <li>BUGFIX: The Test system now displays any missing gd functions</li>
412
- <li>BUGFIX: The test system was only using ImageMagick</li>
413
- </ul>
414
-
415
- <h4>0.9.8.1</h4>
416
-
417
- <ul>
418
- <li>BUGFIX: The test images are now included in the zip </li>
419
- </ul>
420
-
421
- <h4>0.9.8</h4>
422
-
423
- <ul>
424
- <li>BUGFIX: New Lines detected and handled properly in cases where the mail client doesn't put a space before the new line (Miss Distance)</li>
425
- <li>BUGFIX: 3gp mime type added (Paco Cotera)</li>
426
- <li>BUGFIX: Authorized Email Addresses are not case-insensitive</li>
427
- <li>FEATURE: The larger image now does a proper pop up </li>
428
- <li>BUGFIX: Fixed Timeing Issue - turns out it wasn't reading the db at all</li>
429
- <li>FEATURE: New Test Screen - to help track down problems</li>
430
- </ul>
431
-
432
- <h4>0.9.7</h4>
433
-
434
- <ul>
435
- <li>BUGFIX: removed all short tags</li>
436
- <li>BUGFIX: There were spacing issues in the way I wrote the QT embed statements </li>
437
- <li>FEATURE: Added calls to WP-Cron - should work with that properly now if you activate Cronless Postie</li>
438
- <li>FEATURE: ImageMagick version works without any calls to GD</li>
439
- <li>BUGFIX: Postie now correctly handles cases wjere tjere are multiple blogs in one db</li>
440
- <li>BUGFIX: Turned off warnings when using without GD</li>
441
- <li>FEATURE: add the rotate:X to your message to rotate all images</li>
442
- <li>FEATURE: new filter<em>postie</em>thumbnail<em>with</em>full which makes it easy to show a thumbnail on the front page but full image on the single page - see FAQ</li>
443
- </ul>
444
-
445
- <h4>0.9.6</h4>
446
-
447
- <ul>
448
- <li>BUGFIX: handles email addresses that are no name and just <a href="mailto:&#101;&#109;&#x61;&#105;&#108;&#x40;&#101;&#109;&#x61;&#x69;&#108;&#x2e;&#x63;&#111;&#x6d;">&#101;&#109;&#x61;&#105;&#108;&#x40;&#101;&#109;&#x61;&#x69;&#108;&#x2e;&#x63;&#111;&#x6d;</a> (Steve Cooley Reported)</li>
449
- <li>FEATURE: Basic support for embedding flash files</li>
450
- <li>BUGFIX: Postie now handles creating the correct URL on non Unix platforms</li>
451
- <li>BUGFIX: Fixed problem with file attachments not being put in the right place.</li>
452
- <li>FEATURE: You can now choose to use imagemagick convert to handle making thumbnails</li>
453
- <li>BUGFIX: Rewrote Cronless Postie to use direct sockets</li>
454
- <li>BUGFIX: Time offset is now settable just for Postie - hopefully this will fix problems for cases where the normal time offset doesn't work properly.</li>
455
- <li>FEATURE: First draft of frame for a 3GP video</li>
456
- <li>FEATURE: Option to embed 3GP in QuickTime Controller.</li>
457
- </ul>
458
-
459
- <h4>0.9.5.2</h4>
460
-
461
- <ul>
462
- <li>BUGFIX: gmt varialble not being set correctly</li>
463
- <li>BUGFIX: Changed the name of the Check Mail button to fix an issue with mod_security</li>
464
- <li>BUGFIX: Fixed issue with Cronless-Postie</li>
465
- <li>BUGFIX: There was an argument passed by reference incorrectly</li>
466
- <li>FEATURE: Added in Cronless Postie Readme</li>
467
- <li>FEATURE: Added in Postie Readme</li>
468
- </ul>
469
-
470
- <h4>0.9.5.1</h4>
471
-
472
- <ul>
473
- <li>BUGFIX: Confirmed POP3-SSL on debian-3.0</li>
474
- <li>BUGFIX: Updated the plugin version</li>
475
- <li>BUGFIX: Stopped displaying the email account</li>
476
- *
477
- </ul>
478
-
479
- <h4>0.9.5</h4>
480
-
481
- <ul>
482
- <li>BUGFIX: Postie handles cases where you do not have GD</li>
483
- <li>FEATURE: You can now set the access level for posting - so other people can use the gate way</li>
484
- <li>BUGFIX: Fixed issue when admininstrator email is not tied to a user account.</li>
485
- <li>FEATURE: Can now reset all Postie configurations back to defaults</li>
486
- <li>BUGFIX: HTML Emails with embedded images are now handled properly.</li>
487
- <li>BUGFIX: The time difference should work correctly now</li>
488
- <li>BUGFIX: Postie's configs are completely seperate from Writing-By-Mail</li>
489
- <li>FEATURE: Warning if you use Gmail to make sure you turn on POP support</li>
490
- <li>BUGFIX: Manual Check Mail Button in interface</li>
491
- <li>BUGFIX: fixed issue of compatability with cjd-notepad</li>
492
- <li>BUGFIX: Windows Works Now</li>
493
- </ul>
494
-
495
- <h4>0.9.4</h4>
496
-
497
- <ul>
498
- <li>BUGFIX: Cronless Postie - fixed the include statement</li>
499
- <li>BUGFIX: Authorized Addresses now supports a single address</li>
500
- <li>FEATURE: All configuration in Postie done in a single screen</li>
501
- <li>FEATURE: AUTHORIZATION can be completely overridden</li>
502
- <li>BUGFIX: line 1159 - didn't handle cases where the table didn't exist already very well</li>
503
- <li>FEATURE: Detects if you can do IMAP</li>
504
- <li>FEATURE: Added IMAP Support</li>
505
- <li>FEATURE: Added IMAP-SSL Support</li>
506
- <li>FEATURE: Added POP3-SSL Support</li>
507
- </ul>
508
-
509
- <h4>0.9.3</h4>
510
-
511
- <ul>
512
- <li>Bug fixes for IIS</li>
513
- </ul>
514
-
515
- <h4>0.9.2</h4>
516
-
517
- <ul>
518
- <li>Moved to more of a DIRECTORY_SEPARATOR structure </li>
519
- </ul>
520
-
521
- <h4>0.9.1</h4>
522
-
523
- <ul>
524
- <li>Added a define to fix a problem with over including</li>
525
- </ul>
526
-
527
- <h4>0.9</h4>
528
-
529
- <ul>
530
- <li>Converted to an honest to god plugin</li>
531
- <li>BUGFIX: If you put a single category:subject it now works</li>
532
- <li>BUGFIX: ? Special characters may be supported? The test post now shows a lot of umlats and accents?</li>
533
- <li>BUGFIX: The last ] in a subject with categories is now filtered out</li>
534
- <li>FEATURE: -1- subject - will put the post in category 1</li>
535
- </ul>
536
-
537
- <h4>0.312.13</h4>
538
-
539
- <ul>
540
- <li>Code clean up - The main loop is finally readable by even non programmers</li>
541
- <li>FEATURE - You can now post to multiple categories at one time by using the [#],[Category Name], [Cat] in the subject</li>
542
- <li>FEATURE - You can now select a category by just including the begining characters [G] will select General </li>
543
- <li>if you don't have any other categories that start with g</li>
544
- <li>FEATURE - Jay Talbot - added a new feature so you can have multiple email addresses be allowed in</li>
545
- <li>Make multi category posting more obvious</li>
546
- <li>BUG FIX: Timezones of GMT+? should now work properly</li>
547
- <li>BUG FIX: Able to handle mis-mime typed images as long as they are named with .jpg/.gif/.png</li>
548
- </ul>
549
-
550
- <h4>0.312.12</h4>
551
-
552
- <ul>
553
- <li>Code clean up - slowing shrinking the main to make it easiery to fix things</li>
554
- <li>FEATURE: Be able to turn on/off allowing comments in an email</li>
555
- <li>BUG FIX: AppleDouble now mostly supported </li>
556
- <li>BUG FIX: MIME handling improved.</li>
557
- <li>BUG FIX: Fix issue with timing delay</li>
558
- </ul>
559
-
560
- <h4>0.312.11</h4>
561
-
562
- <ul>
563
- <li>FEATURE: Patterns to define where a sig starts are user configurable</li>
564
- <li>FEATURE: Add filter options for banned file names</li>
565
- <li>BUG FIX: Made it possible to turn off posting to the db for testing purposes</li>
566
- </ul>
567
-
568
- <h4>0.312.10</h4>
569
-
570
- <ul>
571
- <li>FEATURE: Added in code to diplay the mime type of the file being linked to</li>
572
- <li>BUG FIX: It now tests for the existance of the directories and makes sure</li>
573
- <li>that the web server can write to them</li>
574
- </ul>
575
-
576
- <h4>0.312.9</h4>
577
-
578
- <ul>
579
- <li>FEATURE:Should handle jpg as well as jpeg as the file type</li>
580
- <li>BUG FIX: Now correctly handles the subject in the message</li>
581
- <li>BUG FIX: Should handle Text preferences correctly </li>
582
- </ul>
583
-
584
- <h4>0.312.8</h4>
585
-
586
- <ul>
587
- <li>Some general code tidying. </li>
588
- <li>FEATURE: Can now have email from invalid email addresses automatically forwared</li>
589
- <li>to the admin's email account. This forward includes all attachments. </li>
590
- <li>Props to David Luden for getting this started.</li>
591
- <li>Minor change: The system will continue if it runs into a message that doesn't have </li>
592
- <li>any content - it will also continue to process if it gets an email from </li>
593
- <li>someone not in the system. In the past this could result in deleted mail</li>
594
- <li>if your cron job didn't run often enough.</li>
595
- </ul>
596
-
597
- <h4>0.312.7</h4>
598
-
599
- <ul>
600
- <li>Confirm the handling of 3gp video for cell phones o</li>
601
- <li>Added in new directive SUPPORTED<em>FILE</em>TYPES -if the mime type is listed here then the system will try to make a link to it without making a thumb nail.</li>
602
- </ul>
603
-
604
- <h4>0.312.6</h4>
605
-
606
- <ul>
607
- <li>Bug Fix: Ok the last bug I fixed - actually caused another bug - man I should set up some unit tests. Now it handles mail from the nokia mail client correctly.</li>
608
- </ul>
609
-
610
- <h4>0.312.5</h4>
611
-
612
- <ul>
613
- <li>Bug Fix : The system was accepting all test/* types. Now you can set a preference (defaults to text/plain)</li>
614
- <li>to use as the main text for the post.</li>
615
- </ul>
616
-
617
- <h4>0.312.4</h4>
618
-
619
- <ul>
620
- <li>Added in sanitize_title call suggested by Jemima</li>
621
- <li>Added in ability to provide a subject in an mms - by using #Subject#</li>
622
- <li>Fixed an issue with the time stamp system so it now automatically uses the gmt_offset from WordPress</li>
623
- <li>Fixed issue with the delay:1d1h tag that prevented it from being removed from the body.</li>
624
- <li>Fixed issue with the delay tag that caused problems if it was the last thing before an image.</li>
625
- </ul>
626
-
627
- <h4>0.312.3-HEY (2005-05)</h4>
628
-
629
- <ul>
630
- <li>&gt; Some changes and Bugfixes by Adrian Heydecker</li>
631
- <li>&gt; Not (yet) in main development branch.</li>
632
- <li>Fixed bug: JPEG-thumbnails had a bigger filesize than full images caused by bad hardcoded compression value.</li>
633
- <li>Fixed bug: If images and signatures were present but no placeholder tags, the images were deleted together with the signature.</li>
634
- <li>Fixed bug: Generates valid postnames for users of mod_rewrite. Permalinks to posts should now work even when whitespaces are present in the subject line.</li>
635
- <li>Added support for Quoted Printable encoded mail.</li>
636
- <li>Added ability to encode Wordpress-posts in charset ISO-8859-1 instead of UTF-8.</li>
637
- <li>Added ability to choose JPEG-compression value for thumbnails.</li>
638
- <li>Added ability to add class="" and style="" to images.</li>
639
- <li>Added ability to use a different mailadress (eg. mobile) without setting up a new Wordpress-account.</li>
640
- </ul>
641
-
642
- <h4>0.312.2</h4>
643
-
644
- <ul>
645
- <li>BUGFIX: It now removes the delay tag from the message</li>
646
- </ul>
647
-
648
- <h4>0.312.1</h4>
649
-
650
- <ul>
651
- <li>Added modification for placeholder support for images (David Luden)</li>
652
- <li>Added in support to automatically scale down big images (Dirk Elmendorf)</li>
653
- <li>Fixed bug with multiple emails all getting the contents of the first image tag (Dirk Elmendorf)</li>
654
- <li>Added option to allow HTML in the body and subject of the email (Dirk Elmendorf)</li>
655
- <li>Switch config options to defines to reduce the number of global variables (Dirk Elmendorf)</li>
656
- <li>Added tests to make sure there is a trailing slash on the DIR definitions (Dirk Elmendorf)</li>
657
- <li>Add tests to see if they have gd installed (Dirk Elmendorf)</li>
658
- <li>Seperate the scaling out to a function for easier usage (Dirk Elmendorf)</li>
659
- <li>Add delay feature for future posting. (Dirk Elmendorf)</li>
660
- <li><p>Added in ability to use strtotime if it is available (Dirk ELmendorf)</p></li>
661
- <li><p>Todo</p></li>
662
- <li>Have option to have the email that is rejected forwarded on to another address.</li>
663
- <li>Fix bug that id still diplays the delay tag in the body </li>
664
- </ul>
665
-
666
- <h4>0.312 - 2005-03</h4>
667
-
668
- <ul>
669
- <li>CHANGE FOR DEFAULT E-mail Categories, instead of [General] Subject you can now use General: Subject in the subject line. Less typing, and there must be a space after the colon. </li>
670
- <li>Fixed bugs with no default posting for categories and user </li>
671
- </ul>
672
-
673
- <h4>0.311 - 2005-01</h4>
674
-
675
- <ul>
676
- <li>eep, major bug for pop3 server. Next time I test my code more before I released, fixed so that pop3 now works.`</li>
677
- </ul>
678
-
679
- <h4>0.31 - 2004-12 &amp; 2005-01</h4>
680
-
681
- <ul>
682
- <li>(Has it been this long, best get back into the swing of things... did most of this coding on my holiday as I didn't have a machine to play WoW on :)</li>
683
- <li>moved the deletion of pop3 emails into a check so that e-mails aren't deleted without proper checking.</li>
684
- <li>added HTML 'decoding' (basic support for Thunderbird &amp; Outlook) </li>
685
- <li>updated the Category search so that it matches words as well as numbers (i.e. [General] Subjectname will work instead of just [1] Subjectname)</li>
686
- <li>Changed time function from time to strtotime (as per Senior Pez's suggestion), but found out that strtotime isn't in default php distro so removed...</li>
687
- </ul>
688
-
689
- <h4>0.3 - 2004-09</h4>
690
-
691
- <ul>
692
- <li>Added UBB decoding support</li>
693
- <li>Added default title (when there is no subject assigned)</li>
694
- <li>Started doing a little code cleanup, been reading Advanced PHP Book :)</li>
695
- *
696
- </ul>
697
-
698
- <h4>0.2 - 2004-08</h4>
699
-
700
- <ul>
701
- <li>Stopped using pear body decoding in favour of own decoding (may be slower but more modifiable) because of enriched text decoding</li>
702
- <li>Added base64_decode checking (may help mobile phone users)</li>
703
- <li>Fixed Subject line for non-english users (htmlentities instead of just trim)</li>
704
- <li>Fixed error in some pop hanging -&gt; more graceful exit on event on no emails in inbox ($pop3-&gt;quit)</li>
705
- <li>Added work around for email addresses with exta &lt;&gt; in field (ie: <a href="mailto:&#98;&#108;&#97;d&#x65;&#x40;&#x6c;&#x61;&#x6e;&#115;&#109;&#97;&#115;&#104;.&#x63;&#x6f;&#x6d;">&#98;&#108;&#97;d&#x65;&#x40;&#x6c;&#x61;&#x6e;&#115;&#109;&#97;&#115;&#104;.&#x63;&#x6f;&#x6d;</a> instead of blade@lasmash.com</li>
706
- <li>Added some ===basic=== enriched text support</li>
707
- <li>Updated readme file for easier install</li>
708
- <li>Easy modify of globals (such as PHOTOSDIR and FILESDIR)</li>
709
- <li>Cleaned up some pear stuff in install</li>
710
- *
711
- </ul>
712
-
713
- <h4>0.1 - 2004-06</h4>
714
-
715
- <ul>
716
- <li>First release</li>
717
- </ul> <hr />
718
-
719
- <h3>Options and Settings</h3>
720
- <ul>
721
- <li>You can set the starting characters for you signature so that it
722
- is removed from the posting message</li>
723
- <li>You can set a list of banned file names so if you provider adds
724
- images to your post they don't show up in the blog</li>
725
- <li>If you post from an email address that is not a valid author the
726
- email post will be forwarded to the admin</li>
727
- <li>You can control if you want HTML allowed in the body or subject
728
- of your post</li>
729
- <li>Lets you set a default subject when you don't set one</li>
730
- <li>Defaults to posting to the default category you set in Word Press</li>
731
- </ul>
732
- <h3>Usage</h3>
733
  <ul>
734
  <li>If you put in :start - the message processing won't start until it sees that string</li>
735
  <li>If you put in :end - the message processing will stop once it sees that string</li>
13
  <li>Login to WordPress as an administrator</li>
14
  <li>Goto the Plugins tab in the WordPress Admin Site</li>
15
  <li>Activate "Postie"</li>
16
+ <li>Goto to the "Settings" tab and click on the sub-tab "Postie" to configure it.</li>
17
  <li>Make sure you enter the mailserver information correctly, including the type
18
  of connection and the port number. Common port configurations:
19
 
59
  post to show up.</li>
60
  </ul> <hr />
61
 
62
+ <h3>Usage</h3>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  <ul>
64
  <li>If you put in :start - the message processing won't start until it sees that string</li>
65
  <li>If you put in :end - the message processing will stop once it sees that string</li>
readme.txt CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://blog.robfelty.com/plugins/postie
5
  Tags: e-mail
6
  Requires at least: 2.3
7
  Tested up to: 2.8
8
- Stable tag: 1.3.0
9
 
10
  The Postie plugin allows you to blog via e-mail, including many advanced
11
  features not found in wordpress's default post by e-mail feature.
@@ -19,6 +19,13 @@ imap and pop3, with the option for ssl with both. For usage notes, see the
19
 
20
  = What's new? =
21
 
 
 
 
 
 
 
 
22
  * 1.3.0 (2009.08.14)
23
  * Features
24
  * Added mpeg4 to default list of videotypes
@@ -53,7 +60,7 @@ imap and pop3, with the option for ssl with both. For usage notes, see the
53
  * Login to WordPress as an administrator
54
  * Goto the Plugins tab in the WordPress Admin Site
55
  * Activate "Postie"
56
- * Goto to the "Settings" tab and click on the sub-tab "Configure Postie" to configure it.
57
  * Make sure you enter the mailserver information correctly, including the type
58
  of connection and the port number. Common port configurations:
59
  * pop3: 110
@@ -93,18 +100,6 @@ If you don't have access to cron, you can run postie without it.
93
  you only get one visit every 30 minutes, then it might take 30 minutes for a
94
  post to show up.
95
 
96
- == Options and Settings ==
97
-
98
- * You can set the starting characters for you signature so that it
99
- is removed from the posting message
100
- * You can set a list of banned file names so if you provider adds
101
- images to your post they don't show up in the blog
102
- * If you post from an email address that is not a valid author the
103
- email post will be forwarded to the admin
104
- * You can control if you want HTML allowed in the body or subject
105
- of your post
106
- * Lets you set a default subject when you don't set one
107
- * Defaults to posting to the default category you set in Word Press
108
 
109
  == Usage ==
110
  * If you put in :start - the message processing won't start until it sees that string
@@ -314,9 +309,51 @@ Currently the following filetypes are supported:
314
  * rtf - rich text format
315
  * txt - plain text document
316
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
317
 
318
  == CHANGELOG ==
319
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
320
  = 1.3.0 (2009.08.14) =
321
  * Features
322
  * Added mpeg4 to default list of videotypes
5
  Tags: e-mail
6
  Requires at least: 2.3
7
  Tested up to: 2.8
8
+ Stable tag: 1.3.2
9
 
10
  The Postie plugin allows you to blog via e-mail, including many advanced
11
  features not found in wordpress's default post by e-mail feature.
19
 
20
  = What's new? =
21
 
22
+ * 1.3.1 (2009.08.24)
23
+ * Changed GetContent filter to postie_content
24
+ * Added postie_subject filter
25
+ * Added database upgrade hook on activation
26
+ * Fixed bug where content would be empty if trying to remove signature,
27
+ and signature list was emtpy
28
+
29
  * 1.3.0 (2009.08.14)
30
  * Features
31
  * Added mpeg4 to default list of videotypes
60
  * Login to WordPress as an administrator
61
  * Goto the Plugins tab in the WordPress Admin Site
62
  * Activate "Postie"
63
+ * Goto to the "Settings" tab and click on the sub-tab "Postie" to configure it.
64
  * Make sure you enter the mailserver information correctly, including the type
65
  of connection and the port number. Common port configurations:
66
  * pop3: 110
100
  you only get one visit every 30 minutes, then it might take 30 minutes for a
101
  post to show up.
102
 
 
 
 
 
 
 
 
 
 
 
 
 
103
 
104
  == Usage ==
105
  * If you put in :start - the message processing won't start until it sees that string
309
  * rtf - rich text format
310
  * txt - plain text document
311
 
312
+ = Can I add special text to the body of the post when using postie? =
313
+
314
+ Yes. You can create your own function, and use the postie_post filter
315
+ Two short examples are included in the filterPostie.php file
316
+
317
+ = Can I add special text to the title of the post when using postie? =
318
+
319
+ Yes. You can create your own function, and use the postie_post filter
320
+ Two short examples are included in the filterPostie.php file
321
+
322
+ = Is the IMAP extension required for postie? =
323
+
324
+ The IMAP extension is not required, but it is strongly recommended, especially
325
+ is you are using non-English text. There is more information on php.net about
326
+ installing the IMAP extension. If you have control over your server, it is
327
+ often not hard to install.
328
+
329
+ On Ubuntu, try
330
+ sudo apt-get install php5-imap
331
+
332
+ On Fedora, try
333
+ sudo yuminstall php-imap
334
+
335
+ The IMAP extension is known to be installed on the following popular webhosts:
336
+ * Dreamhost
337
+
338
 
339
  == CHANGELOG ==
340
 
341
+ = 1.3.2 (2009.08.27) =
342
+ * tags are now always an array, even if no default tags are set
343
+ * Subject is showing up again if you do not have the IMAP extension
344
+ installed
345
+ * More information on the IMAP extension and more user-friendly
346
+ installation
347
+ * Fixed problems with smtp server settings in 1.3.1
348
+ * Added russian translation (thanks to fatcow.com)
349
+
350
+ = 1.3.1 (2009.08.24) =
351
+ * Changed GetContent filter to postie_post
352
+ * Added database upgrade hook on activation
353
+ * Fixed bug where content would be empty if trying to remove signature,
354
+ and signature list was emtpy
355
+ * Updated FAQ and readme
356
+
357
  = 1.3.0 (2009.08.14) =
358
  * Features
359
  * Added mpeg4 to default list of videotypes