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

Reply
 
Thread Tools
twitter status on your signature Details »»
twitter status on your signature
Version: 1.00, by acyk acyk is offline
Developer Last Online: Feb 2019 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.7.x Rating:
Released: 02-08-2009 Last Update: Never Installs: 7
Re-useable Code Translations  
No support by the author.

Dear all

I just can't wait to share this information to all of you guys who love to twit.

This idea is coming from I want to show my own twitter status in my vb signature , lots of my member saw what I do , and want me to share them how to do this in their signature.

But the original twitter code can only show one person's status , others will show empty status.

So I and my member @chweng modify this code to make it works perfectly.

Now let me show you how to do this:

Installation Procedure:

1. download the attach files here

2.unzip it ,and upload to your site , for example , http://yoursite.com/twitter-iphone4tw.js

3.add a line in your headinclude in your style

PHP Code:
<script type="text/javascript" src="http://yoursite.com/twitter-jcms.js"></script
4.go to bbcode

Title: twitter
BB Code Tag Name: twitter
Replacement:
HTML Code:
*What am I doing now?
<div id="twitter_div">
<ul id="twitter_update_list_{param}"></ul>
<a href="http://twitter.com/{param}" id="twitter-link" style="display:block;text-align:right;" target="_blank">Follow me in Twitter...</a>
</div>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/{param}.json?callback=twitterCallback2&amp;count=1"></script>
Example: [twitter]jcms[/twitter]
Description: You can put your Twitter status in your signature , just edit your signature , and input [twitter]your twitter id[/twitter] , then it works.

Use Option:no

Show Your Support

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

Comments
  #2  
Old 02-13-2009, 03:19 AM
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a demo of this that we can see?
Reply With Quote
  #3  
Old 02-13-2009, 10:44 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

I'd like to see a demo as well
very interested in the mod
Reply With Quote
  #4  
Old 02-14-2009, 12:59 PM
acyk acyk is offline
 
Join Date: Apr 2008
Location: Taipei, Taiwan
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dear my friends

sure , we have the demo , but it's in Traditional Chinese , I hope that can help you to imagine what it is

http://tinyurl.com/aa5y8a

or I made a sample for you



here is the link on twitter
http://twitter.com/jcms/statuses/1192326089
Reply With Quote
  #5  
Old 02-15-2009, 05:16 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

interesting, I'll install this so I can see an english version

Thanks for the mod

.....

I added [twitter]vbsetup[/twitter] and the only thing I see is

Quote:
*What am I doing now? Follow me in Twitter...
I've tested it on two forums, same message
Reply With Quote
  #6  
Old 02-16-2009, 04:16 AM
acyk acyk is offline
 
Join Date: Apr 2008
Location: Taipei, Taiwan
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Loco.M View Post
I've tested it on two forums, same message
Did you add this line into your headinclude in your style

PHP Code:
<script type="text/javascript" src="http://yoursite.com/twitter-jcms.js"></script
and Copy this js file to your site ?

[twitter]jcms[/twitter]

or you can show me the url , let me check it for you
Reply With Quote
  #7  
Old 02-17-2009, 12:45 AM
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 acyk View Post
Did you add this line into your headinclude in your style

PHP Code:
<script type="text/javascript" src="http://yoursite.com/twitter-jcms.js"></script
and Copy this js file to your site ?

[twitter]jcms[/twitter]

or you can show me the url , let me check it for you
I sure did
the link to my forum is in my sig "vBulletinSetup"
I'm not sure if the code is still in the template since it didn't work for me at the time.

regards

ah, I think I see why.
The file in the zip is named
twitter-iphone4tw
should it be
twitter-jcms.js?

still nothing
here is a demo
http://forum.vbulletinsetup.com/f2/t...ing-10787.html
Reply With Quote
  #8  
Old 02-17-2009, 01:10 AM
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Watching this one...hope it works for folks soon because it's a great idea.
Reply With Quote
  #9  
Old 02-17-2009, 04:39 AM
acyk acyk is offline
 
Join Date: Apr 2008
Location: Taipei, Taiwan
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

let me check for you ....
Reply With Quote
  #10  
Old 02-18-2009, 03:43 AM
arob42 arob42 is offline
 
Join Date: Nov 2004
Location: Dallas
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's missing some css classes, e.g. twitter_update_list and twitter_div.
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 09:00 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.05127 seconds
  • Memory Usage 2,308KB
  • Queries Executed 23 (?)
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_html
  • (3)bbcode_php
  • (3)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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