Official "Follow me" twitter button
Hello there,
For people don't know, Twitter just released their new "Follow Button" so we can use it in our website.. https://twitter.com/about/resources/followbutton - What is this mod for? This mod is to help your members to show there there twitter username so people can follow them. and with this button you don't have to leave the page to enter to twitter then press the follow button "like the old days" now people can follow you without leaving the page in just one touch! - Can I show how many followers He/She has next to the Follow button? Yes, Twitter added this choose so it's up to you "as forum admin" if you want to show to your members how many followers they have or not. let's begin work.. 1- you have to add new user profile field: - Go to your admincp.2- Now edit your (Postbit or Postbit_legacy Template) dependence on which one your are using. - Search for in it for:3- This is how it going to be in the thread: And this is After you press "Follow" 4- That's it NOTE: - Note your member that if they want to add there twitter ID they have to edit their "profile" by going to "Setting" then "Edit Profile". And type their username without the @ . Ex: ToNetU not @ToNetU UPDATE: - If you want the button to be below the avatar, go to this post Spoiler (click to open)
Quote by eternal_
Search in (Postbit or Postbit_legacy) Template for:
Code:
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" /> </a> </vb:if> If you want to show how many followers She/He has add this: Code:
<vb:if condition="$post['field5']"> <center><a href="http://twitter.com/{vb:raw post.field5}" class="twitter-follow-button">Follow @{vb:raw post.field5}</a></center> <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> </vb:if> If you doesn't want to show how many followers they have add this: Code:
<vb:if condition="$post['field5']"> <center><a href="http://twitter.com/{vb:raw post.field5}" class="twitter-follow-button" data-show-count="false">Follow @{vb:raw post.field5}</a></center> <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> </vb:if> - Press "Save" Close
Download No files for download. Screenshots |
Similar Mods
Forum Home Enhancements Twitter - Scroll Animated Flash "Follow Us" Buttons | vBulletin 4.x Template Modifications |