Version: 1.0.4, by King Kovifor
Developer Last Online: Aug 2015
Category: Integration with vBulletin -
Version: 3.8.x
Rating:
Released: 02-08-2009
Last Update: 07-13-2009
Installs: 402
DB Changes Uses Plugins Auto-Templates
Additional Files Translations
No support by the author.
Description
This modification adds basic Twitter integration to vBulletin. Once a user defines their Twitter username & password within their vB Options (User CP -> Edit Options), the Tweet This X links will appear.
It automatically adds a tweet to their account with the default text of "Check this out! " (which can be edited editing the "twitter_checkout" phrase) and uses your forum URL with either tp or tt.php as the link. These redirect to the thread / post that was tweeted.
Installation
Upload files in the /upload/ folder of the .zip into the directories as is.
<if condition="$vbulletin->userinfo['twitter_username']"><a href="tweet.php?do=thread&id=$threadinfo[threadid]">Tweet This Thread!</a></if>
Requirements
THIS MODIFICATION REQUIRES PHP 5 DUE TO THE CLASS THAT IS USED!
PHP'S CURL EXTENSION IS ALSO USED! THE API CALLS ARE COMPLETELY DEPENDENT ON THEM!
This modification should work on vBulletin v3.5+, but was only tested on a vB 3.8 install.
Using the "tp.php" switch added in v1.0.2
With the release of v1.0.2, a switch between showpost.php?p=ID&postcount=COUNT and showthread.php?p=ID#postID has been added. Using it is simple, but requires a code edit (Note: This is a SUPPORTED code edit!). Open up tp.php and find this line:
PHP Code:
define('SHOWPOST', true);
Change that line to this:
PHP Code:
define('SHOWPOST', false);
This will automatically trigger the change any time it is loaded. This works retroactively and any links will automatically use the new settings once changed!
And add the manual code before or after, depending on where you want the Tweet This link to show
Jacquii.
Quote:
Originally Posted by JacquiiCooke
[high]* JacquiiCooke nominates vBTwitter for MOTM!
[/high]
I think the hack should be called vBTweet - but that's merely semantics LOL
Thanks again for the share
Jacquii.
Thanks. And the name is derived as it becomes a bridge between vBulletin and Twitter. But, if it wasn't for their attempting to protect their name, I would have asked everyone to keep it in the name of the app.
everything was installed properly.... but the moment i try to tweet any thread... it goes to following URL which is https://twitter.com/oauth/authorize?oauth_token= and then it says following error:
Code:
Woah there!
This page is no longer valid. It looks like someone already used the token information you provided. Please return to the site that sent you to this page and try again ? it was probably an honest mistake.
Whenever I click the Tweet this link it brings up a message asking if I should allow access, I say yes and it errors out saying webpage is not found. I am using vBulletin 3.8.2.
It seems to be doing this on the call back url. I have it entered correctly.
This only happens right after install, all other attempts to tweet just reload the page with no errors.
everything was installed properly.... but the moment i try to tweet any thread... it goes to following URL which is https://twitter.com/oauth/authorize?oauth_token= and then it says following error:
Code:
Woah there!
This page is no longer valid. It looks like someone already used the token information you provided. Please return to the site that sent you to this page and try again ? it was probably an honest mistake.
I went to this link http://twitter.com/oauth_clients and it only gave me access to a normal application which I filled out for access. No app for secrets or keys.