Jump to content

Twitter and Google +1 numbers

Featured Replies

Posted

Possible to enhance share it with twitter, facebook and Google +1 so that it shows numbers ...that how many times it was shared by users?

Something like this:

http://techcrunch.co...-friends-yahoo/

On the top, it will say how many users shared it via facebook, twitter and Google +1.

  • 2 weeks later...

I support this.

Since IPS is using their own in-line Twitter and Facebook integration, it might be complicated.

Most forums aren't large enough and most topics tweeted/+1'ed enough to have numbers.

  • Author

Even news on Yahoo, Neowin, etc shows number. I don't understand why not IPB.

Most News sites have this now. Saying that, it's probably too late to be implemented into 3.2.

I'm on the fence with this one. While I can see where it would be something that many could use, I think I'd like it to be optional as to whether it's shown or not. Just because it's shared across hundreds of accounts doesn't necessarily make the item newsworthy nor does it lend credence to the validity of the subject.

Not to mention. I'm starting to get pretty sick of seeing +1 all over the place. Reminds me of previous fads that got old in a hurry.

Simply add it to the facebook like hook - you can simply alter the template and it will show fine.

This is the route I went down including adding Twitter in there as well.

  • Author

Simply add it to the facebook like hook - you can simply alter the template and it will show fine.



This is the route I went down including adding Twitter in there as well.




I did same for 3.1.4 but I don't know how to do it for 3.2.x. I used to 2 hooks for 3.1.4 which achieves what i wanted.

Ian does the both hooks work for 3.2.x ? Did you tried?

Thanks

Not to mention. I'm starting to get pretty sick of seeing +1 all over the place. Reminds me of previous fads that got old in a hurry.




Same here


Same here



Me too.
  • Community Expert
  • Management

I deliberately set the "show numbers" parameter of the Google +1 tag to false because it's much larger and quite distracting. A lot of the time, it would merely show single digits or 0.

You can enable the show numbers parameter of the Google +1 template easily enough. It's under "Global Skin (Other)".

I did this;

post-207055-0-80595300-1311160806_thumb.

Just a case of skinning it in. Simple but it works.

  • 1 month later...

+1 for this feature.


Even news on Yahoo, Neowin, etc shows number. I don't understand why not IPB.



That's because they're Yahoo and Neowin.
  • 2 weeks later...
  • Author

I did this;



post-207055-0-80595300-1311160806_thumb.

Just a case of skinning it in. Simple but it works.




Can you please share how to do it? I would like to do same.
  • 1 month later...

So is there a guide on how to enable it. I want to indulge in the current fad too.

I've fix in my forum simply with this...
Global template; share link, change entire code to (with backup):

{parse js_module="sharelinks"} <!-- AddThis Button BEGIN --> <div class="addthis_toolbox addthis_default_style"> <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a> <a class="addthis_button_tweet"></a> <a class="addthis_button_google_plusone" g:plusone:size="medium"></a> <a class="addthis_counter addthis_pill_style"></a> </div> <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4ec451296ea13a27"></script> <!-- AddThis Button END --> <!-- <if test="gotLinks:|:is_array( $links )"> <ul class='{$cssClass} shareButtons ipsList_inline'> <foreach loop="cacheLoop:$links as $id => $data"> <if test="isEnabled:|:$data['share_enabled']"> <if test="hasCustom:|:$data['customOutput'] and is_array( $data['customOutput'] )"> {parse expression="$this->registry->output->getTemplate($data['customOutput'][0])->$data['customOutput'][1]( $url, $title )"} <else /> <li><a href="{parse url="sharelink={$data['share_key']};{$data['_url']};{$title}" base="public"}" rel="nofollow" target="_blank" title="<if test="!in_array( $data['share_key'], array( 'print', 'download' ) )">{$this->lang->words['gbl_sharelink_with']} {$data['share_title']}<else />{$this->lang->words['gbl_sharelink_with_' . $data['share_key'] ]}</if>" class='_slink' id='slink_{$data['share_key']}'><img src="{$this->settings['public_cdn_url']}style_extra/sharelinks/{$data['share_key']}.png" /></a></li> </if> </if> </foreach> </ul> <script type="text/javascript"> ipb.sharelinks.url = "{parse expression="IPSText::base64_decode_urlSafe($url)"}"; ipb.sharelinks.title = "{parse expression="IPSText::base64_decode_urlSafe( IPSText::htmlspecialchars( $title ) )"}"; ipb.sharelinks.bname = "{parse expression="trim(addslashes($this->settings['board_name']))"}"; </script> </if> -->


































or just to:

{parse js_module="sharelinks"} <!-- AddThis Button BEGIN --> <div class="addthis_toolbox addthis_default_style"> <a class="addthis_button_facebook_like" fb:like:layout="button_count"> </a> <a class="addthis_button_tweet"> </a> <a class="addthis_button_google_plusone" g:plusone:size="medium"> </a> <a class="addthis_counter addthis_pill_style"> </a> </div> <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4ec451296ea13a27"> </script> <!-- AddThis Button END -->













---
Maked thanks to: https://www.addthis....18#.TsRaJsMUq-V :wink:

---
U can see a demo in my website (click on signature) :smile:

-
Preview:

Thanks a lot for the tip.

I have one question though. Will this addthis button show the count of sitewide social shares or only the count of share for the specific page like an article.

Specific page/article (blog entry; image from gallery; etc...) ;)

.... Sorry, i can't change my post now (if a moderator can change for me...)
...
Instead to copy codescript from my precedente post, grab from here: https://www.addthis....18#.TsTbLPI8ecz (It change "pubid=xa-****" on ever refresh with a unique id) or simply remove "#pubid=xa-***" :wink:

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.