Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Twitter Updates in Members Profile Details »
Twitter Updates in Members Profile
Mod Version: 1.0.6, by Gemma (Coder/Designer) Gemma is offline
Developer Last Online: Jul 2016 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (8 votes - 5.00 average) Installs: 46
Released: 20 Jun 2011 Last Update: 05 Dec 2012 Downloads: 191
Not Supported Template Edits Additional Files Re-usable Code External Content  

What this does
This creates a simple Twitter output of your member's tweets in the About Me section of their profile.

Twitter Updates in Member Profile

For this to work properly you need to create an application on Twitter.

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

Agree to the rules, recaptcha and create your application. You will then be taken to your application details. Take note of your consumer key (21 alphanumerical characters)

3. Unzip the archive and upload the 'twitter' folder to your forum root.

4. You need to add a new profile field (you can skip this if you already having a profile field linking to users' Twitter accounts)

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

Take a note of the profile field number.

5. Open your additional.css template and add this at the bottom:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This will give you a grey box for your tweets - if you want something different you will need to adjust the css yourself - don't ask me for help with this.

6. Open memberinfo_block_statistics and find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Below that add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace consumer_key with the key you noted from step 2. Save

Change all instances of XX to correspond with the profile field number from Step 4.

You can also change the css file by between light and dark by changing

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

*The light css uses the standard 'twitter blue' colour scheme and the dark one is shades of black, if you want other colours you will need to amend the css file yourself (probably best making changes to the twitter_light.css file)

Some other options, you can amend this part of the code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

friends:1 ---> change to 0 to show followers
tweet:1 ---> Set this to 1 to display friends' tweets at widget footer. Tweets will also appear as a tool tip when hovering on a friend picture.
loop:1 ---> loop friends pictures animation or not. Set it to 1 to loop or 0 to disable.
users:50 ---> Number of visible friends' pictures on each swap. Note that Twitter will return your latest 80 Followers/Friends. You can choose to show a smaller number of pictures at a time.
user_name:0 ---> Show tweet author name or not. change to 1 to show
user_link:0 ---> By default, friends pictures will link to their Twitter profile. however, your can link it to their homepage (change to 1)

Save.

To update to v 1.0.6

If you wish to upgrade please upload the twitter folder to your server, remove the old template edits (headinclude and memberinfo_block_statistics) and apply the new edits in the opening post.

History

1.0.3 - Merged the two versions together - but left the option to use either the basic or enhanced (css version). Created a blogger.js file which is hosted on your server instead of externally, this should solve the problems of Tweets not showing.
1.0.4 - Added twitter hovercards
1.0.5 - Added a new block feature which shows the latest activity of your friends or followers.
1.0.6 - New code to display tweets in profile due to changes in Twitter's API.

If anyone wants to further develop any of my addons, you are free to do so.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	twitter.jpg
Views:	469
Size:	72.3 KB
ID:	142724  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Profile Enhancements Twitter Updates in Members Profile winduff vBulletin 3.6 Template Modifications 36 02 Jul 2011 20:47
Profile Enhancements Twitter Profile 1.0 (displays Twitter on a member's profile page) AlexanderT vBulletin 3.7 Add-ons 102 21 May 2011 20:48

Comments
  #2  
Old 20 Jun 2011, 17:01
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Great Mod, waiting for very long.

Works fine.

Thanx
Reply With Quote
  #3  
Old 20 Jun 2011, 17:19
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
What make were the yellow trainers?
Reply With Quote
  #4  
Old 20 Jun 2011, 17:32
BCP Hung's Avatar
BCP Hung BCP Hung is offline
 
Join Date: May 2011
Real name: BCP Hung
It awesome modification !
Under allow of author (Gemma), new add-on will be make this modification become perfect !

Thanks to Gemma ! Good job men !

P.S : You must see this :
In default code :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You have two other tag name : dt and ul !
Do you want to explain or fix it ?

Last edited by BCP Hung; 20 Jun 2011 at 18:02.
Reply With Quote
  #5  
Old 20 Jun 2011, 18:47
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Real name: Gemma
Oops fixed it.
__________________
Reply With Quote
  #6  
Old 20 Jun 2011, 19:13
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Real name: Rob
Nice looking mod thanks will try later on 4.1.3
Reply With Quote
  #7  
Old 20 Jun 2011, 19:16
glen290's Avatar
glen290 glen290 is offline
 
Join Date: Apr 2008
Installed, great little mod Gemma..
__________________
Bowl Uk The Bowlers choice for bowling chat
Reply With Quote
  #8  
Old 22 Jun 2011, 00:52
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
Installed on 4.1.3 and working great!
Reply With Quote
  #9  
Old 22 Jun 2011, 09:53
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Excellent.
My Tweets seem a little longer and it would be nice to have 1/2 or full line break between tweets. Would make it easier to read.
Reply With Quote
  #10  
Old 22 Jun 2011, 14:51
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Real name: Gemma
Originally Posted by Mr_Running View Post
Excellent.
My Tweets seem a little longer and it would be nice to have 1/2 or full line break between tweets. Would make it easier to read.
I've added an enhanced version which uses jquery/css and allows for greater customisation.
__________________
Reply With Quote
  #11  
Old 22 Jun 2011, 15:16
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Real name: Rob
How often will it check for updates or will it happen auto everytime you update on twitter ?


Great mod thanks
Reply With Quote
  #12  
Old 22 Jun 2011, 15:28
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Real name: Gemma
Updates are in real-time
__________________
Reply With Quote
  #13  
Old 22 Jun 2011, 15:33
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Real name: Rob
Cheers Gemma
Reply With Quote
  #14  
Old 22 Jun 2011, 17:33
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Hi Gemma

Received error for additional CSS


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #15  
Old 22 Jun 2011, 17:56
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Real name: Gemma
Originally Posted by Mr_Running View Post
Hi Gemma

Received error for additional CSS


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
When adding to the additional.css? There isn't any conditional statements in the css
__________________
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:45.

Layout Options | Width: Wide Color: