Quote:
Originally Posted by NittoMOD
Thanks for the great mod. I have a small request (I think it was mentioned before also)
Could this be posted at the bottom of the posts instead? Where the Edit, Reply, Reply with Quote, etc are?
Thanks again! 
|
The code can be used anywhere in the thread I would guess and still work okay, for what you are talking about you would want to edit the postbit (or postbit_legacy) and place the code near those buttons.
Here is the core code you would want to use:
HTML Code:
<!-- Begin Facebook Share -->
<a name="fb_share" type="icon_link" href="http://www.facebook.com/sharer.php">Facebook</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
<!-- End Facebook Share -->
<!-- Begin Twitter Share -->
<script type="text/javascript">
var twtTitle = document.title;
var twtUrl = location.href;
var maxLength = 140 - (twtUrl.length + 1);
if (twtTitle.length > maxLength) {
twtTitle = twtTitle.substr(0, (maxLength - 3))+'...';
}
var twtLink = 'http://twitter.com/home?status='+encodeURIComponent(twtTitle + ' ' + twtUrl);
document.write('<a href="'+twtLink+'" target="_blank"'+'><img src="images/tweet.png" border="0" alt="Tweet This!" /'+'>Tweet This!<'+'/a>');
</script>
<!-- End Twitter Share -->