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!
I'd like or not like this depending on the application. If you want to tweet new stuff coming in that's cool (done as a thread is posted) but to tweet an entire forum would be madness. And spam. Who would sift through that?
anyway to have a "forum" twitter ID and have a page set up to show it's twitter stream. Kind of like on twitter.com. Then the "forum" id would follow all the forum members and display them. So the members could see the stream of the forum twitter ID.
How do I change the way that the post is made? Twitter says "check this out"! Also it is redirecting back to vbTwitter on vbulletin.org. why? how do I change that to point to the forum I posted from.
Mykhall: Every tweet includes a source parameter, so it adds a link that says "vBTwitter" that links here. There should be another link...
Teresa, first post on the first page in the changelog.
I don't want it to redirect here. That's a problem actually. It will confuse my visitors. I want it to redirect to my site and I want to change the "Check this out" to the title of the actual post.My visitors are everyday users...not administrators.
I plan on tweeting a lot per day from my forum. I don't want people reading messages saying "Check this out". It won't interest them. But if it includes the forum title. that makes sense.
The message is phrased, you could definitely work the title in there through custom code... The vBTwitter link won't disappear. My application appears just like any other twitter app's would. TweetDeck, Tweetie, you name it. Users of Twitter should be familiar with this.