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
  #12  
Old 12-31-2007, 03:23 PM
winduff winduff is offline
 
Join Date: Nov 2006
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this works the same for 3.7.0 Beta 3 btw.!
Reply With Quote
  #13  
Old 01-02-2008, 01:58 AM
zmmmzz zmmmzz is offline
 
Join Date: Nov 2007
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thaaaaanks!!!!! this is amazing...
Reply With Quote
  #14  
Old 01-11-2008, 12:11 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't work for me
Reply With Quote
  #15  
Old 01-24-2008, 08:16 PM
biliboy biliboy is offline
 
Join Date: Jan 2008
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when i install it. its shows only the line "you can add me .."
and what that i write at the Twitter at the UserCP is the nick at highlight at the "you can add me..."
Reply With Quote
  #16  
Old 01-25-2008, 11:44 AM
biliboy biliboy is offline
 
Join Date: Jan 2008
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by biliboy View Post
when i install it. its shows only the line "you can add me .."
and what that i write at the Twitter at the UserCP is the nick at highlight at the "you can add me..."
Ehm??
Reply With Quote
  #17  
Old 01-29-2008, 07:41 PM
GetGamer.com GetGamer.com is offline
 
Join Date: Jul 2004
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love Twitter. I'm going to add this to my "must install" list.
Reply With Quote
  #18  
Old 02-18-2008, 01:17 AM
majordork82 majordork82 is offline
 
Join Date: Apr 2007
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks bud!
Reply With Quote
  #19  
Old 02-28-2008, 09:48 PM
Saxon Saxon is offline
 
Join Date: Oct 2004
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This doesn't work with 3.7.0 Beta 5. There is no memberinfo_customfields.
Presumably code would go in the memberinfo_block_aboutme template? Or is it possible to create a new block?

Can this hack be made compatible with 3.7.0 5?
Reply With Quote
  #20  
Old 03-29-2008, 11:27 PM
zmmmzz zmmmzz is offline
 
Join Date: Nov 2007
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you make it compatible with the latest version winduff?
Reply With Quote
  #21  
Old 04-14-2008, 04:41 PM
Cobro Cobro is offline
 
Join Date: Oct 2006
Location: cellar
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i cant see it on my site ? i am using vb 3.7 rc1 could you update this awsome plugin you have made plz :up:
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:32 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.04871 seconds
  • Memory Usage 2,292KB
  • 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
  • (1)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