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 really like this mod, but I get many errors when testing it to uninstall, if I ever need too..
Upon uninstalling errors:
Code:
Invalid SQL:
ALTER TABLE `user` DROP `twitter_password`, `twitter_username`;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`twitter_username`' at line 1
Error Number : 1064
Request Date : Tuesday, February 10th 2009 @ 10:00:54 PM
Error Date : Tuesday, February 10th 2009 @ 10:00:54 PM
Script : http://www.windows7liveforums.com/admincp/plugin.php?do=productkill
This is cool, I can't wait to try it out cause I have a Twitter vB community (http://TweetSocial.com)
I would love to see an additional feature where users can Tweet *anything* at all directly from the forum. Also Twitter API allows you to define where the tweet is coming from and would give a backlink to the forum for each tweet a user sends out.
Like instead of "from web" or "from twitterific" it would be "from TweetSocial" or "from YourForum"
This is cool, I can't wait to try it out cause I have a Twitter vB community (http://TweetSocial.com)
I would love to see an additional feature where users can Tweet *anything* at all directly from the forum. Also Twitter API allows you to define where the tweet is coming from and would give a backlink to the forum for each tweet a user sends out.
Like instead of "from web" or "from twitterific" it would be "from TweetSocial" or "from YourForum"
Thanks for this!
Great site you have there, being Twitter/Tweet based, and the look/style..
Also Twitter API allows you to define where the tweet is coming from and would give a backlink to the forum for each tweet a user sends out.
realy?
i thought this is not possible for communities, because i also wanted that my add-on have it's own name!
thats from the faq:
Quote:
How do I get ?from [MyApp]? appended to updates sent from my API application?
Just fill out this handy form! Note that you must have a Twitter account and must be signed in to submit the form. We only approve applications and sites that appear legitimate and in the best interest of Twitter, Inc. and our community. We do not approve requests to link to personal sites and weblogs, marketing materials, or anything that rubs us the wrong way.