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 usually don't do this, but after spending 2 hours on this, I can safely say that it does not work as described. I do see the settings options show up with username & password fields, but it does nothing when saved.
I think if they have special non-ASCII characters, maybe with accents or something. I'm not entirely sure.
Quote:
Originally Posted by FireFish
I usually don't do this, but after spending 2 hours on this, I can safely say that it does not work as described. I do see the settings options show up with username & password fields, but it does nothing when saved.
<a href="http://twitter.com/home?status=Currently reading <?php the_VB THREAD FUNCTION(); ?>" title="Click to send this page to Twitter!" target="_blank">Share on This On Twitter!</a>
AND THEN
that will bring them to twitter and they can login or it will post the message if they are already logged in as most people are all day long anyhow.
I think trying to bridge the log in is just way over board for a simple "twitter"
I love the module though, and I would just just the above to keep it simple
I installed this and test it out on twitter and it posts a link to Check this out! http://tinyurl.com/dxk7kq . When I click on this link my spyware blocks it said this site is a spy site. Beware.
I installed this and test it out on twitter and it posts a link to Check this out! http://tinyurl.com/dxk7kq . When I click on this link my spyware blocks it said this site is a spy site. Beware.
thats because your spyware program sees tinyurl as spam/spyware - that has nothing to do with this hack