Quote:
Originally Posted by Gemma
And if you want to add a tweetbox to your feed:
Open your headinclude template
Find:
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script type="text/javascript" src="twitter/jquery.twitter.js"></script>
<script src="http://platform.twitter.com/anywhere.js?id=consumer_key&v=1">
</script>
<script type="text/javascript">
twttr.anywhere(function(twitter) {
twitter.hovercards({ expanded: true });
});
</script>
<link rel="stylesheet" href="twitter/twitter.css"/>
Replace it with:
Code:
<script src="http://platform.twitter.com/anywhere.js?id=consumer_key&v=1">
</script>
<script type="text/javascript">
twttr.anywhere(function(twitter) {
twitter.hovercards({ expanded: true });
});
twttr.anywhere(function (twitter) {
twitter("#tbox").tweetBox({
count: true,
height: 100,
width: 400,
label: "Send a tweet",
});
});
</script>
Save.
Open memberinfo_block_stats
Find:
Code:
<br><dt class="smallfont">You can follow me on Twitter, my username is <a class="twitter-anywhere-user" href="http://twitter.com/{vb:raw userinfo.fieldXX}">{vb:raw userinfo.fieldXX}</a></dt>
Below that add:
Code:
<img src="clear.gif" height="10" /><br />
<div id="tbox"></div>
Save.
|
Gemma this is a brilliant mod and I am really liking the additions.
When I try to add this I lose my spacing because I am using the css version and the link is replaced. The colors and fonts are not a concern.
What would be a work around to get some spacing between tweets.
Thanks