Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBulletin 2 Twitter - Take Your News Straight To Twitter! Details »»
vBulletin 2 Twitter - Take Your News Straight To Twitter!
Version: .1b, by AHealthForum AHealthForum is offline
Developer Last Online: Jul 2012 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.1 Rating:
Released: 03-15-2009 Last Update: 03-15-2009 Installs: 132
Additional Files  
No support by the author.

vBulletin2 Twitter Courtesy A Health Forum http://ahealthforum.com
Special Thanks to Jarvis From http://seovb.com for help
vbtotwitt.php copyright Vojtech Semecky released under the terms of GPL
================================================== =========

This modification will take one of your latest news threads and post it directly to your twitter account. You must have RSS enabled for this modification to work. You can specify a forum to pull the content from using external.php?f=FORUMID

The RSS feed will post your thread title directly into your Twitter account, and then create a link back using TinyURL. The links are automatically converted into tinyurl.com links via the TinyURL API


Install instructions

1. Upload the includes folder into your forum root. This will automatically place the 2 scripts need to operate this into the "includes/cron/" folder
2. Install the product-ahealthforumcomvbtwit.xml file via the Product Manager in your adminCP
3. Navigate to vBulletin Options -> vBulletin Options -> vBulletin 2 Twitter and enter your name and password.
4. Hit Save and Wait 2 minutes
5. View your twitter account to confirm that an update was posted.
6. Enter the URL to your forum feed.

Notice: By default for testing purposes this makes one tweet announcing you've installed vB2Twitter You are free to delete this tweet as it is for testing purposes only!!!!

================================================== =============

vBulletin 2 Twitter Options

1. Twitter Username: This is your Twitter.com username. If you don't have one yet, you can get one for free at http://twitter.com

2. Twitter Password: This is your password for your twitter account. Notice that its not hashed or encypted so anyone with adminCP access can view it. If you can't trust those who have your AdminCP information with such details, then this mod isn't for you sorry.

3. Feed URL: This can be to any sites feed if you want, but I suggest pointing it to your news forum and creating a prefix such as [Breaking News] to make the most of this. Your twitter posts will then be prefixed with [Breaking News] Thread Title link to thread.

================================================== ===========


Again, this modification will take the latest thread from the forum RSS feed you specify. I don't beleive in spamming on twitter with useless crap, so I've made this modification to only take one thread at a time from your forums RSS feed.


Trouble Shooting:

If it does not automatically update to your account. Go into the scheduled tasks manage and run the task manually.

external.php gives a blank page. Enable RSS from your vBulletin Admin Control Panel.

Download Now

File Type: zip vBulletin2Twitter.zip (5.8 KB, 1254 views)

Show Your Support

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

Comments
  #72  
Old 06-10-2009, 11:05 AM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gordietbh View Post
You will also need to set the refresh time on your RSS feed in vboptions to 0 if you want to ensure that every new thread is updated to your twitted feed. If the refresh time is 60 minutes you will only have the latest thread submitted every hour when the RSS cache is refreshed.
How do you set this to 0?
Reply With Quote
  #73  
Old 06-11-2009, 07:11 AM
Bram H Bram H is offline
 
Join Date: Jul 2007
Location: The Netherlands
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pretty annoying that this message pops up for so many people:
Quote:
Error: RSS file not found, dude
If this mod is supported why isnt there any reply from the dev in months? Don't want to sound ungrateful or something, i respect all that can create such fantastic vB mods, but this sounds like a graveyard modification to me, sorry

***uninstalled***
Reply With Quote
  #74  
Old 06-12-2009, 12:59 AM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kolbi View Post
When i manually do the cron, I?m getting this failure message:
I am getting the same kind of error:
Quote:
vBulletin to Twitter Task
[Rams] Rams Pass On RB's Edgerrin James, Warrick Dunn? http://tinyurl.com/l4laoz
Fatal error: Call to undefined function curl_init() in /home/sblueman/public_html/forums/includes/cron/twitask.php on line 44
***UPDATE***

I was able to fix this error by adding cURL to apache.
Reply With Quote
  #75  
Old 06-12-2009, 03:15 AM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I do have another question.....right now the cron job runs once a minute on my site....but it will only post 1 story per minute. There are times on my site that we may break multiple NFL news stories in that time span (we have a staff of news hounds). Is there a way for this modification to make sure it posts ALL missing stories in that minute span?

FYI....I am using the twitask.php file that gordietbh posted on page four of this thread.
Reply With Quote
  #76  
Old 06-12-2009, 10:23 AM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SBlueman View Post

I was able to fix this error by adding cURL to apache.
The problem is that i?m running my board on a hostet package.
Reply With Quote
  #77  
Old 06-12-2009, 08:39 PM
A825F933D42B A825F933D42B is offline
 
Join Date: Dec 2007
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added the following code:
Code:
$title = utf8_encode ($title); //for the bloody umlaute
just after the lines fixing the CDATA-issue. Now, all Umlaute and special characters will be submitted to Twitter. Just if it helps someone else too
Reply With Quote
  #78  
Old 06-13-2009, 06:27 AM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by A825F933D42B View Post
I added the following code:
Code:
$title = utf8_encode ($title); //for the bloody umlaute
just after the lines fixing the CDATA-issue. Now, all Umlaute and special characters will be submitted to Twitter. Just if it helps someone else too
Bist deutsch oder?
Welche Datei und welche Zeile?
Ja die Umlaute sind wohl das Problem.
Reply With Quote
  #79  
Old 06-13-2009, 10:11 PM
ade5675 ade5675 is offline
 
Join Date: Mar 2007
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works for me so far ...... but I will keep an eye for all those mentioned issues in the next few days.

Nice mod !
Reply With Quote
  #80  
Old 06-17-2009, 12:48 PM
ryancooper ryancooper is offline
 
Join Date: Jul 2002
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gordietbh View Post
You will also need to set the refresh time on your RSS feed in vboptions to 0 if you want to ensure that every new thread is updated to your twitted feed. If the refresh time is 60 minutes you will only have the latest thread submitted every hour when the RSS cache is refreshed.
Do you mean the Cache Lifespan? I didn't see a refresh...
Reply With Quote
  #81  
Old 06-18-2009, 12:48 PM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GrossKopf View Post
Well, other people have posted this, but there's been no reply, so I'll post it too.

My RSS feed is correct: http://flotgaming.net/forums/external.php?f=43

If I run the task manually, I get the error: Error: RSS file not found, dude

Any fix for this?
I moved to a new box and all the setting are completely the same. However, I am now also getting the same error message.
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 01:16 AM.


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.05553 seconds
  • Memory Usage 2,342KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (8)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete