Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted July 6, 201113 yr 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.
July 19, 201113 yr I support this. Since IPS is using their own in-line Twitter and Facebook integration, it might be complicated.
July 19, 201113 yr Most forums aren't large enough and most topics tweeted/+1'ed enough to have numbers.
July 19, 201113 yr Author Even news on Yahoo, Neowin, etc shows number. I don't understand why not IPB.
July 19, 201113 yr Most News sites have this now. Saying that, it's probably too late to be implemented into 3.2.
July 19, 201113 yr 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.
July 19, 201113 yr 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.
July 19, 201113 yr 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
July 20, 201113 yr 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
July 20, 201113 yr 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)".
September 9, 201113 yr Even news on Yahoo, Neowin, etc shows number. I don't understand why not IPB. That's because they're Yahoo and Neowin.
September 19, 201113 yr Author I did this; 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.
November 13, 201113 yr So is there a guide on how to enable it. I want to indulge in the current fad too.
November 17, 201113 yr 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:
November 17, 201113 yr 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.
November 17, 201113 yr .... 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.