Social Media Widget - Version 2.7

Version Description

  • Added iTunes Ping support
  • Corrected issue where when the input box is empty, save a space, the icons still appear.
Download this release

Release Info

Developer brianfreytag
Plugin Icon 128x128 Social Media Widget
Version 2.7
Comparing to
See all releases

Code changes from version 2.6 to 2.7

images/cutout/16/ping.png ADDED
Binary file
images/cutout/32/ping.png ADDED
Binary file
images/cutout/64/ping.png ADDED
Binary file
images/default/16/ping.png ADDED
Binary file
images/default/32/ping.png ADDED
Binary file
images/default/64/ping.png ADDED
Binary file
images/heart/16/ping.png ADDED
Binary file
images/heart/32/ping.png ADDED
Binary file
images/heart/64/ping.png ADDED
Binary file
images/sketch/16/ping.png ADDED
Binary file
images/sketch/32/ping.png ADDED
Binary file
images/sketch/64/ping.png ADDED
Binary file
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Social Media Widget ===
2
  Contributors: Brian Freytag
3
  Donate link: http://www.idontlikethisgame.com/code/donate/
4
- Tags: social media, twitter, facebook, myspace, digg, email, rss, reddit, linkedin, orkut, youtube, buzz, social, icons, links, subscribe, follow, follow me, friendfeed, flickr, stumbleupon, vimeo, delicious, meetup, lastfm, foursquare, skype, blogger, wordpress, yelp, soundcloud, digital tunes, tumblr, hyves, etsy, tungle, plancast, slideshare, deviantart, better business bureau, merchant circle, asmallworld, live365
5
  Requires at least: 2.9.1
6
  Tested up to: 3.0.1
7
- Stable tag: 2.6
8
 
9
  Adds links to all of your social media and sharing site profiles. Icons come in 3 sizes, 4 icon styles, and 4 animations.
10
 
@@ -43,6 +43,7 @@ The Social Media Widget is a simple sidebar widget that allows users to input th
43
  * PlanCast
44
  * SlideShare
45
  * DeviantArt
 
46
  * Live365
47
  * Digital Tunes
48
  * Soundcloud
@@ -90,11 +91,10 @@ Please donate if you like this plugin.
90
 
91
  Follow the steps below to install the plugin.
92
 
93
- 1. Upload the social-media-widget folder and all contents to the /wp-content/plugins/ directory
94
  2. Activate the plugin through the 'Plugins' menu in WordPress
95
  3. Go to Appearance->Widgets and activate the widget (Social Widget), set options and click save
96
 
97
-
98
  == Screenshots ==
99
  1. Web 2.0 icon pack
100
  2. Cutout icon pack
@@ -137,6 +137,8 @@ Check your style.css file. I'm sure you have something in there that is forcing
137
  = I can't find my {insert social media service} profile link! What is it? =
138
  While I attempt to provide you with the most logical guide to start with as default values in the control panel (e.g. http://www.twitter.com/yourname where you just replace yourname), not all of these services follow the same profile links that I provided. In some cases, you need to customize your "public link" such as in Yelp, and LinkedIn to use the default urls that I provide. If you don't know your public profile, I will have a very hard time figuring it out for you. The easiest way to figure it out is to log in to your social media site, and find a button that says, "View Profile." This is more often than not the profile URL you should input. This is the method I used in adding the default URLs. Also note that I don't use all of these social media sites. I just created accounts quickly to find a likely default URL. They could be wrong.
139
 
 
 
140
  = The icons aren't showing up - They are just showing the alt text! =
141
  There is probably a compatibility issue with another plugin. These things happen. Because there are thousands of plugins from thousands of developers, all who develop in completely different ways, there are going to be issues that arise from time-to-time. These are more prevalent, however, from plugins that make system-wide changes (such as SEO Packs). Try disabling, one at a time, the other plugins until you find that one that is breaking my widget. Then e-mail me and tell me which plugin it was. I will then try to fix it. Unless I know what plugin is breaking it, I won't be able to fix it, ya see? There have also been issues with moved wp-content folders or custom WP_CONTENT_URL's that caused the images to break. This issue has been resolved since 2.3.
142
 
@@ -148,6 +150,11 @@ First - calm down. I'm happy to help you, and, if you ask those I've helped alre
148
  For help, please go to my <a href="http://forums.idontlikethisgame.com/viewforum.php?f=3">SMW Forums</a> and ask whatever questions you need!
149
 
150
  == Changelog ==
 
 
 
 
 
151
  = 2.6 =
152
 
153
  * Changed the way that the custom icons worked. Turns out, when Wordpress upgrades a plugin, it completely removes the plugin folder and uploads it verbatim from the SVN package. Thus, all custom icons were lost.
1
  === Social Media Widget ===
2
  Contributors: Brian Freytag
3
  Donate link: http://www.idontlikethisgame.com/code/donate/
4
+ Tags: social media, twitter, facebook, myspace, digg, email, rss, reddit, linkedin, orkut, youtube, buzz, social, icons, links, subscribe, follow, follow me, friendfeed, flickr, stumbleupon, vimeo, delicious, meetup, lastfm, foursquare, skype, blogger, wordpress, yelp, soundcloud, digital tunes, tumblr, hyves, etsy, tungle, plancast, slideshare, deviantart, better business bureau, merchant circle, asmallworld, live365, ping, itunes
5
  Requires at least: 2.9.1
6
  Tested up to: 3.0.1
7
+ Stable tag: 2.7
8
 
9
  Adds links to all of your social media and sharing site profiles. Icons come in 3 sizes, 4 icon styles, and 4 animations.
10
 
43
  * PlanCast
44
  * SlideShare
45
  * DeviantArt
46
+ * iTunes Ping
47
  * Live365
48
  * Digital Tunes
49
  * Soundcloud
91
 
92
  Follow the steps below to install the plugin.
93
 
94
+ 1. Upload the social-media-widget folder and all contents to /wp-content/plugins
95
  2. Activate the plugin through the 'Plugins' menu in WordPress
96
  3. Go to Appearance->Widgets and activate the widget (Social Widget), set options and click save
97
 
 
98
  == Screenshots ==
99
  1. Web 2.0 icon pack
100
  2. Cutout icon pack
137
  = I can't find my {insert social media service} profile link! What is it? =
138
  While I attempt to provide you with the most logical guide to start with as default values in the control panel (e.g. http://www.twitter.com/yourname where you just replace yourname), not all of these services follow the same profile links that I provided. In some cases, you need to customize your "public link" such as in Yelp, and LinkedIn to use the default urls that I provide. If you don't know your public profile, I will have a very hard time figuring it out for you. The easiest way to figure it out is to log in to your social media site, and find a button that says, "View Profile." This is more often than not the profile URL you should input. This is the method I used in adding the default URLs. Also note that I don't use all of these social media sites. I just created accounts quickly to find a likely default URL. They could be wrong.
139
 
140
+ Getting your iTunes Ping account information is slightly more difficult. You need to load up your Ping profile within iTunes then right click on your name and select "Copy Link." Input this into the iTunes Ping option in the Social Media Widget. When the user clicks it, it will prompt the user to open up iTunes. This will then take them directly to your iTunes Ping account in iTunes.
141
+
142
  = The icons aren't showing up - They are just showing the alt text! =
143
  There is probably a compatibility issue with another plugin. These things happen. Because there are thousands of plugins from thousands of developers, all who develop in completely different ways, there are going to be issues that arise from time-to-time. These are more prevalent, however, from plugins that make system-wide changes (such as SEO Packs). Try disabling, one at a time, the other plugins until you find that one that is breaking my widget. Then e-mail me and tell me which plugin it was. I will then try to fix it. Unless I know what plugin is breaking it, I won't be able to fix it, ya see? There have also been issues with moved wp-content folders or custom WP_CONTENT_URL's that caused the images to break. This issue has been resolved since 2.3.
144
 
150
  For help, please go to my <a href="http://forums.idontlikethisgame.com/viewforum.php?f=3">SMW Forums</a> and ask whatever questions you need!
151
 
152
  == Changelog ==
153
+ = 2.7 =
154
+
155
+ * Added iTunes Ping support
156
+ * Corrected issue where when the input box is empty, save a space, the icons still appear.
157
+
158
  = 2.6 =
159
 
160
  * Changed the way that the custom icons worked. Turns out, when Wordpress upgrades a plugin, it completely removes the plugin folder and uploads it verbatim from the SVN package. Thus, all custom icons were lost.
social-widget.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Social Media Widget
4
  * Plugin URI: http://forums.idontlikethisgame.com/viewforum.php?f=3
5
  * Description: Adds links to all of your social media and sharing site profiles. Icons come in 3 sizes, 4 icon styles, and 4 animations.
6
- * Version: 2.6
7
  * Author: Brian Freytag
8
  * Author URI: http://www.idontlikethisgame.com/
9
  **/
@@ -82,6 +82,7 @@ class Social_Widget extends WP_Widget {
82
  $plancast = $instance['plancast'];
83
  $slideshare = $instance['slideshare'];
84
  $deviantart = $instance['deviantart'];
 
85
  $live365 = $instance['live365'];
86
  $digitaltunes = $instance['digitaltunes'];
87
  $soundcloud = $instance['soundcloud'];
@@ -183,14 +184,14 @@ class Social_Widget extends WP_Widget {
183
  /* Display linked images to profiles from widget settings if one was input. */
184
 
185
  // Facebook
186
- if ( $facebook != '' && file_exists($smw_dir.'/facebook.png')) {
187
  ?><a href="<?php echo $facebook; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/facebook.png" alt="<?php echo $imgcaption; ?> Facebook" title="<?php echo $imgcaption ?> Facebook" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
188
  } else {
189
  echo ''; //If no URL inputed
190
  }
191
 
192
  // Twitter
193
- if ( $twitter != '' && file_exists($smw_dir.'/twitter.png')) {
194
  ?><a href="<?php echo $twitter; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/twitter.png" alt="<?php echo $imgcaption; ?> Twitter"title="<?php echo $imgcaption; ?> Twitter" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
195
  } else {
196
  echo ''; //If no URL inputed
@@ -198,224 +199,231 @@ class Social_Widget extends WP_Widget {
198
 
199
 
200
  // MySpace
201
- if ( $myspace != '' && file_exists($smw_dir.'/myspace.png')) {
202
  ?><a href="<?php echo $myspace; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/myspace.png"alt="<?php echo $imgcaption; ?> MySpace"title="<?php echo $imgcaption; ?> MySpace" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
203
  } else {
204
  echo ''; //If no URL inputed
205
  }
206
 
207
  // FriendFeed
208
- if ( $friendfeed != '' && file_exists($smw_dir.'/friendfeed.png')) {
209
  ?><a href="<?php echo $friendfeed; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/friendfeed.png"alt="<?php echo $imgcaption; ?> FriendFeed"title="<?php echo $imgcaption; ?> FriendFeed" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>"" /></a><?php
210
  } else {
211
  echo ''; //If no URL inputed
212
  }
213
 
214
  // Orkut
215
- if ( $orkut != '' && file_exists($smw_dir.'/orkut.png')) {
216
  ?><a href="<?php echo $orkut; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/orkut.png"alt="<?php echo $imgcaption; ?> Orkut"title="<?php echo $imgcaption; ?> Orkut" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
217
  } else {
218
  echo ''; //If no URL inputed
219
  }
220
 
221
  // Hyves
222
- if ( $hyves != '' && file_exists($smw_dir.'/hyves.png')) {
223
  ?><a href="<?php echo $hyves; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/hyves.png"alt="<?php echo $imgcaption; ?> Hyves"title="<?php echo $imgcaption; ?> Hyves" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
224
  } else {
225
  echo ''; //If no URL inputed
226
  }
227
 
228
  // LinkedIN
229
- if ( $linkedin != '' && file_exists($smw_dir.'/linkedin.png')) {
230
  ?><a href="<?php echo $linkedin; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/linkedin.png"alt="<?php echo $imgcaption; ?> LinkedIn"title="<?php echo $imgcaption; ?> LinkedIn" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
231
  } else {
232
  echo ''; //If no URL inputed
233
  }
234
 
235
  // aSmallWorld
236
- if ( $asmallworld != '' && file_exists($smw_dir.'/asmallworld.png')) {
237
  ?><a href="<?php echo $asmallworld; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/asmallworld.png"alt="<?php echo $imgcaption; ?> aSmallWorld"title="<?php echo $imgcaption; ?> aSmallWorld" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
238
  } else {
239
  echo ''; //If no URL inputed
240
  }
241
 
242
  // Flickr
243
- if ( $flickr != '' && file_exists($smw_dir.'/flickr.png')) {
244
  ?><a href="<?php echo $flickr; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/flickr.png" alt="<?php echo $imgcaption; ?> Flickr"title="<?php echo $imgcaption; ?> Flickr" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
245
  } else {
246
  echo ''; //If no URL inputed
247
  }
248
 
249
  // YouTube
250
- if ( $youtube != '' && file_exists($smw_dir.'/youtube.png')) {
251
  ?><a href="<?php echo $youtube; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/youtube.png"alt="<?php echo $imgcaption; ?> YouTube"title="<?php echo $imgcaption; ?> YouTube" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
252
  } else {
253
  echo ''; //If No URL Inputed
254
  }
255
 
256
  // Skype
257
- if ( $skype != '' && file_exists($smw_dir.'/skype.png')) {
258
  ?><a href="<?php echo $skype; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/skype.png"alt="<?php echo $imgcaption; ?> Skype"title="<?php echo $imgcaption; ?> Skype" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
259
  } else {
260
  echo ''; //If No URL Inputed
261
  }
262
 
263
  // Digg
264
- if ( $digg != '' && file_exists($smw_dir.'/digg.png')) {
265
  ?><a href="<?php echo $digg; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/digg.png"alt="<?php echo $imgcaption; ?> Digg"title="<?php echo $imgcaption; ?> Digg" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
266
  } else {
267
  echo ''; //If no URL Inputed
268
  }
269
 
270
  // Reddit
271
- if ( $reddit != '' && file_exists($smw_dir.'/reddit.png')) {
272
  ?><a href="<?php echo $reddit; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/reddit.png"alt="<?php echo $imgcaption; ?> Reddit"title="<?php echo $imgcaption; ?> Reddit" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
273
  } else {
274
  echo ''; //If no URL Inputed
275
  }
276
 
277
  // Delicious
278
- if ( $delicious != '' && file_exists($smw_dir.'/delicious.png')) {
279
  ?><a href="<?php echo $delicious; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/delicious.png"alt="<?php echo $imgcaption; ?> Delicious"title="<?php echo $imgcaption; ?> Delicious" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
280
  } else {
281
  echo ''; //If no URL Inputed
282
  }
283
 
284
  // StumbleUpon
285
- if ( $stumble != '' && file_exists($smw_dir.'/stumble.png')) {
286
  ?><a href="<?php echo $stumble; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/stumble.png"alt="<?php echo $imgcaption; ?> StumbleUpon"title="<?php echo $imgcaption; ?> StumbleUpon" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
287
  } else {
288
  echo ''; //If no URL Inputed
289
  }
290
 
291
  // Tumblr
292
- if ( $tumblr != '' && file_exists($smw_dir.'/tumblr.png')) {
293
  ?><a href="<?php echo $tumblr; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/tumblr.png"alt="<?php echo $imgcaption; ?> Tumblr"title="<?php echo $imgcaption; ?> Tumblr" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
294
  } else {
295
  echo ''; //If no URL Inputed
296
  }
297
 
298
  // Google Buzz
299
- if ( $buzz != '' && file_exists($smw_dir.'/buzz.png')) {
300
  ?><a href="<?php echo $buzz; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/buzz.png"alt="<?php echo $imgcaption; ?> Buzz"title="<?php echo $imgcaption; ?> Buzz" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
301
  } else {
302
  echo ''; //If no URL Inputed
303
  }
304
 
305
  // Vimeo
306
- if ( $vimeo != '' && file_exists($smw_dir.'/vimeo.png')) {
307
  ?><a href="<?php echo $vimeo; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/vimeo.png"alt="<?php echo $imgcaption; ?> Vimeo"title="<?php echo $imgcaption; ?> Vimeo" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
308
  } else {
309
  echo ''; //If no URL Inputed
310
  }
311
 
312
  // Blogger
313
- if ( $blogger != '' && file_exists($smw_dir.'/blogger.png')) {
314
  ?><a href="<?php echo $blogger; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/blogger.png"alt="<?php echo $imgcaption; ?> Blogger"title="<?php echo $imgcaption; ?> Blogger" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
315
  } else {
316
  echo ''; //If No URL Inputed
317
  }
318
 
319
  // Wordpress
320
- if ( $wordpress != '' && file_exists($smw_dir.'/wordpress.png')) {
321
  ?><a href="<?php echo $wordpress; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/wordpress.png"alt="<?php echo $imgcaption; ?> Wordpress"title="<?php echo $imgcaption; ?> Wordpress" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
322
  } else {
323
  echo ''; //If No URL Inputed
324
  }
325
 
326
  // Yelp
327
- if ( $yelp != '' && file_exists($smw_dir.'/yelp.png')) {
328
  ?><a href="<?php echo $yelp; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/yelp.png"alt="<?php echo $imgcaption; ?> Yelp"title="<?php echo $imgcaption; ?> Yelp" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
329
  } else {
330
  echo ''; //If No URL Inputed
331
  }
332
 
333
  // Last.fm
334
- if ( $lastfm != '' && file_exists($smw_dir.'/lastfm.png')) {
335
  ?><a href="<?php echo $lastfm; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/lastfm.png"alt="<?php echo $imgcaption; ?> Last.fm"title="<?php echo $imgcaption; ?> Last.fm" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
336
  } else {
337
  echo ''; //If no URL Inputed
338
  }
339
 
340
  // Foursquare
341
- if ( $foursquare != '' && file_exists($smw_dir.'/foursquare.png')) {
342
  ?><a href="<?php echo $foursquare; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/foursquare.png"alt="<?php echo $imgcaption; ?> Foursquare"title="<?php echo $imgcaption; ?> Foursquare" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
343
  } else {
344
  echo ''; //If no URL Inputed
345
  }
346
 
347
  // Meetup
348
- if ( $meetup != '' && file_exists($smw_dir.'/meetup.png')) {
349
  ?><a href="<?php echo $meetup; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/meetup.png"alt="<?php echo $imgcaption; ?> Meetup"title="<?php echo $imgcaption; ?> Meetup" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
350
  } else {
351
  echo ''; //If no URL Inputed
352
  }
353
 
354
  // Tungle.me
355
- if ( $tungle != '' && file_exists($smw_dir.'/tungle.png')) {
356
  ?><a href="<?php echo $tungle; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/tungle.png"alt="<?php echo $imgcaption; ?> Tungle"title="<?php echo $imgcaption; ?> Tungle" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
357
  } else {
358
  echo ''; //If no URL inputed
359
  }
360
 
361
  // PlanCast
362
- if ( $plancast != '' && file_exists($smw_dir.'/plancast.png')) {
363
  ?><a href="<?php echo $plancast; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/plancast.png"alt="<?php echo $imgcaption; ?> PlanCast"title="<?php echo $imgcaption; ?> PlanCast" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
364
  } else {
365
  echo ''; //If no URL inputed
366
  }
367
 
368
  // Hyves
369
- if ( $slideshare != '' && file_exists($smw_dir.'/slideshare.png')) {
370
  ?><a href="<?php echo $slideshare; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/slideshare.png"alt="<?php echo $imgcaption; ?> SlideShare"title="<?php echo $imgcaption; ?> SlideShare" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
371
  } else {
372
  echo ''; //If no URL inputed
373
  }
374
 
375
  // DeviantArt
376
- if ( $deviantart != '' && file_exists($smw_dir.'/deviantart.png')) {
377
  ?><a href="<?php echo $deviantart; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/deviantart.png"alt="<?php echo $imgcaption; ?> DeviantArt"title="<?php echo $imgcaption; ?> DeviantArt" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
378
  } else {
379
  echo ''; //If no URL inputed
380
  }
381
 
 
 
 
 
 
 
 
382
  // Live365
383
- if ( $live365 != '' && file_exists($smw_dir.'/live365.png')) {
384
  ?><a href="<?php echo $live365; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/live365.png"alt="<?php echo $imgcaption; ?> Live365"title="<?php echo $imgcaption; ?> Live365" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
385
  } else {
386
  echo ''; //If no URL inputed
387
  }
388
 
389
  // Digital Tunes
390
- if ( $digitaltunes != '' && file_exists($smw_dir.'/digitaltunes.png')) {
391
  ?><a href="<?php echo $digitaltunes; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/digitaltunes.png"alt="<?php echo $imgcaption; ?> Digital Tunes"title="<?php echo $imgcaption; ?> Digital Tunes" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
392
  } else {
393
  echo ''; //If no URL Inputed
394
  }
395
 
396
  // Soundcloud
397
- if ( $soundcloud != '' && file_exists($smw_dir.'/soundcloud.png')) {
398
  ?><a href="<?php echo $soundcloud; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/soundcloud.png"alt="<?php echo $imgcaption; ?> Soundcloud"title="<?php echo $imgcaption; ?> Soundcloud" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
399
  } else {
400
  echo ''; //If no URL Inputed
401
  }
402
 
403
  // Etsy
404
- if ( $etsy != '' && file_exists($smw_dir.'/etsy.png')) {
405
  ?><a href="<?php echo $etsy; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/etsy.png"alt="<?php echo $imgcaption; ?> Etsy"title="<?php echo $imgcaption; ?> Etsy" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
406
  } else {
407
  echo ''; //If no URL Inputed
408
  }
409
 
410
  // Better Business Bureau
411
- if ( $bbb != '' && file_exists($smw_dir.'/bbb.png')) {
412
  ?><a href="<?php echo $bbb; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/bbb.png"alt="<?php echo $imgcaption; ?> Better Business Bureau"title="<?php echo $imgcaption; ?> Better Business Bureau" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
413
  } else {
414
  echo ''; //If no URL inputed
415
  }
416
 
417
  // Merchant Circle
418
- if ( $merchantcircle != '' && file_exists($smw_dir.'/merchantcircle.png')) {
419
  ?><a href="<?php echo $merchantcircle; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/merchantcircle.png"alt="<?php echo $imgcaption; ?> Merchant Circle"title="<?php echo $imgcaption; ?> Merchant Circle" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
420
  } else {
421
  echo ''; //If no URL inputed
@@ -464,14 +472,14 @@ class Social_Widget extends WP_Widget {
464
  }
465
 
466
  // RSS
467
- if ( $rss != '' && file_exists($smw_dir.'/rss.png')) {
468
  ?><a href="<?php echo $rss; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/rss.png" alt="<?php echo $imgcaption ?> RSS" title="<?php echo $imgcaption ?> RSS" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
469
  } else {
470
  echo '';// If no URL Inputed
471
  }
472
 
473
  // E-mail Subscription -- If Newsletter or Mailing List available
474
- if ( $subscribe != '' && file_exists($smw_dir.'/email.png')) {
475
  ?><a href="<?php echo $subscribe; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/email.png" alt="<?php echo $imgcaption ?> E-mail" title="<?php echo $imgcaption ?> E-mail" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
476
  } else {
477
  echo ''; // If no URL Inputed
@@ -522,6 +530,7 @@ class Social_Widget extends WP_Widget {
522
  $instance['plancast'] = strip_tags( $new_instance['plancast'] );
523
  $instance['slideshare'] = strip_tags( $new_instance['slideshare'] );
524
  $instance['deviantart'] = strip_tags( $new_instance['deviantart'] );
 
525
  $instance['live365'] = strip_tags( $new_instance['live365'] );
526
  $instance['digitaltunes'] = strip_tags( $new_instance['digitaltunes'] );
527
  $instance['soundcloud'] = strip_tags( $new_instance['soundcloud'] );
@@ -601,6 +610,7 @@ class Social_Widget extends WP_Widget {
601
  'plancast' => __('', 'smw'),
602
  'slideshare' => __('http://www.slideshare.net/nolimit2it/yourname', 'smw'),
603
  'deviantart' => __('http://yourname.deviantart.com/', 'smw'),
 
604
  'live365' => __('', 'smw'),
605
  'digitaltunes' => __('http://www.digital-tunes.net/user_profile/yourname', 'smw'),
606
  'soundcloud' => __('http://www.soundcloud.com/your-name', 'smw'),
@@ -815,8 +825,7 @@ class Social_Widget extends WP_Widget {
815
  <label for="<?php echo $this->get_field_id( 'plancast' ); ?>"><?php _e('PlanCast URL:', 'smw'); ?></label>
816
  <input id="<?php echo $this->get_field_id( 'plancast' ); ?>" name="<?php echo $this->get_field_name( 'plancast' ); ?>" value="<?php echo $instance['plancast']; ?>" style="width:85%;" />
817
  </p>
818
- </div>
819
- <div style="width: 48%; float: right; border-left: 1px solid #000; padding-left: 20px;">
820
  <!-- SlideShare URL: Text Input -->
821
  <p>
822
  <label for="<?php echo $this->get_field_id( 'slideshare' ); ?>"><?php _e('SlideShare URL:', 'smw'); ?></label>
@@ -828,6 +837,13 @@ class Social_Widget extends WP_Widget {
828
  <label for="<?php echo $this->get_field_id( 'deviantart' ); ?>"><?php _e('DeviantArt URL:', 'smw'); ?></label>
829
  <input id="<?php echo $this->get_field_id( 'deviantart' ); ?>" name="<?php echo $this->get_field_name( 'deviantart' ); ?>" value="<?php echo $instance['deviantart']; ?>" style="width:85%;" />
830
  </p>
 
 
 
 
 
 
 
831
 
832
  <!-- Live365 URL: Text Input -->
833
  <p>
3
  * Plugin Name: Social Media Widget
4
  * Plugin URI: http://forums.idontlikethisgame.com/viewforum.php?f=3
5
  * Description: Adds links to all of your social media and sharing site profiles. Icons come in 3 sizes, 4 icon styles, and 4 animations.
6
+ * Version: 2.7
7
  * Author: Brian Freytag
8
  * Author URI: http://www.idontlikethisgame.com/
9
  **/
82
  $plancast = $instance['plancast'];
83
  $slideshare = $instance['slideshare'];
84
  $deviantart = $instance['deviantart'];
85
+ $ping = $instance['ping'];
86
  $live365 = $instance['live365'];
87
  $digitaltunes = $instance['digitaltunes'];
88
  $soundcloud = $instance['soundcloud'];
184
  /* Display linked images to profiles from widget settings if one was input. */
185
 
186
  // Facebook
187
+ if ( $facebook != '' && $facebook != ' ' && file_exists($smw_dir.'/facebook.png')) {
188
  ?><a href="<?php echo $facebook; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/facebook.png" alt="<?php echo $imgcaption; ?> Facebook" title="<?php echo $imgcaption ?> Facebook" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
189
  } else {
190
  echo ''; //If no URL inputed
191
  }
192
 
193
  // Twitter
194
+ if ( $twitter != '' && $twitter != ' ' && file_exists($smw_dir.'/twitter.png')) {
195
  ?><a href="<?php echo $twitter; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/twitter.png" alt="<?php echo $imgcaption; ?> Twitter"title="<?php echo $imgcaption; ?> Twitter" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
196
  } else {
197
  echo ''; //If no URL inputed
199
 
200
 
201
  // MySpace
202
+ if ( $myspace != '' && $myspace != ' ' && file_exists($smw_dir.'/myspace.png')) {
203
  ?><a href="<?php echo $myspace; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/myspace.png"alt="<?php echo $imgcaption; ?> MySpace"title="<?php echo $imgcaption; ?> MySpace" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
204
  } else {
205
  echo ''; //If no URL inputed
206
  }
207
 
208
  // FriendFeed
209
+ if ( $friendfeed != '' && $friendfeed != ' ' && file_exists($smw_dir.'/friendfeed.png')) {
210
  ?><a href="<?php echo $friendfeed; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/friendfeed.png"alt="<?php echo $imgcaption; ?> FriendFeed"title="<?php echo $imgcaption; ?> FriendFeed" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>"" /></a><?php
211
  } else {
212
  echo ''; //If no URL inputed
213
  }
214
 
215
  // Orkut
216
+ if ( $orkut != '' && $orkut != ' ' && file_exists($smw_dir.'/orkut.png')) {
217
  ?><a href="<?php echo $orkut; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/orkut.png"alt="<?php echo $imgcaption; ?> Orkut"title="<?php echo $imgcaption; ?> Orkut" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
218
  } else {
219
  echo ''; //If no URL inputed
220
  }
221
 
222
  // Hyves
223
+ if ( $hyves != '' && $hyves != ' ' && file_exists($smw_dir.'/hyves.png')) {
224
  ?><a href="<?php echo $hyves; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/hyves.png"alt="<?php echo $imgcaption; ?> Hyves"title="<?php echo $imgcaption; ?> Hyves" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
225
  } else {
226
  echo ''; //If no URL inputed
227
  }
228
 
229
  // LinkedIN
230
+ if ( $linkedin != '' && $linkedin != ' ' && file_exists($smw_dir.'/linkedin.png')) {
231
  ?><a href="<?php echo $linkedin; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/linkedin.png"alt="<?php echo $imgcaption; ?> LinkedIn"title="<?php echo $imgcaption; ?> LinkedIn" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
232
  } else {
233
  echo ''; //If no URL inputed
234
  }
235
 
236
  // aSmallWorld
237
+ if ( $asmallworld != '' && $asmallworld != ' ' && file_exists($smw_dir.'/asmallworld.png')) {
238
  ?><a href="<?php echo $asmallworld; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/asmallworld.png"alt="<?php echo $imgcaption; ?> aSmallWorld"title="<?php echo $imgcaption; ?> aSmallWorld" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
239
  } else {
240
  echo ''; //If no URL inputed
241
  }
242
 
243
  // Flickr
244
+ if ( $flickr != '' && $flickr != ' ' && file_exists($smw_dir.'/flickr.png')) {
245
  ?><a href="<?php echo $flickr; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/flickr.png" alt="<?php echo $imgcaption; ?> Flickr"title="<?php echo $imgcaption; ?> Flickr" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
246
  } else {
247
  echo ''; //If no URL inputed
248
  }
249
 
250
  // YouTube
251
+ if ( $youtube != '' && $youtube != ' ' && file_exists($smw_dir.'/youtube.png')) {
252
  ?><a href="<?php echo $youtube; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/youtube.png"alt="<?php echo $imgcaption; ?> YouTube"title="<?php echo $imgcaption; ?> YouTube" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
253
  } else {
254
  echo ''; //If No URL Inputed
255
  }
256
 
257
  // Skype
258
+ if ( $skype != '' && $skype != ' ' && file_exists($smw_dir.'/skype.png')) {
259
  ?><a href="<?php echo $skype; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/skype.png"alt="<?php echo $imgcaption; ?> Skype"title="<?php echo $imgcaption; ?> Skype" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
260
  } else {
261
  echo ''; //If No URL Inputed
262
  }
263
 
264
  // Digg
265
+ if ( $digg != '' && $digg != ' ' && file_exists($smw_dir.'/digg.png')) {
266
  ?><a href="<?php echo $digg; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/digg.png"alt="<?php echo $imgcaption; ?> Digg"title="<?php echo $imgcaption; ?> Digg" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
267
  } else {
268
  echo ''; //If no URL Inputed
269
  }
270
 
271
  // Reddit
272
+ if ( $reddit != '' && $reddit != ' ' && file_exists($smw_dir.'/reddit.png')) {
273
  ?><a href="<?php echo $reddit; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/reddit.png"alt="<?php echo $imgcaption; ?> Reddit"title="<?php echo $imgcaption; ?> Reddit" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
274
  } else {
275
  echo ''; //If no URL Inputed
276
  }
277
 
278
  // Delicious
279
+ if ( $delicious != '' && $delicious != ' ' && file_exists($smw_dir.'/delicious.png')) {
280
  ?><a href="<?php echo $delicious; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/delicious.png"alt="<?php echo $imgcaption; ?> Delicious"title="<?php echo $imgcaption; ?> Delicious" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
281
  } else {
282
  echo ''; //If no URL Inputed
283
  }
284
 
285
  // StumbleUpon
286
+ if ( $stumble != '' && $stumble != ' ' && file_exists($smw_dir.'/stumble.png')) {
287
  ?><a href="<?php echo $stumble; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/stumble.png"alt="<?php echo $imgcaption; ?> StumbleUpon"title="<?php echo $imgcaption; ?> StumbleUpon" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
288
  } else {
289
  echo ''; //If no URL Inputed
290
  }
291
 
292
  // Tumblr
293
+ if ( $tumblr != '' && $tumblr != ' ' && file_exists($smw_dir.'/tumblr.png')) {
294
  ?><a href="<?php echo $tumblr; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/tumblr.png"alt="<?php echo $imgcaption; ?> Tumblr"title="<?php echo $imgcaption; ?> Tumblr" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
295
  } else {
296
  echo ''; //If no URL Inputed
297
  }
298
 
299
  // Google Buzz
300
+ if ( $buzz != '' && $buzz != ' ' && file_exists($smw_dir.'/buzz.png')) {
301
  ?><a href="<?php echo $buzz; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/buzz.png"alt="<?php echo $imgcaption; ?> Buzz"title="<?php echo $imgcaption; ?> Buzz" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
302
  } else {
303
  echo ''; //If no URL Inputed
304
  }
305
 
306
  // Vimeo
307
+ if ( $vimeo != '' && $vimeo != ' ' && file_exists($smw_dir.'/vimeo.png')) {
308
  ?><a href="<?php echo $vimeo; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/vimeo.png"alt="<?php echo $imgcaption; ?> Vimeo"title="<?php echo $imgcaption; ?> Vimeo" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
309
  } else {
310
  echo ''; //If no URL Inputed
311
  }
312
 
313
  // Blogger
314
+ if ( $blogger != '' && $blogger != ' ' && file_exists($smw_dir.'/blogger.png')) {
315
  ?><a href="<?php echo $blogger; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/blogger.png"alt="<?php echo $imgcaption; ?> Blogger"title="<?php echo $imgcaption; ?> Blogger" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
316
  } else {
317
  echo ''; //If No URL Inputed
318
  }
319
 
320
  // Wordpress
321
+ if ( $wordpress != '' && $wordpress != ' ' && file_exists($smw_dir.'/wordpress.png')) {
322
  ?><a href="<?php echo $wordpress; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/wordpress.png"alt="<?php echo $imgcaption; ?> Wordpress"title="<?php echo $imgcaption; ?> Wordpress" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
323
  } else {
324
  echo ''; //If No URL Inputed
325
  }
326
 
327
  // Yelp
328
+ if ( $yelp != '' && $yelp != ' ' && file_exists($smw_dir.'/yelp.png')) {
329
  ?><a href="<?php echo $yelp; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/yelp.png"alt="<?php echo $imgcaption; ?> Yelp"title="<?php echo $imgcaption; ?> Yelp" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
330
  } else {
331
  echo ''; //If No URL Inputed
332
  }
333
 
334
  // Last.fm
335
+ if ( $lastfm != '' && $lastfm != ' ' && file_exists($smw_dir.'/lastfm.png')) {
336
  ?><a href="<?php echo $lastfm; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/lastfm.png"alt="<?php echo $imgcaption; ?> Last.fm"title="<?php echo $imgcaption; ?> Last.fm" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
337
  } else {
338
  echo ''; //If no URL Inputed
339
  }
340
 
341
  // Foursquare
342
+ if ( $foursquare != '' && $foursquare != ' ' && file_exists($smw_dir.'/foursquare.png')) {
343
  ?><a href="<?php echo $foursquare; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/foursquare.png"alt="<?php echo $imgcaption; ?> Foursquare"title="<?php echo $imgcaption; ?> Foursquare" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
344
  } else {
345
  echo ''; //If no URL Inputed
346
  }
347
 
348
  // Meetup
349
+ if ( $meetup != '' && $meetup != ' ' && file_exists($smw_dir.'/meetup.png')) {
350
  ?><a href="<?php echo $meetup; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/meetup.png"alt="<?php echo $imgcaption; ?> Meetup"title="<?php echo $imgcaption; ?> Meetup" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
351
  } else {
352
  echo ''; //If no URL Inputed
353
  }
354
 
355
  // Tungle.me
356
+ if ( $tungle != '' && $tungle != ' ' && file_exists($smw_dir.'/tungle.png')) {
357
  ?><a href="<?php echo $tungle; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/tungle.png"alt="<?php echo $imgcaption; ?> Tungle"title="<?php echo $imgcaption; ?> Tungle" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
358
  } else {
359
  echo ''; //If no URL inputed
360
  }
361
 
362
  // PlanCast
363
+ if ( $plancast != '' && $plancast != ' ' && file_exists($smw_dir.'/plancast.png')) {
364
  ?><a href="<?php echo $plancast; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/plancast.png"alt="<?php echo $imgcaption; ?> PlanCast"title="<?php echo $imgcaption; ?> PlanCast" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
365
  } else {
366
  echo ''; //If no URL inputed
367
  }
368
 
369
  // Hyves
370
+ if ( $slideshare != '' && $slideshare != ' ' && file_exists($smw_dir.'/slideshare.png')) {
371
  ?><a href="<?php echo $slideshare; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/slideshare.png"alt="<?php echo $imgcaption; ?> SlideShare"title="<?php echo $imgcaption; ?> SlideShare" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
372
  } else {
373
  echo ''; //If no URL inputed
374
  }
375
 
376
  // DeviantArt
377
+ if ( $deviantart != '' && $deviantart != ' ' && file_exists($smw_dir.'/deviantart.png')) {
378
  ?><a href="<?php echo $deviantart; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/deviantart.png"alt="<?php echo $imgcaption; ?> DeviantArt"title="<?php echo $imgcaption; ?> DeviantArt" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
379
  } else {
380
  echo ''; //If no URL inputed
381
  }
382
 
383
+ // iTunes Ping
384
+ if ( $ping != '' && $ping != ' ' && file_exists($smw_dir.'/ping.png')) {
385
+ ?><a href="<?php echo $ping; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/ping.png"alt="<?php echo $imgcaption; ?> iTunes Ping"title="<?php echo $imgcaption; ?> iTunes Ping" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
386
+ } else {
387
+ echo ''; //If no URL inputed
388
+ }
389
+
390
  // Live365
391
+ if ( $live365 != '' && $live365 != ' ' && file_exists($smw_dir.'/live365.png')) {
392
  ?><a href="<?php echo $live365; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/live365.png"alt="<?php echo $imgcaption; ?> Live365"title="<?php echo $imgcaption; ?> Live365" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
393
  } else {
394
  echo ''; //If no URL inputed
395
  }
396
 
397
  // Digital Tunes
398
+ if ( $digitaltunes != '' && $digitaltunes != ' ' && file_exists($smw_dir.'/digitaltunes.png')) {
399
  ?><a href="<?php echo $digitaltunes; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/digitaltunes.png"alt="<?php echo $imgcaption; ?> Digital Tunes"title="<?php echo $imgcaption; ?> Digital Tunes" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
400
  } else {
401
  echo ''; //If no URL Inputed
402
  }
403
 
404
  // Soundcloud
405
+ if ( $soundcloud != '' && $soundcloud != ' ' && file_exists($smw_dir.'/soundcloud.png')) {
406
  ?><a href="<?php echo $soundcloud; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/soundcloud.png"alt="<?php echo $imgcaption; ?> Soundcloud"title="<?php echo $imgcaption; ?> Soundcloud" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
407
  } else {
408
  echo ''; //If no URL Inputed
409
  }
410
 
411
  // Etsy
412
+ if ( $etsy != '' && $etsy != ' ' && file_exists($smw_dir.'/etsy.png')) {
413
  ?><a href="<?php echo $etsy; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/etsy.png"alt="<?php echo $imgcaption; ?> Etsy"title="<?php echo $imgcaption; ?> Etsy" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
414
  } else {
415
  echo ''; //If no URL Inputed
416
  }
417
 
418
  // Better Business Bureau
419
+ if ( $bbb != '' && $bbb != ' ' && file_exists($smw_dir.'/bbb.png')) {
420
  ?><a href="<?php echo $bbb; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/bbb.png"alt="<?php echo $imgcaption; ?> Better Business Bureau"title="<?php echo $imgcaption; ?> Better Business Bureau" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
421
  } else {
422
  echo ''; //If no URL inputed
423
  }
424
 
425
  // Merchant Circle
426
+ if ( $merchantcircle != '' && $merchantcircle != ' ' && file_exists($smw_dir.'/merchantcircle.png')) {
427
  ?><a href="<?php echo $merchantcircle; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/merchantcircle.png"alt="<?php echo $imgcaption; ?> Merchant Circle"title="<?php echo $imgcaption; ?> Merchant Circle" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
428
  } else {
429
  echo ''; //If no URL inputed
472
  }
473
 
474
  // RSS
475
+ if ( $rss != '' && $rss != ' ' && file_exists($smw_dir.'/rss.png')) {
476
  ?><a href="<?php echo $rss; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/rss.png" alt="<?php echo $imgcaption ?> RSS" title="<?php echo $imgcaption ?> RSS" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
477
  } else {
478
  echo '';// If no URL Inputed
479
  }
480
 
481
  // E-mail Subscription -- If Newsletter or Mailing List available
482
+ if ( $subscribe != '' && $subscribe != ' ' && file_exists($smw_dir.'/email.png')) {
483
  ?><a href="<?php echo $subscribe; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/email.png" alt="<?php echo $imgcaption ?> E-mail" title="<?php echo $imgcaption ?> E-mail" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
484
  } else {
485
  echo ''; // If no URL Inputed
530
  $instance['plancast'] = strip_tags( $new_instance['plancast'] );
531
  $instance['slideshare'] = strip_tags( $new_instance['slideshare'] );
532
  $instance['deviantart'] = strip_tags( $new_instance['deviantart'] );
533
+ $instance['ping'] = strip_tags( $new_instance['ping'] );
534
  $instance['live365'] = strip_tags( $new_instance['live365'] );
535
  $instance['digitaltunes'] = strip_tags( $new_instance['digitaltunes'] );
536
  $instance['soundcloud'] = strip_tags( $new_instance['soundcloud'] );
610
  'plancast' => __('', 'smw'),
611
  'slideshare' => __('http://www.slideshare.net/nolimit2it/yourname', 'smw'),
612
  'deviantart' => __('http://yourname.deviantart.com/', 'smw'),
613
+ 'ping' => __('http://c.itunes.apple.com/WebObjects/MZConnections.woa/wa/viewProfile?userId=youruserid'),
614
  'live365' => __('', 'smw'),
615
  'digitaltunes' => __('http://www.digital-tunes.net/user_profile/yourname', 'smw'),
616
  'soundcloud' => __('http://www.soundcloud.com/your-name', 'smw'),
825
  <label for="<?php echo $this->get_field_id( 'plancast' ); ?>"><?php _e('PlanCast URL:', 'smw'); ?></label>
826
  <input id="<?php echo $this->get_field_id( 'plancast' ); ?>" name="<?php echo $this->get_field_name( 'plancast' ); ?>" value="<?php echo $instance['plancast']; ?>" style="width:85%;" />
827
  </p>
828
+
 
829
  <!-- SlideShare URL: Text Input -->
830
  <p>
831
  <label for="<?php echo $this->get_field_id( 'slideshare' ); ?>"><?php _e('SlideShare URL:', 'smw'); ?></label>
837
  <label for="<?php echo $this->get_field_id( 'deviantart' ); ?>"><?php _e('DeviantArt URL:', 'smw'); ?></label>
838
  <input id="<?php echo $this->get_field_id( 'deviantart' ); ?>" name="<?php echo $this->get_field_name( 'deviantart' ); ?>" value="<?php echo $instance['deviantart']; ?>" style="width:85%;" />
839
  </p>
840
+ </div>
841
+ <div style="width: 48%; float: right; border-left: 1px solid #000; padding-left: 20px;">
842
+ <!-- iTunes Ping URL: Text Input -->
843
+ <p>
844
+ <label for="<?php echo $this->get_field_id( 'ping' ); ?>"><?php _e('iTunes Ping URL:', 'smw'); ?></label>
845
+ <input id="<?php echo $this->get_field_id( 'ping' ); ?>" name="<?php echo $this->get_field_name( 'ping' ); ?>" value="<?php echo $instance['ping']; ?>" style="width:85%;" />
846
+ </p>
847
 
848
  <!-- Live365 URL: Text Input -->
849
  <p>