vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   BB Code Enhancements - twitter status on your signature (https://vborg.vbsupport.ru/showthread.php?t=204767)

acyk 02-08-2009 10:00 PM

twitter status on your signature
 
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


ArnyVee 02-13-2009 03:19 AM

Is there a demo of this that we can see?

Brandon Sheley 02-13-2009 10:44 PM

I'd like to see a demo as well
very interested in the mod

acyk 02-14-2009 12:59 PM

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

https://vborg.vbsupport.ru/attachmen...1&d=1234623334

here is the link on twitter
http://twitter.com/jcms/statuses/1192326089

Brandon Sheley 02-15-2009 05:16 PM

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

acyk 02-16-2009 04:16 AM

Quote:

Originally Posted by Loco.M (Post 1745091)
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

Brandon Sheley 02-17-2009 12:45 AM

Quote:

Originally Posted by acyk (Post 1745592)
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

ArnyVee 02-17-2009 01:10 AM

Watching this one...hope it works for folks soon because it's a great idea. :)

acyk 02-17-2009 04:39 AM

let me check for you ....

arob42 02-18-2009 03:43 AM

It's missing some css classes, e.g. twitter_update_list and twitter_div.


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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04168 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete