Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Twitter Updates in Members Profile Details »»
Twitter Updates in Members Profile
Version: 1.00, by winduff winduff is offline
Developer Last Online: Jul 2008 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.8 Rating:
Released: 12-28-2007 Last Update: Never Installs: 19
Template Edits
Re-useable Code Translations  
No support by the author.

Compatible with vBulletin 3.6.x and 3.7.0b3

Okay guys, this is my first 'mod'. It's pretty simple, and a more a workaround than mod... Anyway, here goes:

What this does
This adds a profile field wich is then turned into a twitter output. This means, all twitter updates of your users will be displayed in the users profile.
Preview:



How to install

Basicly, we add a simple profile field, and then catch it in the output and replace the code. Here goes:

1. Add a Single-Line Text Box via the User Profile Field Manager and name it (for example) Twitter. Leave the rest blank if you like.
2. Go to Style & Templates -> Style Manager -> Choose your style -> Member Info Templates -> memberinfo_customfields
3. Replace the entire content with this:

Code:
<if condition="$profilefield[title]=='Twitter'">
<dt class="smallfont"><strong>$profilefield[title]</strong>:</dt>
<div id="twitter_div">
<ul id="twitter_update_list"></ul></div>
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
<script text="text/javascript" src="http://twitter.com/statuses/user_timeline/$profilefield[value].json?callback=twitterCallback2&count=3"></script>
<br><dt class="smallfont">You can add me to your friendslist, my username is <strong>$profilefield[value]</strong></dt>
<else />
<dt class="smallfont"><strong>$profilefield[title]</strong>:</dt>
<dd class="smallfont">$profilefield[value]</dd>
</if>
Note the highlights:
1. 'Twitter' must be the same as the name you gave your new profile field
2. count=3 <-- here you can set how many updates to show. Three is a good value.

And finally, click Install if you use this please

Hope you like it, it's simple

Btw.: check out www.twitter.com if you don't know what this is all about

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 04-14-2008, 04:44 PM
Cobro Cobro is offline
 
Join Date: Oct 2006
Location: cellar
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zmmmzz View Post
Can you make it compatible with the latest version winduff?

that would be nice
Reply With Quote
  #23  
Old 04-18-2008, 08:04 AM
3dsoft's Avatar
3dsoft 3dsoft is offline
 
Join Date: Nov 2002
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will there be an update for vbulletin 3.7?
Reply With Quote
  #24  
Old 05-13-2008, 08:35 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 3dsoft View Post
Will there be an update for vbulletin 3.7?
I 2nd the update for 3.7
Reply With Quote
  #25  
Old 05-19-2008, 10:51 PM
CNibbana CNibbana is offline
 
Join Date: Apr 2003
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Loco.M View Post
I 2nd the update for 3.7
Third. All in Favor?
Reply With Quote
  #26  
Old 05-20-2008, 08:35 PM
adamadamadam adamadamadam is offline
 
Join Date: Jan 2008
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is probably not the mod discussion for this question, but would it be possible to somehow have people's Tweets show up in their signature, without enabling HTML in signatures? Could this mod somehow be used to achieve that?
Reply With Quote
  #27  
Old 05-30-2008, 02:11 AM
goodwillstacy goodwillstacy is offline
 
Join Date: Sep 2005
Location: Atlanta & Austin
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any idea if this will be updated for 3.7?
Reply With Quote
  #28  
Old 06-20-2008, 09:26 PM
H2O Snake H2O Snake is offline
 
Join Date: May 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also support for an update to 3.7 for a memberinfo block would be amazing.
Reply With Quote
  #29  
Old 06-20-2008, 11:03 PM
GetGamer.com GetGamer.com is offline
 
Join Date: Jul 2004
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by adamadamadam View Post
This is probably not the mod discussion for this question, but would it be possible to somehow have people's Tweets show up in their signature, without enabling HTML in signatures? Could this mod somehow be used to achieve that?
That would be SWEET!

I'm also all for a 3.7 version, too!
Reply With Quote
  #30  
Old 06-28-2008, 06:31 AM
snowman872 snowman872 is offline
 
Join Date: Feb 2005
Location: California
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default


yes ... please we need a twitter update for 3.7! =)
Reply With Quote
  #31  
Old 07-09-2008, 03:42 AM
zompus zompus is offline
 
Join Date: Aug 2006
Location: Essex
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snowman872 View Post
yes ... please we need a twitter update for 3.7! =)
Hmm... useful hack but I can't seem to get it working on my vb version.

Suppose i'll have to stick with members using http://twittertag.com (creates a sig like image for forum sigs) for now. :-(
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 03:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04937 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete