Changeset 782467
- Timestamp:
- 10/04/2013 09:07:04 AM (11 years ago)
- Location:
- only-tweet-like-share-and-google-1
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
only-tweet-like-share-and-google-1/trunk/readme.txt
r739784 r782467 4 4 Tags: Simple social share, social share, Facebook, Like, google, google +1, google plusone, twitter, tweet, facebook share, plusone, linkedin 5 5 Requires at least: 3.0 6 Tested up to: 3. 5.27 Stable tag: 1.7. 16 Tested up to: 3.6.1 7 Stable tag: 1.7.3 8 8 9 9 A very simple social share plugin with vertical scrolling sharebar support -
only-tweet-like-share-and-google-1/trunk/tweet-like-plusone.php
r739784 r782467 4 4 Plugin URI: http://techxt.com/tweet-like-google-1-and-share-plugin-wordpress/ 5 5 Author: Sudipto Pratap Mahato 6 Version: 1.7. 16 Version: 1.7.3 7 7 Description: Most simple social share icons. 99% of your any blog post is share by these Social share icons. 8 8 Requires at least: 3.0 9 Tested up to: 3. 5.19 Tested up to: 3.6.1 10 10 */ 11 11 … … 120 120 { 121 121 if(get_option('s4_twitter','1'))$r.='<script type="text/javascript" src="https://platform.twitter.com/widgets.js"></script>'; 122 if(get_option('s4_fblike','1') )$r.=$flsc;122 if(get_option('s4_fblike','1')||get_option('s4_fbshare','1'))$r.=$flsc; 123 123 if(get_option('s4_plusone','1'))$r.='<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>'; 124 124 if(get_option('s4_linkedin',false))$r.='<script type="text/javascript" src="https://platform.linkedin.com/in.js"></script>'; … … 130 130 131 131 function social4i_css() { 132 echo "<!-- This site is powered by Tweet, Like, Plusone and Share Plugin v1.7.1- http://techxt.com/tweet-like-google-1-and-share-plugin-wordpress/ -->\n";132 echo "<!-- This site is powered by Tweet, Like, Plusone and Share Plugin - http://techxt.com/tweet-like-google-1-and-share-plugin-wordpress/ -->\n"; 133 133 s4_fb_share_thumb(); 134 134 if (get_option('s4dmob', false )==true && social4i_check_mobile())return; 135 echo '<style type="text/css">div.socialicons{float:left;display:block;margin-right: 10px;}div.socialicons p{margin-bottom: 0px !important;margin-top: 0px !important;padding-bottom: 0px !important;padding-top: 0px !important;}div.social4iv{background: none repeat scroll 0 0 #FFFFFF;border: 1px solid #aaa;border-radius: 3px 3px 3px 3px;box-shadow: 3px 3px 3px #DDDDDD;padding: 3px;position: fixed;text-align: center;top: 55px;width: 68px;display:none;}div.socialiconsv{padding-bottom: 5px;}</style>'."\n"; 135 wp_enqueue_script('jquery'); 136 echo '<style type="text/css">div.socialicons{float:left;display:block;margin-right: 10px;line-height: 1;}div.socialiconsv{line-height: 1;}div.socialicons p{margin-bottom: 0px !important;margin-top: 0px !important;padding-bottom: 0px !important;padding-top: 0px !important;}div.social4iv{background: none repeat scroll 0 0 #FFFFFF;border: 1px solid #aaa;border-radius: 3px 3px 3px 3px;box-shadow: 3px 3px 3px #DDDDDD;padding: 3px;position: fixed;text-align: center;top: 55px;width: 68px;display:none;}div.socialiconsv{padding-bottom: 5px;}</style>'."\n"; 136 137 if(get_option('s4optimize',true)==true&&get_option( 's4scripthead', 'head' ) == "head" ) 137 138 echo s4load_script(); 138 139 $ccss=get_option('s4ccss',''); 140 $cjscript=get_option('s4cjscript',''); 141 if(trim($cjscript!=''))echo $cjscript; 139 142 if(trim($ccss!=''))echo '<style type="text/css">'.$ccss.'</style>'; 140 143 … … 142 145 function social4i_foot() 143 146 { 147 ?> 148 <div id="fb-root"></div> 149 <?php 144 150 if (get_option('s4dmob', false )==true && social4i_check_mobile())return; 145 151 if(get_option('s4optimize',true)==true&&get_option( 's4scripthead', 'head' ) == "foot" ) … … 153 159 var offset1 = $("#social4ivbottom").offset(); 154 160 var lmargin=<?php echo get_option('s4vbmargin',100); ?>; 161 var tmargin=<?php echo get_option('s4vbmargintop',20); ?>; 155 162 var vhide=<?php if(get_option('s4vbhide','vbhide')=="vbhide") echo 1;else echo 0; ?>; 156 163 var avis=<?php if(get_option('s4vbavis','true')=="true") echo 1;else echo 0; ?>; … … 163 170 {$("#social4iv").css("top",offset.top-$(window).scrollTop());} 164 171 else 165 {$("#social4iv").css("top", 20);}172 {$("#social4iv").css("top",tmargin);} 166 173 $("#social4iv").fadeIn(); 167 174 } … … 170 177 offset = $("#social4ivtop").offset(); 171 178 offset1 = $("#social4ivbottom").offset(); 172 if($(window).scrollTop()<offset.top 179 if($(window).scrollTop()<offset.top-tmargin) 173 180 {$("#social4iv").css("top",offset.top-$(window).scrollTop());} 174 181 else 175 {$("#social4iv").css("top", 20);}176 if($(window).scrollTop()<offset1.top || vhide==0)is_dis=true;else is_dis=false;182 {$("#social4iv").css("top",tmargin);} 183 if($(window).scrollTop()<offset1.top-tmargin || vhide==0)is_dis=true;else is_dis=false; 177 184 if (($(window).scrollTop() > offset.top||avis) && is_dis && is_vis) 178 185 { … … 243 250 $desc = esc_attr(str_replace("\r\n",' ',substr(strip_tags(strip_shortcodes($post->post_content)), 0, 160))); 244 251 } 252 if(trim($desc)=="")$desc=get_the_title(''); 245 253 ?> 246 254 <meta property="og:type" content="article" /> … … 248 256 <meta property="og:url" content="<?php the_permalink(); ?>"/> 249 257 <meta property="og:site_name" content="<?php bloginfo('name'); ?>" /> 250 <meta property="og:description" content="<?php echo $desc; ?> 258 <meta property="og:description" content="<?php echo $desc; ?>"/> 251 259 <!--[if lt IE 9]> 252 260 <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> … … 281 289 if(get_option('s4_twitter','1')){ 282 290 if (get_option( 's4iconsize', 'large' ) == "large" )$tp="vertical"; else $tp="horizontal"; 283 $sharelinks.= '< div class=socialicons style="float:left;margin-right: 10px;"><a href="https://twitter.com/share" data-url="'.$plink.'" data-counturl="'.$plink.'" data-text="'.$ptitle.'" class="twitter-share-button" data-count="'.$tp.'">Tweet</a><script type="text/javascript" src="https://platform.twitter.com/widgets.js"></script></div>';291 $sharelinks.= '<script src="//connect.facebook.net/'.$clang.'/all.js#xfbml=1"></script><div class=socialicons style="float:left;margin-right: 10px;"><a href="https://twitter.com/share" data-url="'.$plink.'" data-counturl="'.$plink.'" data-text="'.$ptitle.'" class="twitter-share-button" data-count="'.$tp.'">Tweet</a><script type="text/javascript" src="https://platform.twitter.com/widgets.js"></script></div>'; 284 292 } 285 293 if(get_option('s4_fblike','1')){ … … 290 298 $tp=' layout="button_count" width="100" height="21" '; 291 299 292 $sharelinks.= '<div class=socialicons style="float:left;margin-right: 10px;">< div id="fb-root"></div><script src="//connect.facebook.net/'.$clang.'/all.js#xfbml=1"></script><fb:like href="'.$fblplink.'" send="'.$snd.'"'.$tp.'show_faces="false" font=""></fb:like></div>';300 $sharelinks.= '<div class=socialicons style="float:left;margin-right: 10px;"><fb:like href="'.$fblplink.'" send="'.$snd.'"'.$tp.'show_faces="false" font=""></fb:like></div>'; 293 301 } 294 302 if(get_option('s4_plusone','1')){ 295 303 if (get_option( 's4iconsize', 'large' ) == "large" )$tp="tall"; else $tp="medium"; 296 $sharelinks.='<div class="socialicons" style="float:left;margin-right: 10px;"><script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>< g:plusone size="'.$tp.'" href="'.$fblplink.'" count="true"></g:plusone></div>';304 $sharelinks.='<div class="socialicons" style="float:left;margin-right: 10px;"><script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script><div class="g-plusone" data-size="'.$tp.'" data-href="'.$fblplink.'"></div></div>'; 297 305 } 298 306 if(get_option( 's4_linkedin', false )){ … … 300 308 $sharelinks.='<div class="socialicons" style="float:left;margin-right: 10px;"><script type="text/javascript" src="https://platform.linkedin.com/in.js"></script><script type="in/share" data-url="'.$eplink.'" data-counter="'.$tp.'"></script></div>'; 301 309 } 302 /*if(get_option('s4_fbshare','1')){310 if(get_option('s4_fbshare','1')){ 303 311 if (get_option( 's4iconsize', 'large' ) == "large" ) 304 312 { … … 307 315 $cs2='style="position: absolute; bottom: 0pt;"'; 308 316 } else $tp="button_count"; 309 $sharelinks.= '<div class=socialicons style="position: relative;'.$cs1.'float:left;margin-right: 10px;"><div '.$cs2.'>< a name="fb_share" type="'.$tp.'" share_url="'.$eplink.'" href="http://www.facebook.com/sharer.php">Share</a></div></div>';310 } */311 $sharelinks.= '<div style="clear:both"></div></div> <div style="float: right; width: 255px; margin-top: -37px; margin-right: 10px;"><b>If you need a Scrolling share plugin then try out my other two plugins</b><br/> 1. <a href="http://wordpress.org/extend/plugins/scrolling-social-sharebar/" target="_blank">Scrolling Social Sharebar</a><br/> 2. <a href="http://wordpress.org/extend/plugins/scrolling-twitter-like-google-plusone-linkedin-and-stumbleupon/" target="_blank">Scrolling Twitter Like Google +1</a></div>';317 $sharelinks.= '<div class=socialicons style="position: relative;'.$cs1.'float:left;margin-right: 10px;"><div '.$cs2.'><div class="fb-share-button" data-href="'.$plink.'" data-width="450" data-type="'.$tp.'"></div></div></div>'; 318 } 319 $sharelinks.= '<div style="clear:both"></div></div>'; 312 320 echo $sharelinks; 313 321 } … … 333 341 <h2>Tweet, Like, Share and Google +1 Option Page</h2> 334 342 Like this Plugin then why not hit the like button. Your like will motivate me to enhance the features of the Plugin :)<br /> 335 <iframe style="overflow: hidden; width: 450px; height: 35px;" src="http://www.facebook.com/plugins/like.php?app_id=199883273397074&href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FTech-XT%2F223482634358279&send=false&layout=standard&width=450&show_faces=false&action=like&colorscheme=light&font&height=35" frameborder="0" scrolling="no"width="320" height="35"></iframe><br />And if you are too generous then you can always <b>DONATE</b> by clicking the donation button.<br/>If you like the plugin then <b>write a review</b> of it pointing out the plus and minus points.<br /><a href="http://techxt.com/tweet-like-google-1-and-share-plugin-wordpress/" TARGET='_blank'>Click here</a> for <b>Reference on using shortcode/Function</b> or if you want to <b>report a bug</b>.343 <iframe style="overflow: hidden; width: 450px; height: 35px;" src="http://www.facebook.com/plugins/like.php?app_id=199883273397074&href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FTech-XT%2F223482634358279&send=false&layout=standard&width=450&show_faces=false&action=like&colorscheme=light&font&height=35" width="320" height="35"></iframe><br />And if you are too generous then you can always <b>DONATE</b> by clicking the donation button.<br/>If you like the plugin then <b>write a review</b> of it pointing out the plus and minus points.<br /><a href="http://techxt.com/tweet-like-google-1-and-share-plugin-wordpress/" TARGET='_blank'>Click here</a> for <b>Reference on using shortcode/Function</b> or if you want to <b>report a bug</b>. 336 344 <table class="form-ta"> 337 345 <tr valign="top"> 338 <td width="7 8%">346 <td width="73%"> 339 347 <form method="post" action="options.php"> 340 348 <h3>Test Buttons</h3> … … 355 363 <p> Select Facebook Like Language <?php s4_lang_disp(); ?> </p> 356 364 <p><b>3 </b><input type="checkbox" name="s4_plusone" id="s4-plusone" value="true"<?php if (get_option( 's4_plusone', true ) == true) echo ' checked'; ?>> Display Google +1 </p> 357 <p><b>4 </b> Display Facebook Share (Facebook no longer supports FB share) <a href="http://techxt.com/plugin-support-forum/tweet-like-plusone-and-share-plugin/display-facebook-share-button-custom-button/" target="_blank">Check out the alternative method to display FB Share</a></p>365 <p><b>4 </b><input type="checkbox" name="s4_fbshare" id="s4-fbshare" value="true"<?php if (get_option( 's4_fbshare', true ) == true) echo ' checked'; ?>> Display Facebook Share </p> 358 366 <p><b>5 </b><input type="checkbox" name="s4_linkedin" id="s4_linkedin" value="true"<?php if (get_option( 's4_linkedin', false ) == true) echo ' checked'; ?>> Display Linkedin </p> 359 367 <p><b>6 </b><input type="checkbox" name="s4_cbtn" id="s4_cbtn" value="true"<?php if (get_option( 's4_cbtn', false ) == true) echo ' checked'; ?>> Display Custom Buttons </p> … … 372 380 373 381 <div style="padding-right: 10px; padding-bottom: 10px; padding-left: 10px; background: none repeat scroll 0% 0% rgb(219, 234, 249);"> 374 <h3 style="color: #cc0000;">Vertical Scrolling Sharebar</h3>382 <h3 style="color: #cc0000;">Vertical Scrolling sidebar</h3> 375 383 <p><input type="checkbox" name="s4dispvb" id="s4dispvb" value="true"<?php if (get_option( 's4dispvb', false ) == true) echo ' checked'; ?>> <b>Display Vertical sidebar</b> </p> 376 384 <p><b>Margin Left </b><input type="text" name="s4vbmargin" style="width: 50px;" value="<?php echo get_option('s4vbmargin',100); ?>" /> (Default 100)</p> 385 <p><b>Margin Top </b><input type="text" name="s4vbmargintop" style="width: 50px;" value="<?php echo get_option('s4vbmargintop',20); ?>" /> (Default 20)</p> 377 386 <p><input type="radio" name="s4vbavis" value="true" <?php if (get_option( 's4vbavis', 'true' ) == "true" ) echo ' checked'; ?>></input><label for="s4vbavis">Always Visible </label> 378 387 <input type="radio" name="s4vbavis" value="false" <?php if (get_option( 's4vbavis', 'true' ) == "false" ) echo ' checked'; ?>></input><label for="s4vbavis">Visible on scroll</label></p> … … 419 428 <small>Your theme should have Call to wp_head() function</small><br /> 420 429 <p><textarea name="s4ccss" rows="10" cols="50" style="width:600px;"><?php echo stripslashes(htmlspecialchars(get_option('s4ccss',''))); ?></textarea></p> 430 431 <h3 style="color: #cc0000;">Insert Custom JavaScript</h3> 432 <small>Your theme should have Call to wp_head() function</small><br /> 433 <small>Add opening and closing script tags (<script>...</script>)</small><br /> 434 <p><textarea name="s4cjscript" rows="10" cols="50" style="width:600px;"><?php echo stripslashes(htmlspecialchars(get_option('s4cjscript',''))); ?></textarea></p> 421 435 422 436 <h3 style="color: #cc0000;">Add your own Custom Buttons</h3> … … 478 492 </style> 479 493 <?php wp_nonce_field('update-options'); ?> 480 <input type="hidden" name="page_options" value="s4pabovepost,s4pbelowpost,s4pgabovepost,s4pgbelowpost,s4habovepost,s4hbelowpost,s4aabovepost,s4abelowpost,s4_twitter,s4_fblike,s4_plusone,s4_fbshare,s4onpost,s4onpage,s4onhome,s4onarchi,s4iconsize,s4iconalign,s4excludeid,s4_fbsend,s4optimize,s4twtvia,s4excludecat,s4defthumb,s4onexcer,s4fblikelang,s4ccss,s4_linkedin,s4scripthead,s4allscripts,s4dmob,s4cblarge,s4cbsmall,s4_cbtn,s4dispord,s4onexcererr,s4nofbjava,s4nometa,s4analytics,s4vbhide,s4dispvb,s4vbmargin,s4vremove,s4vbavis ">494 <input type="hidden" name="page_options" value="s4pabovepost,s4pbelowpost,s4pgabovepost,s4pgbelowpost,s4habovepost,s4hbelowpost,s4aabovepost,s4abelowpost,s4_twitter,s4_fblike,s4_plusone,s4_fbshare,s4onpost,s4onpage,s4onhome,s4onarchi,s4iconsize,s4iconalign,s4excludeid,s4_fbsend,s4optimize,s4twtvia,s4excludecat,s4defthumb,s4onexcer,s4fblikelang,s4ccss,s4_linkedin,s4scripthead,s4allscripts,s4dmob,s4cblarge,s4cbsmall,s4_cbtn,s4dispord,s4onexcererr,s4nofbjava,s4nometa,s4analytics,s4vbhide,s4dispvb,s4vbmargin,s4vremove,s4vbavis,s4vbmargintop,s4cjscript"> 481 495 <input type="hidden" name="action" value="update" /> 482 496 </form> 483 </td><td width="2%"> </td><td width="2 0%"><b>Follow us on</b><br/><a href="http://twitter.com/techxt" target="_blank"><img src="http://a0.twimg.com/a/1303316982/images/twitter_logo_header.png" /></a><br/><a href="http://facebook.com/techxt" target="_blank"><img src="https://secure-media-sf2p.facebook.com/ads3/creative/pressroom/jpg/b_1234209334_facebook_logo.jpg" height="38px" width="118px"/></a><p></p><b>Feeds and News</b><br /><?php get_feeds_s4() ?>497 </td><td width="2%"> </td><td width="25%"><a href="http://techxt.com/tweetlike_ad" target="_blank"><img src="http://techxt.com/tweetlike_ad.png" /></a><br/><b>Follow us on</b><br/><a href="http://twitter.com/techxt" target="_blank"><img src="http://a0.twimg.com/a/1303316982/images/twitter_logo_header.png" /></a><br/><a href="http://facebook.com/techxt" target="_blank"><img src="https://secure-media-sf2p.facebook.com/ads3/creative/pressroom/jpg/b_1234209334_facebook_logo.jpg" height="38px" width="118px"/></a><p></p><b>Feeds and News</b><br /><?php get_feeds_s4() ?> 484 498 <p></p> 485 499 <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> … … 499 513 } 500 514 501 add_action('wp_footer', 'social4i_foot' );515 add_action('wp_footer', 'social4i_foot',99); 502 516 add_action('wp_head', 'social4i_css'); 503 517 add_filter('the_content', 'disp_social',1); … … 679 693 $tp=' data-layout="button_count" data-width="100" data-height="21" '; 680 694 681 $s4link= '<div class="socialicons s4fblike" style="float:left;margin-right: 10px;"> <div id="fb-root"></div>'.$flsc.'<div class="fb-like" data-href="'.$plink.'" data-send="'.$snd.'" '.$tp.' data-show-faces="false"></div></div>';695 $s4link= '<div class="socialicons s4fblike" style="float:left;margin-right: 10px;">'.$flsc.'<div class="fb-like" data-href="'.$plink.'" data-send="'.$snd.'" '.$tp.' data-show-faces="false"></div></div>'; 682 696 683 697 $sharelinks.=$s4link; 684 698 $btnarr[2]=$s4link; 685 699 686 $btnarrver[2]='<div class="socialiconsv s4fblikev" ><iframe src="//www.facebook.com/plugins/like.php?href='.$plink.'&send=false&layout=box_count&width=48&show_faces=false&font&colorscheme=light&action=like&height=65" s crolling="no" frameborder="0" style="border:none; overflow:hidden; width:48px; height:65px;" allowTransparency="true"></iframe></div>';700 $btnarrver[2]='<div class="socialiconsv s4fblikev" ><iframe src="//www.facebook.com/plugins/like.php?href='.$plink.'&send=false&layout=box_count&width=48&show_faces=false&font&colorscheme=light&action=like&height=65" style="border:none; overflow:hidden; width:48px; height:65px;"></iframe></div>'; 687 701 } 688 702 if(get_option('s4_plusone','1') && $type === FALSE || $type == "s4_plusone"){ 689 703 if ($size == "large" )$tp="tall"; else $tp="medium"; 690 $s4link='<div class="socialicons s4plusone" style="float:left;margin-right: 10px;">'.$gpsc.'< g:plusone size="'.$tp.'" href="'.$plink.'" count="true"></g:plusone></div>';704 $s4link='<div class="socialicons s4plusone" style="float:left;margin-right: 10px;">'.$gpsc.'<div class="g-plusone" data-size="'.$tp.'" data-href="'.$plink.'"></div></div>'; 691 705 $sharelinks.=$s4link; 692 706 $btnarr[3]=$s4link; 693 707 694 $btnarrver[3]='<div class="socialiconsv s4plusonev" >'.$gpsc.'< g:plusone size="tall" href="'.$plink.'" count="true"></g:plusone></div>';708 $btnarrver[3]='<div class="socialiconsv s4plusonev" >'.$gpsc.'<div class="g-plusone" data-size="tall" data-href="'.$plink.'" ></div></div>'; 695 709 } 696 710 if(get_option( 's4_linkedin', false )&& $type === FALSE || $type == "s4_linkedin"){ … … 702 716 $btnarrver[4]='<div class="socialiconsv s4linkedinv" >'.$lnsc.'<script type="in/share" data-url="'.$plink.'" data-counter="top"></script></div>'; 703 717 } 704 /*if(get_option('s4_fbshare','1') && $type === FALSE || $type == "s4_fbshare"){718 if(get_option('s4_fbshare','1') && $type === FALSE || $type == "s4_fbshare"){ 705 719 if ($size == "large" ) 706 720 { … … 709 723 $cs2='style="position: absolute; bottom: 0pt;"'; 710 724 } else $tp="button_count"; 711 $s4link= '<div class="socialicons s4fbshare" style="position: relative;'.$cs1.'float:left;margin-right: 10px;"><div class="s4ifbshare" '.$cs2.'>< a name="fb_share" type="'.$tp.'" share_url="'.$eplink.'" href="http://www.facebook.com/sharer.php"></a>'.$fssc.'</div></div>';725 $s4link= '<div class="socialicons s4fbshare" style="position: relative;'.$cs1.'float:left;margin-right: 10px;"><div class="s4ifbshare" '.$cs2.'><div class="fb-share-button" data-href="'.$plink.'" data-width="450" data-type="'.$tp.'"></div>'.$flsc.'</div></div>'; 712 726 $sharelinks.=$s4link; 713 727 $btnarr[5]=$s4link; 714 }*/ 728 729 $btnarrver[5]='<div class="socialiconsv s4fbsharev" ><div class="fb-share-button" data-href="'.$plink.'" data-width="450" data-type="box_count"></div>'.$flsc.'</div>'; 730 } 715 731 if(get_option('s4_cbtn', false )==true && $type === FALSE) 716 732 {
Note: See TracChangeset
for help on using the changeset viewer.