I don't understand what I did wrong because it only shows:
Quote:
twitter
Recent Updates:
You can follow me on Twitter, my username is (LINK TO TWITTER)
|
what I did:
Quote:
1. Go to https://dev.twitter.com/apps/new
2. Fill out the app details, how to fill it out:
Application Name - Your Website Name
Description - Something relevant to your site
Application Website - Your Forum URL
Callback URL - Your Forum URL
Application Type - Read and Write
|
did
Quote:
Add a Single-Line Text Box via the User Profile Field Manager and give it a title and a description so users know what it is for.
Set the Maximum length and Field length to your liking
Field Required: NO
Field Editable by User: YES
Private Field: NO
Field Searchable on Members List: NO
Show on Members List: NO
Regular Expression: Leave Blank
|
did:
Quote:
Twitter Updates in Member Profile (with CSS)
Follow steps 1, 2, 3 and 4 above.
5. Open headinclude and add the following to the end
Code:
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/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" type="text/css" href="twitter/twitter.css"/>
Replace consumer_key with the key you noted from step 2. Save
6. As above
You can alter the dimensions and colours of the Twitter Feed Box in the twitter/twitter.css file
|
did:
Quote:
With
Code:
<img src="clear.gif" height="10" /><br />
<vb:if condition="$userinfo[fieldXX]">
<div class="blocksubhead subsectionhead userprof_headers userprof_headers_border" >
<h4 id="view-statistics" class="subsectionhead-understate" style="width:100%">Twitter</h4><br />
</div>
<div class="blockbody subsection userprof_content userprof_content_border">
<h5 class="subblocksubhead subsubsectionhead"><u>Recent Updates:</u></h5>
<div id="twitter_div">
<ul id="twitter_update_list"></ul></div>
<script type="text/javascript" src="twitter/blogger.js"></script>
<script text="text/javascript" src="http://twitter.com/statuses/user_timeline/{vb:raw userinfo.fieldXX}.json?callback=twitterCallback2&c ount=5"></script>
<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>
</div></div>
</vb:if>
Remember change the 3 instances of XX to correspond with the profile field number.
|
I replaced xx with 5 because it was 5 for me. Added my consumer key as well.
For the consumer key, was I suppose to replace the 1 with the code?
<script src="http://platform.twitter.com/anywhere.js?id=consumer_key&v=
1">
</script>
I did the CSS and 1.0.3 CSS part, is that what I was suppose to do?
in step 5 for 1.0.3 CSS, it says
5. Open memberinfo_block_statistics
It is asking me to replace something with another code, but I can't even find the first code that you told me to replace so I just copied the
With code and put it at the end of memeberinfo_block_Statistics