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
  #2  
Old 08-13-2009, 02:23 PM
saltedm8 saltedm8 is offline
 
Join Date: May 2008
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

reserved post
Reply With Quote
  #3  
Old 08-13-2009, 03:48 PM
Wrams Wrams is offline
 
Join Date: Oct 2008
Location: Bristol, UK
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Haaa 1st...Lol Nice stuff Salty. Will definately like having this on the forums. Great work!!
Reply With Quote
  #4  
Old 08-13-2009, 06:03 PM
WEBDosser's Avatar
WEBDosser WEBDosser is offline
 
Join Date: Oct 2001
Location: @ MyPC
Posts: 824
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i don't mean to dis this but, it is just a copy of the other here made into a plugin.

not original, but saves having to work it out yourself..

wD
Reply With Quote
  #5  
Old 08-13-2009, 06:07 PM
saltedm8 saltedm8 is offline
 
Join Date: May 2008
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, generally that's what a plugin is... the ability to 'plug' something into the forum lol, it does not have to be unique, if you checked im sure you will find loads of plugins like this that have done the same thing.

I supplied credits to that site, and there are lots of people that would have no idea how to integrate that sort of thing onto their boards.. should I not have posted it just because I did not make it from scratch ?..

it will be useful to loads of people and it will save loads of 'working out' for the majority..

why re-invent the wheel ?
Reply With Quote
  #6  
Old 08-13-2009, 06:18 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 like it, nice work
Reply With Quote
  #7  
Old 08-13-2009, 06:19 PM
saltedm8 saltedm8 is offline
 
Join Date: May 2008
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you
Reply With Quote
  #8  
Old 08-14-2009, 01:58 AM
TheSavant TheSavant is offline
 
Join Date: Jul 2008
Location: NW Arkansas
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome! just what I was looking for.

I am trying to install the feed in a column, but I can't get it to show up.

1. Uploaded PHP to Forum dir (I now see twitfile.txt file) so that part seems to be working

2. added product
ob_start();
include(DIR . '/twittercall.php');
$twitter = new myTwit();
$twitter->user = 'ILoveToTailgate';
$twitter->postLimit = 5;
$twitter->initMyTwit();
print $twitter->myTwitData;
$latest_twit = ob_get_contents();
ob_end_clean();

3. added sidebar style info to style CSS

4. added $latest_twit to block 1 in my column template

.....nothing- what did I miss?
Reply With Quote
  #9  
Old 08-14-2009, 10:58 AM
saltedm8 saltedm8 is offline
 
Join Date: May 2008
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
2. added product
you need to add plugin, not product
Reply With Quote
  #10  
Old 08-14-2009, 02:30 PM
TheSavant TheSavant is offline
 
Join Date: Jul 2008
Location: NW Arkansas
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by saltedm8 View Post
you need to add plugin, not product
Yes, plug-in not product. That is what I meant- sorry. I installed new plug-in per instructions. It is showing up as a plug-in and it is active. Still nothing.

I am using USC columns- with $latest_twit in block 1 in my column template. I can read the feed txt file off of the server. Its just not putting the feed in the column.

Thanks (again) in advance-
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: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.05281 seconds
  • Memory Usage 2,295KB
  • 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_php
  • (3)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
  • (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