Register Members List Search Today's Posts Mark Forums Read

Mod Options
vBulletin 2 Twitter - Take Your News Straight To Twitter! Details »
vBulletin 2 Twitter - Take Your News Straight To Twitter!
Mod Version: .1b, by AHealthForum (Member) AHealthForum is offline
Developer Last Online: Jul 2012 I like it Show Printable Version Email this Page

vB Version: 3.8.1 Rating: (7 votes - 4.43 average) Installs: 130
Released: 16 Mar 2009 Last Update: 16 Mar 2009 Downloads: 1121
Not Supported Additional Files  

vBulletin2 Twitter Courtesy A Health Forum
Special Thanks to Jarvis From 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 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 username. If you don't have one yet, you can get one for free at

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

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Profile Enhancements Twitter Profile 1.0 (displays Twitter on a member's profile page) AlexanderT vBulletin 3.7 Add-ons 102 21 May 2011 21:48
Major Additions VBNow: equivalent for vbulletin stonyarc vBulletin 3.6 Add-ons 115 05 Jan 2011 09:31

Old 09 Apr 2009, 05:10
demojames demojames is offline
Join Date: Sep 2005
Real name: James (Duh!)
Originally Posted by hollosch View Post
I'm using zoints-seo, and i get "Error: RSS file not found, dude." when i use the scheduled task...
I'm using vBSEO and getting the same error.

Did a test post and nothing. Looked at the RSS feed in a browser it's there, but no updates to Twitter.
Successful Forum - Tips for your forum!
Demolition Forum
Reply With Quote
Old 09 Apr 2009, 15:24
AzH's Avatar
AzH AzH is offline
Join Date: Feb 2005
Installed and working fine. Thanks!!

Just a couple of questions though. How do I get it to pull from more than one, but not all forums. Currently I'm using .com/forums/external.php?f=4 as my feed, and I want it to be .com/forums/external.php?f=4 + 6, 7, 8, etc (but not all).

Ahh, just one question then.
Reply With Quote
Old 09 Apr 2009, 17:39
skooby skooby is offline
Join Date: May 2006
I was "sorta" able to get this working...

I did one update yesterday in the forum it is tracking and it worked. Then today I made 3 new topics, and out of the three, two showed up in Twitter. One was the same topic I did yesterday (so it posted that twice on Twitter), and one of the topics I had just made. So out of the 3 topics I made in the forum it is tracking today, 1 showed up, 1 was out of date, and 1 didn't show at all.

All 3 show if I go directly to the RSS feed page (and are the newest in the feed).

Any idea how I can troubleshoot? This tool is great, thanks for working on it.
Reply With Quote
Old 16 Apr 2009, 02:38
skylab's Avatar
skylab skylab is offline
Join Date: Feb 2009
Real name: Mike
Getting a few issues
<![CDATA[ error comes up every now and then.
and sometimes duplicate twitter posts some with errors and some not. you can take a look at my twitter to see whats going on.
__________________ - A Travel Blogging Community
Reply With Quote
Old 17 Apr 2009, 13:25
Flep Flep is offline
Join Date: Jul 2007
I get CDATA issue too
Flash tutorials
Reply With Quote
Old 19 Apr 2009, 17:41
A825F933D42B A825F933D42B is offline
Join Date: Dec 2007
my server does not support curl. Is there a no-curl option?
Reply With Quote
Old 21 Apr 2009, 14:32
skylab's Avatar
skylab skylab is offline
Join Date: Feb 2009
Real name: Mike
It's not a huge issue but hopefully the CDATA gets fixed sooner or later.
__________________ - A Travel Blogging Community
Reply With Quote
Old 02 May 2009, 19:35
SBlueman SBlueman is offline
Join Date: Jan 2006
Will this work at all for v3.6.12? I tried it and got the CDATA issue too. Might it have something to do with thread prefixes?

Last edited by SBlueman; 02 May 2009 at 19:45.
Reply With Quote
Old 03 May 2009, 16:04
beachinxj beachinxj is offline
Join Date: Mar 2006
Real name: Kyle
Is there any way to make it not do duplicate threads other than increasing the time between script runs?
__________________ - Jeep Enthusiast Club in the North East US
Reply With Quote
Old 04 May 2009, 05:05
fbriceno97 fbriceno97 is offline
Join Date: Jun 2008
Got same error:

Error: RSS file not found, dude, when using the scheduled task... external.php is perfectly working as we have it on viigo, php5.... everything is ok, but that error is present.

How do i solve it?
Reply With Quote
Old 07 May 2009, 23:21
kalliey kalliey is offline
Join Date: Dec 2007
Hy thanks for this great Hack! :-)

Ive only one problem, my letters ,, dontt send to twitter, how can i fix this?
Reply With Quote
Old 13 May 2009, 14:59
sevkotr sevkotr is offline
Join Date: Nov 2008
turkish characters can not be sent to twitter via this mod. is there anything which i can do to fix this?

i changed utf-8 to latin5 but did not worked.
Reply With Quote
Old 14 May 2009, 11:09
just77me just77me is offline
Join Date: Jun 2006
i get many duplicate threads to twitter - whats going wrong there? if there is no solution - i have to uninstall this twitter tool because i dont want to flood twitter with duplicate content and delete ist manual.

any ideas?

thank you
Reply With Quote
Old 15 May 2009, 17:34
Vanjezi's Avatar
Vanjezi Vanjezi is offline
Join Date: Apr 2005
Can u make to all rss?

Its missing a lot threads posts

Last edited by Vanjezi; 15 May 2009 at 19:33.
Reply With Quote
Old 16 May 2009, 19:27
gordietbh gordietbh is offline
Join Date: Feb 2009
here is the code I've implemented to get around the duplicate issue.

The issue arose when the latest thread was not the current status of the twitter account, so I updated the code to search the entire feed page for the thread title. It now checks the contents of your twitter page and looks for a match with the title of the first item in the RSS feed, if it finds it it does not try to repost. If it does not find a match it will call the twitter API and submit the message.

I then had an issue where it was posting <![CDATA[thread title]]. I discovered that this only occurred when there was an apostrophe in the thread title, so I added a replace command to strip out the CDATA text.

There was also an issue where if your server did not receive a response from the twitter page in a timely fashion the script would not find a match for the latest title thread and would repost. I added a line in the script to search for your account name in the page, and if it finds it then call the twitter API. This ensures that there is no more double posting.

You need to replace the contents of the twitask.php file in the includes\cron folder with the script below. You need to replace the ACCOUNTNAME text in the line with the name of your twitter account. this needs to be in the same case as the account name appears on your twitter page.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you have $cronimage in your footer template and have the twitter scheduled task set to run every minute each time a new thread is started the title will be updated. 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.

I've been running with the above script and options for the last several days and have eliminated the duplicate posting issues.

Last edited by gordietbh; 28 May 2009 at 08:39.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

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

New To Site? Need Help?

All times are GMT. The time now is 18:14.

Layout Options | Width: Wide Color: