Twitter Widget Pro - Version 2.0.2

Version Description

  • Fixed Profile image error
  • Added another FAQ (about PHP 5)
Download this release

Release Info

Developer aaroncampbell
Plugin Icon wp plugin Twitter Widget Pro
Version 2.0.2
Comparing to
See all releases

Code changes from version 2.0.1 to 2.0.2

languages/twitter-widget-pro-it_IT.mo ADDED
Binary file
languages/twitter-widget-pro-it_IT.po ADDED
@@ -0,0 +1,224 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # This file is put in the public domain.
3
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4
+ #
5
+ msgid ""
6
+ msgstr ""
7
+ "Project-Id-Version: Twitter Widget Pro in italiano\n"
8
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/twitter-widget-pro\n"
9
+ "POT-Creation-Date: 2009-09-27 22:49+0000\n"
10
+ "PO-Revision-Date: 2009-09-28 03:01+0100\n"
11
+ "Last-Translator: Gianni Diurno (aka gidibao) <gidibao@gmail.com>\n"
12
+ "Language-Team: Gianni Diurno | http://gidibao.net/ <gidibao@gmail.com>\n"
13
+ "MIME-Version: 1.0\n"
14
+ "Content-Type: text/plain; charset=UTF-8\n"
15
+ "Content-Transfer-Encoding: 8bit\n"
16
+ "Plural-Forms: nplurals=2;plural=n != 1;\n"
17
+ "X-Poedit-Language: Italian\n"
18
+ "X-Poedit-Country: ITALY\n"
19
+
20
+ #: wp-twitter-widget.php:39
21
+ msgid "Follow a Twitter Feed"
22
+ msgstr "Segui un feed di Twitter"
23
+
24
+ #: wp-twitter-widget.php:46
25
+ #: wp-twitter-widget.php:449
26
+ msgid "Twitter Widget Pro"
27
+ msgstr "Twitter Widget Pro"
28
+
29
+ #: wp-twitter-widget.php:71
30
+ msgid "Twitter username:"
31
+ msgstr "Nome utente Twitter:"
32
+
33
+ #: wp-twitter-widget.php:72
34
+ msgid "username"
35
+ msgstr "Nome utente"
36
+
37
+ #: wp-twitter-widget.php:75
38
+ msgid "Give the feed a title (optional):"
39
+ msgstr "Nome per il feed (facoltativo):"
40
+
41
+ #: wp-twitter-widget.php:76
42
+ msgid "title"
43
+ msgstr "Titolo"
44
+
45
+ #: wp-twitter-widget.php:79
46
+ msgid "How many items would you like to display?"
47
+ msgstr "Quanti messaggi desideri mostrare?"
48
+
49
+ #: wp-twitter-widget.php:90
50
+ msgid "Hide @replies"
51
+ msgstr "nascondi @replies"
52
+
53
+ #: wp-twitter-widget.php:93
54
+ msgid "What to display when Twitter is down (optional):"
55
+ msgstr "Mostra quando Twitter é fuori servizio (facoltativo):"
56
+
57
+ #: wp-twitter-widget.php:94
58
+ msgid "errmsg"
59
+ msgstr "errmsg"
60
+
61
+ #: wp-twitter-widget.php:97
62
+ msgid "Number of seconds to wait for a response from Twitter (default 2):"
63
+ msgstr "Secondi di attesa per una risposta da Twitter (predefinito 2):"
64
+
65
+ #: wp-twitter-widget.php:98
66
+ msgid "fetchTimeOut"
67
+ msgstr "fetchTimeOut"
68
+
69
+ #: wp-twitter-widget.php:101
70
+ msgid "Show date/time of Tweet (rather than 2 ____ ago):"
71
+ msgstr "Mostra data/ora del messaggio (piuttosto che 2 ____ fa):"
72
+
73
+ #: wp-twitter-widget.php:103
74
+ msgid "Always"
75
+ msgstr "sempre"
76
+
77
+ #: wp-twitter-widget.php:104
78
+ msgid "If over an hour old"
79
+ msgstr "se più di un'ora"
80
+
81
+ #: wp-twitter-widget.php:105
82
+ msgid "If over a day old"
83
+ msgstr "se più di un giorno"
84
+
85
+ #: wp-twitter-widget.php:106
86
+ msgid "If over a week old"
87
+ msgstr "se più di una settimana"
88
+
89
+ #: wp-twitter-widget.php:107
90
+ msgid "If over a month old"
91
+ msgstr "se più di un mese"
92
+
93
+ #: wp-twitter-widget.php:108
94
+ msgid "If over a year old"
95
+ msgstr "se più di un anno"
96
+
97
+ #: wp-twitter-widget.php:109
98
+ msgid "Never"
99
+ msgstr "mai"
100
+
101
+ #: wp-twitter-widget.php:114
102
+ msgid "Hide RSS Icon and Link"
103
+ msgstr "nascondi icona e link RSS"
104
+
105
+ #: wp-twitter-widget.php:118
106
+ msgid "Show Profile Image"
107
+ msgstr "mostra immagine profilo"
108
+
109
+ #: wp-twitter-widget.php:122
110
+ msgid "Show Link to Twitter Widget Pro"
111
+ msgstr "mostra il link a Twitter Widget Pro"
112
+
113
+ #: wp-twitter-widget.php:176
114
+ msgid "Syndicate this content"
115
+ msgstr "Abbonati a questo contenuto"
116
+
117
+ #: wp-twitter-widget.php:194
118
+ msgid "No Tweets Available"
119
+ msgstr "Nessun messaggio disponibile"
120
+
121
+ #: wp-twitter-widget.php:211
122
+ #, php-format
123
+ msgid "from %s"
124
+ msgstr "da %s"
125
+
126
+ #: wp-twitter-widget.php:215
127
+ #, php-format
128
+ msgid "in reply to %s"
129
+ msgstr "in risposta a %s"
130
+
131
+ #: wp-twitter-widget.php:239
132
+ #, php-format
133
+ msgid "Powered by <a href=\"%s\" title=\"Get Twitter Widget for your WordPress site\">WordPress Twitter Widget Pro</a>"
134
+ msgstr "Powered by <a href=\"%s\" title=\"Get Twitter Widget for your WordPress site\">WordPress Twitter Widget Pro</a>"
135
+
136
+ #: wp-twitter-widget.php:295
137
+ msgid "Invalid Twitter Response."
138
+ msgstr "Risposta da Twitter non valida."
139
+
140
+ #: wp-twitter-widget.php:309
141
+ msgid "Could not connect to Twitter"
142
+ msgstr "Non é stato possibile connettersi a Twitter"
143
+
144
+ #: wp-twitter-widget.php:372
145
+ #, php-format
146
+ msgid "about %s year ago"
147
+ msgid_plural "about %s years ago"
148
+ msgstr[0] "circa %s anno fa"
149
+ msgstr[1] "circa %s anni fa"
150
+
151
+ #: wp-twitter-widget.php:373
152
+ #, php-format
153
+ msgid "about %s month ago"
154
+ msgid_plural "about %s months ago"
155
+ msgstr[0] "circa %s mese fa"
156
+ msgstr[1] "circa %s mesi fa"
157
+
158
+ #: wp-twitter-widget.php:374
159
+ #, php-format
160
+ msgid "about %s week ago"
161
+ msgid_plural "about %s weeks ago"
162
+ msgstr[0] "circa %s settimana fa"
163
+ msgstr[1] "circa %s settimane fa"
164
+
165
+ #: wp-twitter-widget.php:375
166
+ #, php-format
167
+ msgid "about %s day ago"
168
+ msgid_plural "about %s days ago"
169
+ msgstr[0] "circa %s giorno fa"
170
+ msgstr[1] "circa %s giorni fa"
171
+
172
+ #: wp-twitter-widget.php:376
173
+ #, php-format
174
+ msgid "about %s hour ago"
175
+ msgid_plural "about %s hours ago"
176
+ msgstr[0] "circa %s ora fa"
177
+ msgstr[1] "circa %s ore fa"
178
+
179
+ #: wp-twitter-widget.php:377
180
+ #, php-format
181
+ msgid "about %s minute ago"
182
+ msgid_plural "about %s minutes ago"
183
+ msgstr[0] "circa %s minunto fa"
184
+ msgstr[1] "circa %s minunti fa"
185
+
186
+ #: wp-twitter-widget.php:378
187
+ #, php-format
188
+ msgid "about %s second ago"
189
+ msgid_plural "about %s seconds ago"
190
+ msgstr[0] "circa %s secondo fa"
191
+ msgstr[1] "circa %s secondi fa"
192
+
193
+ #: wp-twitter-widget.php:465
194
+ msgid "Twitter Widget Pro Options"
195
+ msgstr "Opzioni Twitter Widget Pro"
196
+
197
+ #: wp-twitter-widget.php:471
198
+ msgid "Click for Help!"
199
+ msgstr "Supporto!"
200
+
201
+ #: wp-twitter-widget.php:472
202
+ msgid "System Information:"
203
+ msgstr "Informazioni sul sistema:"
204
+
205
+ #: wp-twitter-widget.php:477
206
+ msgid "I agree to send anonymous system information"
207
+ msgstr "Acconsento l'invio di informazioni anonime sul mio sistema"
208
+
209
+ #: wp-twitter-widget.php:479
210
+ msgid "You can help by sending anonymous system information that will help Xavisys make better decisions about new features."
211
+ msgstr "L'invio di informazioni anonime sul sistema sarà di aiuto a Xavisys in modo tale che possa sviluppare al meglio il plugin."
212
+
213
+ #: wp-twitter-widget.php:480
214
+ msgid "The information will be sent anonymously, but a unique identifier will be sent to prevent duplicate entries from the same installation."
215
+ msgstr "Le informazioni verrano inviate in forma anonima. Un identificatore unico sarà comunque inviato affinché non siano presi in considerazione i duplicati provenienti dalla stessa installazione."
216
+
217
+ #: wp-twitter-widget.php:486
218
+ msgid "Update Options &raquo;"
219
+ msgstr "Aggiorna le opzioni &raquo;"
220
+
221
+ #: wp-twitter-widget.php:579
222
+ msgid "Settings"
223
+ msgstr "Impostazioni"
224
+
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal%4
4
  Tags: twitter, widget, feed
5
  Requires at least: 2.8
6
  Tested up to: 2.8.4
7
- Stable tag: 2.0.1
8
 
9
  A widget that properly handles twitter feeds, including parsing @username, #hashtags, and URLs into links. Requires PHP5.
10
 
@@ -37,6 +37,10 @@ Absolutely, each instance of the widget can have different settings and track di
37
 
38
  Aparently the database queries required to display the friends feed was causing twitter to crash, so they removed it. Unfortunately, this is outside my control.
39
 
 
 
 
 
40
  == Screenshots ==
41
 
42
  1. To use the widget, go to Appearance -> Widgets and Add "Twitter Widget Pro" widget.
@@ -46,6 +50,10 @@ Aparently the database queries required to display the friends feed was causing
46
 
47
  == Changelog ==
48
 
 
 
 
 
49
  = 2.0.1 =
50
  * Fixed problem with invalid actions introduced into 2.0.0
51
 
4
  Tags: twitter, widget, feed
5
  Requires at least: 2.8
6
  Tested up to: 2.8.4
7
+ Stable tag: 2.0.2
8
 
9
  A widget that properly handles twitter feeds, including parsing @username, #hashtags, and URLs into links. Requires PHP5.
10
 
37
 
38
  Aparently the database queries required to display the friends feed was causing twitter to crash, so they removed it. Unfortunately, this is outside my control.
39
 
40
+ = I get an error similar to "Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or �}� in /.../wp-twitter-widget.php on line ##" when I try to activate the plugin. Is your plugin broke? =
41
+
42
+ No. This error occurs because the plugin requires PHP 5 and you�re running PHP 4. Most hosts offer PHP5 but sometimes you have to enable it in your control panel, through .htaccess, or by asking them. There may be instructions for your specific host in the <a href="http://codex.wordpress.org/Switching_to_PHP5">Switching to PHP5</a> article in the codex.
43
+
44
  == Screenshots ==
45
 
46
  1. To use the widget, go to Appearance -> Widgets and Add "Twitter Widget Pro" widget.
50
 
51
  == Changelog ==
52
 
53
+ = 2.0.2 =
54
+ * Fixed Profile image error
55
+ * Added another FAQ (about PHP 5)
56
+
57
  = 2.0.1 =
58
  * Fixed problem with invalid actions introduced into 2.0.0
59
 
upgrade.html CHANGED
@@ -5,4 +5,5 @@
5
  <li>2.0.0: Now uses the json class that will be included in WordPress 2.9 for anyone on PHP < 5.2</li>
6
  <li>2.0.0: The "Show Link to Twitter Widget Pro" is now off by default to comply with the latest decisions regarding the plugin repository</li>
7
  <li>2.0.1: Fixed problem with invalid actions introduced into 2.0.0</li>
 
8
  </ul>
5
  <li>2.0.0: Now uses the json class that will be included in WordPress 2.9 for anyone on PHP < 5.2</li>
6
  <li>2.0.0: The "Show Link to Twitter Widget Pro" is now off by default to comply with the latest decisions regarding the plugin repository</li>
7
  <li>2.0.1: Fixed problem with invalid actions introduced into 2.0.0</li>
8
+ <li>2.0.2: Fixed profile image problem</li>
9
  </ul>
wp-twitter-widget.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Twitter Widget Pro
4
  * Plugin URI: http://xavisys.com/wordpress-twitter-widget/
5
  * Description: A widget that properly handles twitter feeds, including @username, #hashtag, and link parsing. It can even display profile images for the users. Requires PHP5.
6
- * Version: 2.0.0
7
  * Author: Aaron D. Campbell
8
  * Author URI: http://xavisys.com/
9
  * Text Domain: twitter-widget-pro
@@ -380,6 +380,20 @@ replyTo;
380
 
381
  return sprintf($messages[$key], $count);
382
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
383
  }
384
 
385
 
@@ -485,20 +499,6 @@ class wpTwitterWidget
485
  }
486
  }
487
 
488
- /**
489
- * Returns the Twitter user's profile image, linked to that user's profile
490
- *
491
- * @param object $user - Twitter User
492
- * @return string - Linked image (XHTML)
493
- */
494
- private function _getProfileImage($user) {
495
- return <<<profileImage
496
- <a title="{$user->name}" href="http://twitter.com/{$user->screen_name}">
497
- <img alt="{$user->name}" src="{$user->profile_image_url}" />
498
- </a>
499
- profileImage;
500
- }
501
-
502
  /**
503
  * Returns the user's screen name as a link inside strong tags.
504
  *
3
  * Plugin Name: Twitter Widget Pro
4
  * Plugin URI: http://xavisys.com/wordpress-twitter-widget/
5
  * Description: A widget that properly handles twitter feeds, including @username, #hashtag, and link parsing. It can even display profile images for the users. Requires PHP5.
6
+ * Version: 2.0.2
7
  * Author: Aaron D. Campbell
8
  * Author URI: http://xavisys.com/
9
  * Text Domain: twitter-widget-pro
380
 
381
  return sprintf($messages[$key], $count);
382
  }
383
+
384
+ /**
385
+ * Returns the Twitter user's profile image, linked to that user's profile
386
+ *
387
+ * @param object $user - Twitter User
388
+ * @return string - Linked image (XHTML)
389
+ */
390
+ private function _getProfileImage($user) {
391
+ return <<<profileImage
392
+ <a title="{$user->name}" href="http://twitter.com/{$user->screen_name}">
393
+ <img alt="{$user->name}" src="{$user->profile_image_url}" />
394
+ </a>
395
+ profileImage;
396
+ }
397
  }
398
 
399
 
499
  }
500
  }
501
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
502
  /**
503
  * Returns the user's screen name as a link inside strong tags.
504
  *