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!
Not sure if this is typical, but I just tried a fresh install of this mod & there were no automatic template adjustments that it made. I then disabled it; I'll check out more details on this later, but so far, haven't seen it work.
Not sure if this is typical, but I just tried a fresh install of this mod & there were no automatic template adjustments that it made. I then disabled it; I'll check out more details on this later, but so far, haven't seen it work.
That's because you have a customized style. You will have to manually add them.
Quote:
Originally Posted by mykkal
Hows that next release coming? You must be drowning in feature requests
@King Kovifor: I have not tried this mod yet, but wouldn't it be more prudent to use the full showthread link to keep links consistent? I know that twitter uses a nofollow on all of its links, but is there a point behind the tp and tt files?
@King Kovifor: I have not tried this mod yet, but wouldn't it be more prudent to use the full showthread link to keep links consistent? I know that twitter uses a nofollow on all of its links, but is there a point behind the tp and tt files?
The tp.php and tt.php files are URL shorting files as it does allow only 140 characters. It will come in handy more in the next version.
Quote:
Originally Posted by Fronty
New install on 3.8.0 (about to upgrade to 3.8.2) with vbulletin blog, vbseo 3.3 and facebook connection plugin. Runs smooth.
Just a small question, which is probably only a template moderation. But how do I get this mod working on the blog pages on my website?
I'm getting this when I try to tweet a thread/post:
We're sorry, but the Username and Password provided within your User CP could not be authenticated. Please modify either your Username or Password to match your current Twitter Username / Password and try again.
I have looked in vb-user table, but there is no columns "twitter_password", "twitter_username"...
It's an image that is easily changeable. I believe it is in /buttons/misc/twitter.gif. Just replace that and you have the new image.
Yeah but will it function the same way as ReTweet does? For example, you click on the ReTweet button and then you get taken to your Twitter page. A message will be already written in the "What are you doing?" text box like this for example: