vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   great twitter idea, any advice? (https://vborg.vbsupport.ru/showthread.php?t=191669)

boandmichele 02-09-2009 04:51 PM

wow i never checked this thread back after a couple of weeks, since there was no response. i would be very happy to contribute money to this mod, it should be pretty straightforward for someone who knows what they are doing, with the twitter API.

all i want is a little box on the forum index that displays the twitters our users send. :)

--------------- Added [DATE]1234205667[/DATE] at [TIME]1234205667[/TIME] ---------------

Quote:

Originally Posted by DotSauce (Post 1731604)
This code seems promising.. but the main drawback is you would have to ask forum members to give their twitter passwords.

http://woork.blogspot.com/2007/10/tw...-php-page.html

that looks like the exact opposite, twittering FROM vb to twitter.

our site is deal-oriented, among other things. what i specifically envision is...

say a member is out at target and they see that a TV is on clearance for a really good price, they could twitter (somehow lol), and say 'hey this tv is really cheap at target in franklin, va', and that appears on the forum index.

ragtek 02-09-2009 07:25 PM

wow

thx 4 the link with the tweetstats^^
maybe i can include it in my vb_tweeter class

keith455 02-11-2009 06:42 PM

I got both of these to work but they just display a users tweets.
I created a username for my site and was thinking if i follow everyone from my forum i could then just show all the tweets on the page just like if i go to twitter.com with the forum username.
http://weblogs.asp.net/rweigelt/arch...5/6658557.aspx
http://www.twitter2html.com/

--------------- Added [DATE]1234421428[/DATE] at [TIME]1234421428[/TIME] ---------------

I got it working how i want it but now I need to figure out how to add the user's icon/twittername. here's the code. You have to add it as a new page and put the twitter name in place of USERNAME.

Code:

<div id="twitter_div">
<h2 class="sidebar-title">User Updates</h2>
<ul id="twitter_update_list"></ul>
<a href="http://twitter.com/USERNAME" id="twitter-link" style="display:block;text-align:right;">Follow US on Twitter and your Tweets will show up here too</a>
</div>
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
<script type="text/javascript" src="http://twitter.com/statuses/friends_timeline/USERNAME.json?callback=twitterCallback2&amp;count=25"></script>



All times are GMT. The time now is 08:04 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.00955 seconds
  • Memory Usage 1,726KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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