The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
WS vBulletin Tweet Poster Details »» | |||||||||||||||||||||||||||||||||||||||||
Please click Mark as Installed if you are using this hack.
What Does This Hack Do?[hr]Silver[/hr] I use v4.1.0 of this hack at Wolfshead Solutions and have had no issues at all. Depending on the options you select in the AdminCP, you can:
These tweets are live updates.... the instant you or your members post a new thread or a new reply/quick reply in a WS vBulletin Tweet Poster enabled forum, a tweet is made at the same time. These tweets will only be posted if they are 140 characters or shorter (this is automatically checked) and the new thread or new reply/quick reply is not sent the moderation queue.... so instead of throwing errors, in these cases this hack will not even attempt to tweet the thread/post. As of v4.0.003, this hack is very, very loosely based on Buro9's vBulletin To Twitter hack (there is not one line of original untouched code left from his hack in this hack, and his hack is based on Basic authentication). I have totally rewritten his hack to made it into a product to use OAuth authentication to post to Twitter and have added extra functionality, which includes is.gd, TinyURL.com & Metamark as alternative url shortening services, as well as options to tweet replies to threads as well as tweet new threads and to add Hashtags. What is required before installing this hack? Your server needs the following options installed on it for this hack to work. This hack will check the requirements for you and will not install this hack if they are not.
Once you have server requisites from above covered, you will then need the following accounts setup before you can install this hack:
TWITTER DEMO: There is no longer a demo available. What Do You Get? The settings in the AdminCP options are:
Frequently Asked Questions[hr]Silver[/hr] Question 1: It doesn't work! Help!!!Answer: That does not help others help you. Please explain exactly what the issue is, give as much information as possible and that may aid others in helping you. Question 2: I don't know how to setup a Twitter Application! Help!!!Answer: Enter the following details when creating your application: Question 3: I think I have set up everything correctly, the thread and/or post is created with no issues, there are no errors, but nothing is posted to twitter. Help !!!Answer: On the Details tab of your Twitter Application (at https://dev.twitter.com), check the following: Question 4: I am using vBulletin 3.8.7 and the user hash tag field is not showing.... what can I do?Answer: Follow the instructions in this post. Question 5: Can you please add the ability to tweet RSS feeds, CMS articles, Blogs, calendar events etc?Answer: This hack tweets live to twitter, and as none of the requests above are guaranteed to be live (ie they can be set to be published later), I will never be adding the any of the above to this hack and that will never change. Question 6: Can I use this hack with vBulletin 4.1.4 which has the new CKEditor, and the hashtag field be visible to my members (if selected in the AdminCP options)?Answer: Yes, this hack is already compatible. If you select Only User defined Hashtags or Both User and AdminCP defined Hashtags in the AdminCP Options for this hack, the hashtag field will be displayed to your members. Question 7: I see "Basic authentication is not supported on line XXX" or /statuses/update.xml Could not authenticate you. Unauthorized on line XXX errorsAnswer: It means you still have either v4.0.001 or v4.0.002 of this hack installed, and the solution is to upgrade to v4.1.0 or above of this hack, which uses OAuth Authentication. Question 8: I see "Fatal error: Cannot redeclare class OAuthException in [path]/includes/twitteroauth/OAuth.php on line 8" errorAnswer: Edit the OAuth.php file in the twitteroauth folder. Find all instances of OAuthException and change them to OAuthException_tw. That should fix it up. Question 9: I see a "You must be authenticated to access shorten" or INVALID_LOGIN on line xxx in /xxxxx/xxxxx/xxxxx/includes/bitly.php error message.... what do I do?Answer: Ensure you have entered your bit.ly username & API key correctly. If that does not fix it, then select is.gd, TinyURL or Metamark in your AdminCP Options instead of bit.ly for url shortening. Question 10: I see an "INVALID_JSON" errorAnswer: Select is.gd, TinyURL or Metamark in your AdminCP Options instead of bit.ly for url shortening. Question 11: bit.ly does not work (gives error messages), what can I do?Answer: Select is.gd, TinyURL or Metamark in your AdminCP Options instead of bit.ly for url shortening. Question 12: I see an error that says "Warning: curl_setopt_array() [function.curl-setopt-array]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in [path]/bitly.php"Answer: Looks like that is a safe_mode issue... the below should fix it (but is not guaranteed that it will, but it should). In bitly.php, find: Question 13: As I do not have to register with is.gd, how to I view click statistics with the generated link?Answer: Simply add a hyphen (dash) to the end of the shortened URL, and instead of being redirected to the original long address automatically, you'll be taken to a preview page telling you where the link goes and gives you the click statistics for the url. Question 14: Threads with titles that have special characters in them (such as ? ? ? ? ? ? ? ?) do not tweet, what do I do?Answer: Sorry, but it looks like an issue with the Twitter (OAuth) class file by Abraham Williams and not with this hack at all. Question 15: This hack has been working fine then stopped working on Tuesday 11th June 2013 and I did not make any changes, what do I do?Answer: Twitter updated their API to version 1.1 on 11/6/2013, so any versions of this hack below v4.1.0 will have stopped working. The solution is to upgrade to v4.1.0 of this hack. vBulletin Version Compatibility[hr]Silver[/hr] This hack can be used with vBulletin versions 4.0.0 - 4.2.1. This has been tested with vBulletin v3.8.x and works fine, it should also work with v3.7.x and earlier versions (but has not been tested). Hack Support/Feature Requests[hr]Silver[/hr] IMPORTANT: This hack is no longer supported, but I have marked it as re-usable code, so it can be developed further (remember to acknowledge me as orignal author of this hack). Install/Upgrade/Uninstall Instructions[hr]Silver[/hr] There are no file or template changes at all and is fully phrased. You just need to upload 5 files (in 2 folders), import 1 product and alter the correct vBulletin Options in the AdminCP, and then it will work from then on. The readme.txt instructions file is included in attached .zip file. Version History[hr]Silver[/hr] v4.1.0 - Sunday 30th June 2013 (Final Version Ever) -- Updated: Installation/Upgrade/Removal Instructions file -- Updated: OAuth.php & twitteroauth.php files to use the new Twitter API 1.1 (old API 1.0 no longer works) -- Removed: all references to "account/rate_limit_status", as this has been removed from the Twitter API 1.1 -- Removed: Two plugins to aid in diagnosing problems with this hack (as I no longer support this hack, and have now left the vBulletin community) v4.0.6 - Saturday 29th January 2011 -- Changed: Hack name -- Updated: Installation/Upgrade/Removal Instructions file -- Updated: Screenshots -- Fixed: New Threads, Replies & Quick Replies in twitter enabled forums are only tweeted when they will not end up on the moderation queue -- Fixed: Hashtags now work in vBulletin v3.8.x (hack tested and working.... not tested on v3.7.x nor v3.6.x but should also work) -- Added: Install code to ensure all server requirements are met and all folders and files have been uploaded before the hack will install -- Added: AdminCP Options to allow for both User & AdminCP defined Hashtags for new threads in twitter enabled forums -- Added: Two plugins to aid in diagnosing problems with this hack (disabled by default) v4.0.5 - Saturday 27th November 2010 (first released to Wolfshead Solutions on Wednesday 27th October 2010) -- Changed: Version number formatting -- Updated: Installation/Upgrade/Removal Instructions file -- Updated: Screenshots -- Added: AdminCP Options to include/exclude forums -- Added: Hashtags for new threads in twitter enabled forums -- Added: 2 plugins to cater for new hashtag feature -- Added: AdminCP Option to also use the Metamark url shortening service -- Added: Version History file -- Removed: AdminCP Option for tli.td url shortening service (now requires api key) v4.0.004 - Saturday 18th September 2010 (first released to Wolfshead Solutions on Wednesday 18th August 2010) -- Updated: Installation/Upgrade/Removal Instructions file -- Updated: Screenshots -- Fixed: Tweets for new replies now correctly use the AdminCP's timezone offset setting along with DST settings for the timestamp -- Added: AdminCP Options to also use the TinyURL and tli.tl url shortening services -- Added: Automatic check to see if tweet is longer 140 characters or not (and post tweet if not) -- Added: Automatic truncate tweet title text in the tweet if the tweet (including the URL) exceeds 140 characters -- Added: Automatic check to see if number of hourly calls to the Twitter OAuth API has been exceeded or not (and post tweet if not) -- Added: Ability to use vBulletin "Friendly URLs" (available in vBulletin 4 and later only) or just plain URLs -- Added: All files needed for this hack in one package (no longer necessary to download other class files separately any more) v4.0.003 - Friday 2nd July 2010 -- Updated: Installation/Upgrade/Removal Instructions file -- Updated: Screenshots -- Updated: 3 plugins to now use OAuth instead of Basic authentication when posting to Twitter -- Added: AdminCP Option to not use url shortening at all -- Added: 4 new AdminCP Options for Twitter "Consumer Key", "Consumer Secret", "Access Token" and "Access Token Secret" -- Removed: 2 AdminCP Options for Twitter "Username" and "Password" v4.0.002 - Monday 1st March 2010 -- Fixed: When multiple forums selected in AdminCP Options, threads or posts were not twittered at all v4.0.001 - Friday 19th February 2010 -- Initial vBulletin v4.0.x Release Thanks[hr]Silver[/hr] Thanks go out to Buro9 who marked his original hack Re-usable Code. Thanks also go out to Dragonsys for pointing me in the right direction to converting this hack to use OAuth authentication, and also to Videx who bugged me about updating this and I have noticed is doing a lot to support this hack. Show Your Appreciation [hr]Silver[/hr] Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate. Donations[hr]Silver[/hr] I would like to thank the following people for their kind donations: Download Now
Screenshots
Show Your Support
|
10 благодарности(ей) от: | ||
eif, fxdigi-cash, iCrazy, iiioroh, LOGECT, MikeF, RichieBoy67, sodasusu, sose |
Comments |
#472
|
||||
|
||||
Quote:
Your AdminCP's Plugin Manager, enable these plugins one by one, follow the instruction to change the userid to your userid and post the responses for both plugins here and we can see what is going on. Remember to disable them again once done. |
#473
|
|||
|
|||
Brilliant. Installed and working.
|
#474
|
|||
|
|||
got it to work when I disabled short URLs -- with short urls enabled I got this error message
INVALID_LOGIN on line 193 in /home7/xxxxx/public_html/includes/bitly.php #0 /home7/xxxxx/public_html/includes/bitly.php(382): Bitly->doCall('shorten', Array) #1 /home7/xxxxx/public_html/newthread.php(277) : eval()'d code(40): Bitly->shorten('http://www.bout...') #2 /home7/xxxxx/public_html/newthread.php(277): eval() #3 {main} Warning: Invalid error type specified in [path]/vb/vb.php on line 287 |
#475
|
|||
|
|||
changed to default is.gd and we are golden!
|
Благодарность от: | ||
zgrkaralar |
#476
|
|||
|
|||
not working i give all scrett key and other but not send to twitter in post
|
#477
|
||||
|
||||
Quote:
Your AdminCP's Plugin Manager, enable these plugins one by one, follow the instruction to change the userid to your userid and post the responses for both plugins here and we can see what is going on. Remember to disable them again once done. |
#478
|
||||
|
||||
wtf? Since when can we "like" a post on vb.org? I swear I've never seen that before.
|
#479
|
||||
|
||||
I have now updated the Frequently Asked Questions section in the first post to bring it up-to-date. So, please read the first post before posting, as 99% of all issues will be addressed in the FAQ.
|
Благодарность от: | ||
Videx |
#480
|
||||
|
||||
Ha! It looks like basically you just added "Don't use bit.ly" to half the FAQ. A sound recommendation, but who wants to bet the next five pages will be filled with bit.ly related questions!
|
#481
|
|||
|
|||
Installed without a problem, but doesn't post to Twitter.
bit.ly creates the links. The debug tool gives the following error, so I can't get debug info: "NULL vBulletin Message Unable to add cookies, header already sent. File: /home/site/public_html/includes/class_bootstrap.php(103) : eval()'d code Line: 11" Any ideas? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|