![]() |
|
Mod Options |
![]() |
|||||||||||
vBulletin 2 Twitter - Take Your News Straight To Twitter!
![]() Developer Last Online: Jul 2012 ![]() ![]() ![]()
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 Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
![]() |
||||
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: twitter.com equivalent for vbulletin | stonyarc | vBulletin 3.6 Add-ons | 115 | 05 Jan 2011 09:31 |
#46
|
|||
|
|||
Originally Posted by hollosch
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. No members have liked this post.
|
#47
|
||||
|
||||
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. ![]()
__________________
No members have liked this post.
|
#48
|
|||
|
|||
Hey,
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. No members have liked this post.
|
#49
|
||||
|
||||
http://twitter.com/nightlifevibe
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.
__________________
http://www.artoftravelblogging.com - A Travel Blogging Community No members have liked this post.
|
#50
|
|||
|
|||
I get CDATA issue too
__________________
Flash tutorials No members have liked this post.
|
#51
|
|||
|
|||
my server does not support curl. Is there a no-curl option?
No members have liked this post.
|
#52
|
||||
|
||||
It's not a huge issue but hopefully the CDATA gets fixed sooner or later.
__________________
http://www.artoftravelblogging.com - A Travel Blogging Community No members have liked this post.
|
#53
|
|||
|
|||
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?
__________________
![]() Click here to visit my NFL forum My Mods: [ Links To Zoints Thread Tags In Posts ] [ Pre-Defined Topic Tags for Zoints Thread Tags ] [ Define Order Of News Shown With Frontpage Slideshow ] No members have liked this post.
Last edited by SBlueman; 02 May 2009 at 19:45. |
#54
|
|||
|
|||
Is there any way to make it not do duplicate threads other than increasing the time between script runs?
__________________
www.sira4x4.net - Jeep Enthusiast Club in the North East US No members have liked this post.
|
#55
|
|||
|
|||
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? No members have liked this post.
|
#56
|
|||
|
|||
Hy thanks for this great Hack! :-)
I´ve only one problem, my letters Ö,Ü,Ä dont´t send to twitter, how can i fix this? No members have liked this post.
|
#57
|
|||
|
|||
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. No members have liked this post.
|
#58
|
|||
|
|||
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 No members have liked this post.
|
#59
|
||||
|
||||
Can u make to all rss?
Its missing a lot threads posts
__________________
www.e-vizio.com No members have liked this post.
Last edited by Vanjezi; 15 May 2009 at 19:33. |
#60
|
||||
|
||||
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 http://twitter.com/ACCOUNTNAME with the name of your twitter account. this needs to be in the same case as the account name appears on your twitter page.
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. No members have liked this post.
Last edited by gordietbh; 28 May 2009 at 08:39. |
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 09:44.