Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
webprocafe.com - twittercall Details »»
webprocafe.com - twittercall
Version: 1.00, by saltedm8 saltedm8 is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.3 Rating:
Released: 08-12-2009 Last Update: Never Installs: 6
Uses Plugins
 
No support by the author.

This is based off of this http://www.axllent.org/projects/mytwit

it basically calls your twitter feed

to install

upload the attached file to your sites server

Create a new plugin and use these details

Hook Location = global_start
Title = twitter call
execution order = 5

Plugin PHP Code =
PHP Code:
ob_start();
include(
DIR '/twittercall.php');
$twitter = new myTwit();
$twitter->user 'your twitter name'
$twitter->cacheFile 'twitcache.txt';
$twitter->postLimit 5;
$twitter->initMyTwit();
print 
$twitter->myTwitData;
$latest_twit ob_get_contents();
ob_end_clean(); 
where it says your twitter name in the bit of code above, you need to place in the name you use, for example, ours is webprocafe

then place this in your css

/* ***** twitter sidebar ***** */

Quote:
ul.twitbox {
list-style: none;
margin: 0;
padding: 0;
}
ul.twitbox li{
border-bottom:1px dashed #D2DADA;
padding: 10px;
font-size: 14px;
font-family: 'Lucida Grande',sans-serif;
color: #333333;
}
ul.twitbox li.mytwitHead {
height: 60px;
}
ul.twitbox li.mytwitHead a {
font-size: 22px;
font-weight: bold;
}
ul.twitbox li.mytwitHead img{
float: left;
padding-right: 10px;
}
ul.twitbox li a {
color: #0084B4;
text-decoration: none;
}
ul.twitbox li a:hover { text-decoration: underline; }
ul.twitbox span.twhen {
color: #999999;
font-family: georgia;
font-size: 10px;
font-style: italic;
padding-top: 5px;
}
that can be adjusted to however you like

then all you have to do is place

$latest_twit

wherever you want this displayed on the homepage by editing the forumhome template ( sorry, I cant give a specific place yet )

and you should be done

for a demo, please go here http://webprocafe.com/

Anyone who requires help, must have this marked as installed


thank you

there is no need to update if you are having no issues once installed
  • update: added $twitter->cacheFile = 'twitcache.txt'; to make sure it points to the cashe.. a couple of people had issues.. please make sure twittercall.php is set to chmod 777.

Show Your Support

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

Comments
  #12  
Old 08-14-2009, 05:58 PM
saltedm8 saltedm8 is offline
 
Join Date: May 2008
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

maybe something is clashing with USC columns

you did use global_start for the hook location dident you ?

maybe ask whoever made USC columns if it can parse from separate plugins variables ?

test it, just put the variable anywhere in your forumhome template ( other than USC ) and see if it works..
if it works then its a clash, if not then you have done something wrong and we would need to work out what
Reply With Quote
  #13  
Old 08-15-2009, 04:05 PM
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Demo doesn't seem to be working. Maybe it's a Twitter thing, but I'll check back later.
Reply With Quote
  #14  
Old 08-15-2009, 04:48 PM
saltedm8 saltedm8 is offline
 
Join Date: May 2008
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It was a twitter thing...

I think I would have to do some sort of alternative display if they are offline
Reply With Quote
  #15  
Old 08-15-2009, 06:34 PM
Sweeks Sweeks is offline
 
Join Date: Jul 2008
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and thank you
Reply With Quote
  #16  
Old 08-25-2009, 10:22 PM
saltedm8 saltedm8 is offline
 
Join Date: May 2008
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is unstable due to either it having problems reaching twitter or twitter being down

when this happens you will see the message 'could not connect to json' and makes your site go down with it

for that reason, its going into the graveyard until the issue is fixed..
Reply With Quote
Reply

Thread Tools

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 02:43 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.04683 seconds
  • Memory Usage 2,245KB
  • Queries Executed 20 (?)
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_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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