Jump to content

Caaan we get a tweet button?


Collin1000

Recommended Posts

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/ %7Boption%7D%7Boption%7D%7Boption%7D%7Boption%7D 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'



%7Boption%7D

Link to comment
Share on other sites

thanks for the tip check mine out in these images :)

this one is showing on the top in the left

%7Boption%7D2nq7b0x.jpg' alt='' class='ipsImage' wid" alt="" class="ipsImage" width="1000" height="562">

this one is showing in the bottom of the left before facebook LIKE

%7Boption%7D2pqreqw.jpg' alt='' class='ipsImage' wid" alt="" class="ipsImage" width="1000" height="562">

Link to comment
Share on other sites

thanks for the tip check mine out in these images :)

this one is showing on the top in the left

%7Boption%7D2nq7b0x.jpg' alt='' class='ipsImage' wid" alt="" class="ipsImage" width="1000" height="562">

this one is showing in the bottom of the left before facebook LIKE

%7Boption%7D2pqreqw.jpg' alt='' class='ipsImage' wid" alt="" class="ipsImage" width="1000" height="562">

Link to comment
Share on other sites

  • 2 weeks later...

*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.
Link to comment
Share on other sites

  • 3 weeks later...

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&amp;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 -->



%7Boption%7D

Link to comment
Share on other sites

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. :)

Link to comment
Share on other sites


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!
Link to comment
Share on other sites


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 :)
Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...