Changeset 697839
- Timestamp:
- 04/15/2013 01:52:46 PM (13 years ago)
- Location:
- sociable/trunk
- Files:
-
- 6 added
- 3 edited
-
images/option1/16/vuible.png (added)
-
images/option1/32/vuible.png (added)
-
images/option1/48/vuible.png (added)
-
images/option1/64/vuible.png (added)
-
images/vuible.png (added)
-
includes/sociable_output.php (modified) (9 diffs)
-
js/vuible.js (added)
-
readme.txt (modified) (3 diffs)
-
sociable.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sociable/trunk/includes/sociable_output.php
r576818 r697839 129 129 // Start preparing the output 130 130 131 131 $args = array( 132 'post_type' => 'attachment', 133 'numberposts' => null, 134 'post_status' => null, 135 'post_parent' => $post->ID 136 ); 137 138 $image = ""; 139 if ($attachments) { 140 foreach ($attachments as $attachment) { 141 //echo apply_filters('the_title', $attachment->post_title); 142 $image = wp_get_attachment_url($attachment->ID, true); 143 } 144 } 132 145 133 146 $html = '<!-- Start Sociable --><div class="sociable">'; … … 257 270 258 271 $url = str_replace('TITLE', $title, $url); 272 273 $url = str_replace('SOURCE',$image,$url); 259 274 260 275 $url = str_replace('RSS', $rss, $url); … … 297 312 298 313 } 314 if ($description =="vuible"){ 315 $linkitem = ( ! isset( $sociable_options['use_images'] ) ) ? $description : "<img style='' src='".SOCIABLE_HTTP_PATH."images/".$sociable_options['icon_option']."/".$sociable_options['icon_size']."/vuible.png'>"; 316 } 299 317 300 318 } … … 312 330 $target = isset( $sociable_options['new_window'] ) ? 'target="_blank"' : '' ; 313 331 314 if ($sitename == "Add to favorites" || $sitename=="More"){ 315 316 if ($sitename == "More"){ 317 318 $link .= '<a style="cursor:pointer" rel="nofollow" onMouseOut="fixOnMouseOut(document.getElementById(\'sociable-post'.$location.'-'.$post->ID.'\'), event, \'post'.$location.'-'.$post->ID.'\')" onMouseOver="more(this,\'post'.$location.'-' . $post->ID . '\')">' . $linkitem . '</a></li>' ; 319 332 if ($sitename == "Add to favorites" || $sitename=="More" || $sitename=="vuible"){ 333 334 if ($sitename == "More" || $sitename=="vuible"){ 335 if ($sitename == "More"){ 336 $link .= '<a style="cursor:pointer" rel="nofollow" onMouseOut="fixOnMouseOut(document.getElementById(\'sociable-post'.$location.'-'.$post->ID.'\'), event, \'post'.$location.'-'.$post->ID.'\')" onMouseOver="more(this,\'post'.$location.'-' . $post->ID . '\')">' . $linkitem . '</a></li>' ; 337 }else{ 338 $link .= '<a onClick="ipinit();" style="cursor:pointer" rel="nofollow" title="Vuible.com | Share positive messages (images and videos only)">' . $linkitem . '</a></li>' ; 339 } 320 340 }else{ 321 341 … … 371 391 372 392 $url = str_replace('TITLECOUNT', $titleCOUNT, $url); 393 394 $url = str_replace('SOURCE',$image,$url); 373 395 374 396 $url = str_replace('TITLE', $title, $url); … … 395 417 396 418 if (isset($description) && $description!= "More"){ 397 419 398 420 $linkitem = ( ! isset( $sociable_options['use_images'] ) ) ? $description : _get_sociable_image( $site, $description ); 399 421 400 422 }else{ 401 423 402 424 $linkitem = ( ! isset( $sociable_options['use_images'] ) ) ? $description : "<img style='".$margin."' src='".SOCIABLE_HTTP_PATH."images/more.png'>"; 403 425 404 426 } 427 428 if ($sitename =="vuible"){ 429 430 $linkitem = ( ! isset( $sociable_options['use_images'] ) ) ? $description : "<a title='Vuible.com | Share positive messages (images and videos only)'> <img style='' src='".SOCIABLE_HTTP_PATH."images/".$sociable_options['icon_option']."/".$sociable_options['icon_size']."/vuible.png'></a>"; 431 } 405 432 406 433 } … … 418 445 $target = isset( $sociable_options['new_window'] ) ? 'target="_blank"' : '' ; 419 446 420 if ($sitename == "Add to favorites" || $sitename=="More" ){421 422 if ($sitename == "More" ){423 447 if ($sitename == "Add to favorites" || $sitename=="More" || $sitename=="vuible"){ 448 449 if ($sitename == "More" || $sitename=="vuible"){ 450 if ($sitename=="More"){ 424 451 $link .= '<a style="cursor:poainter" rel="nofollow" onMouseOver="more(this,\'post'.$location.'-' . $post->ID . '\')">' . $linkitem . '</a></li>' ; 425 452 }else{ 453 $link .= '<a onClick="ipinit();" style="cursor:pointer" rel="nofollow" title="Vuible.com | Share positive messages (images and videos only)">' . $linkitem . '</a></li>' ; 454 } 426 455 }else{ 427 456 … … 435 464 436 465 $link .= '<a title="'.$sitename.'" style="'.$description.$sociable_options['icon_size'].'_'.str_replace("option","",$sociable_options['icon_option']).'" rel="nofollow" ' . $target . ' href="' . $href . '">' . $linkitem . '</a></li>' ; 437 466 438 467 }else{ 439 468 … … 523 552 524 553 $url = str_replace('PERMALINK', $permalink, $url); 554 if ($sitename =="vuible Counter"){ 555 556 $url = ( ! isset( $sociable_options['use_images'] ) ) ? $description : "<a title='Vuible.com | Share positive messages (images and videos only)'><img onClick='ipinit();' style='cursor:pointer' src='".SOCIABLE_HTTP_PATH."images/vuible.png'></a>"; 557 } 525 558 526 559 $link.= $url."</li>"; -
sociable/trunk/readme.txt
r596569 r697839 5 5 Requires at least: 2.6 6 6 Tested up to: 3.3.1 7 Stable tag: 4.3. 37 Stable tag: 4.3.4 8 8 9 9 Congrats for joining the leader in the sharing space of WordPress plugins. "Sociable" is totally FREE, has over 1,7 million downloads and now you can enjoy Fueto and make your searches more Sociable. … … 60 60 61 61 62 *** Sociable 4.3. 2***62 *** Sociable 4.3.4 *** 63 63 64 64 = Recent Updates = … … 154 154 == Changelog == 155 155 156 = 4.3.4 = 157 158 * Bugs Fixed. 159 * Vuible.com added 160 156 161 = 4.3.3 = 157 162 -
sociable/trunk/sociable.php
r596569 r697839 4 4 Plugin URI: http://blogplay.com/plugin 5 5 Description: Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites. 6 Version: 4.3. 36 Version: 4.3.4 7 7 Author: Blogplay 8 8 Author URI: http://blogplay.com/ … … 262 262 263 263 wp_enqueue_script( 'sociable' , SOCIABLE_HTTP_PATH . 'js/sociable.js' ); 264 265 wp_enqueue_script( 'vuible' , SOCIABLE_HTTP_PATH . 'js/vuible.js' ); 264 266 265 267 … … 653 655 654 656 655 657 'vuible' =>'on', 656 658 657 659 … … 697 699 698 700 699 'BlinkList' =>'on',701 700 702 701 703 … … 745 747 746 748 747 'StumbleUpon Counter' =>'on' 749 'StumbleUpon Counter' =>'on', 750 751 'vuible Counter' =>'on' 748 752 749 753 … … 1835 1839 ), 1836 1840 1837 1841 'vuible' => array( 1842 'favicon' => 'vuible.png', 1843 'url' => 'http://vuible.com/pins-settings/?m=bm&imgsrc=SOURCE&source=PERMALINK&title=TITLE&video=0', 1844 'spriteCoordinates' => Array( 1845 '16' => array("-112px","-16px"), 1846 '32' => array("-224px","-32px"), 1847 '48' => array("-336px","-48px"), 1848 '64' => array("-448px","-64px") 1849 ) 1850 ), 1851 'vuible Counter' => array( 1852 'counter' =>1, 1853 'favicon' => 'vuible.png', 1854 'url' => '<script src="http://www.stumbleupon.com/hostedbadge.php?s=2&r=PERMALINKCOUNT"></script>', 1855 'spriteCoordinates' => Array( 1856 '16' => array("-112px","-16px"), 1857 '32' => array("-224px","-32px"), 1858 '48' => array("-336px","-48px"), 1859 '64' => array("-448px","-64px") 1860 ) 1861 ), 1838 1862 1839 1863
Note: See TracChangeset
for help on using the changeset viewer.