The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBulletin 2 Twitter - Take Your News Straight To Twitter! Details »» | |||||||||||||||||||||||||||||
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
Show Your Support
|
Comments |
#52
|
|||
|
|||
my server does not support curl. Is there a no-curl option?
|
#53
|
||||
|
||||
It's not a huge issue but hopefully the CDATA gets fixed sooner or later.
|
#54
|
|||
|
|||
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?
|
#55
|
|||
|
|||
Is there any way to make it not do duplicate threads other than increasing the time between script runs?
|
#56
|
|||
|
|||
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? |
#57
|
|||
|
|||
Hy thanks for this great Hack! :-)
I´ve only one problem, my letters Ö,Ü,Ä dont´t send to twitter, how can i fix this? |
#58
|
|||
|
|||
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. |
#59
|
|||
|
|||
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 |
#60
|
||||
|
||||
Can u make to all rss?
Its missing a lot threads posts |
#61
|
|||
|
|||
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. PHP Code:
I've been running with the above script and options for the last several days and have eliminated the duplicate posting issues. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|