Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted August 14, 201014 yr Today, twitter launched the Tweet button, which is just like the Facebook Like feature that IPB has in all topics. Soooo.... caaaaan we get standard integration? Here's a video for more info: Ideally, this should replace the current twitter "share this topic" feature.
August 14, 201014 yr It looks like a few websites have already implemented this. Hopefully we can get this implemented into IPB.
August 14, 201014 yr Look & Feel > Manage Skin Sets & Templates > Topic View > TopicViewTemplate > find - <ul class='topic_buttons'> add below <li><a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="MyTwitterName">Tweet</a></li><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> (change the MyTwitterName) Example; http://thegeekdistrict.com/topic/1923-new-twitter-share-button/ I agree that it'll be nice to get an implementation similar to the like button (ooh, you can also put the twitter code next to the like button code in the topicview template) but until then, this little edit will work for me, and I'm sure others here too. EDIT To have it next to the facebook LIKE button - go to Look & Feel > Manage Skin Sets & Templates > Topic View > hookFacebookLike, > add this code <div style='float:left;'><a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="YourTwitterUsername">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div> before the closing </script> tag. Note, you may need to add style='float:left;' after the <div class='facebook-like'
August 14, 201014 yr thanks for the tip check mine out in these images :) this one is showing on the top in the left" alt="" class="ipsImage" width="1000" height="562"> this one is showing in the bottom of the left before facebook LIKE" alt="" class="ipsImage" width="1000" height="562">
August 14, 201014 yr thanks for the tip check mine out in these images :) this one is showing on the top in the left" alt="" class="ipsImage" width="1000" height="562"> this one is showing in the bottom of the left before facebook LIKE" alt="" class="ipsImage" width="1000" height="562">
August 15, 201014 yr It's also possible to create custom styles for the button, so it can get a IP.Board look and feel. ;)
August 26, 201014 yr I'm starting to get errors while trying to tweet a topic, 'url' parameter does not contain a valid URL.
August 27, 201014 yr *vomits on twitter* You may, but the subject matter of my boards is huge on Twitter. Once again, if you DON'T WANT IT DON'T USE IT. Damn I swear. Some of you all just b*tch to see yourself b*tch. Such a shame. With replies like that, no wonder there isn't as much participation here as there should be.
September 13, 201014 yr Put this code and it will add 3 things in one..Facebook Like count,Twitter,And share Botton,what so cool about the face book like when someone click it the one that came with IP board also say like with out going all to botton page to click it,but this one show how many people click the like botton in real time... and it get posted to your facebook page also.. :) enjoy <div style='float:right;'><!-- 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 href="http://www.addthis.com/bookmark.php?v=250&username=xa-4c8e4c7d3b71819d" class="addthis_button_compact">Share this topic</a> </div> <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4c8e4c7d3b71819d"></script> <!-- AddThis Button END -->
September 14, 201014 yr Here you go: http://community.invisionpower.com/files/file/3481-tweet-button/ It works just the same as the Facebook "Like" hook, with the exception of having a couple of settings to set the recommended Twitter accounts that this button supports. This hook may well be refined and included in IP.Board 3.2. :)
September 15, 201014 yr Here you go: http://community.invisionpower.com/files/file/3481-tweet-button/ It works just the same as the Facebook "Like" hook, with the exception of having a couple of settings to set the recommended Twitter accounts that this button supports. This hook may well be refined and included in IP.Board 3.2. :) Wow! Thanks!
September 16, 201014 yr I'm starting to get errors while trying to tweet a topic, 'url' parameter does not contain a valid URL. Yep, me too.
September 16, 201014 yr Would be best to post in its support topic here if you have any problems with it :)
September 16, 201014 yr Here you go: http://community.invisionpower.com/files/file/3481-tweet-button/ It works just the same as the Facebook "Like" hook, with the exception of having a couple of settings to set the recommended Twitter accounts that this button supports. This hook may well be refined and included in IP.Board 3.2. :) Cool :)
September 16, 201014 yr Management No - just the hook referenced in this topic. I'm just seeing how it works here :)
September 16, 201014 yr Management Will it be built in? The instant you import the hook linked in this topic it's built in.
September 16, 201014 yr Author The instant you import the hook linked in this topic it's built in. I think Amy was asking if this is going to be a feature of IP.Board :thumbsup:
Archived
This topic is now archived and is closed to further replies.