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!
no there is no character table. Not even sure why I wrote that. Sorry. It's just the three I mentioned above. I was thinking... There are funny characters there in that table and actually typed it. lol.
I can give you access to admin panel and database if you need to see yourself.
Quote:
There are three tables:
twiiter_username
twitter_password (encrypted)
twitter_size (encrypted)
Somehow it seems that the vBulletin mod is either sending the wrong authentication information to twitter, is encoding that information wrong, or is not sending it at all.
Again, this is the error I get when I try to tweet the thread.
Quote:
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.
Another question...Do forum permissions matter?
Another FYI. I just upgraded to php 5.2.8 a few days ago. Does it work on this version? All of my web applications are functioning fine.
mykkal, vBTwitter is working fine. I believe I have narrowed this down to a show stopping bug in the twitter API that has stopped working. I will try to find a fix today or tomorrow, and either rewrite the authentication methods of the twitter class, my authentication verification, or work with Twitter to fix this problem. I've already @twitterapi'd the account to see if it's a bug. This now makes sense in my mind as it stopped working on my dev site, and several other sites have reported it since then. If you are having trouble, I hate to say it, but please be patient as I attempt to work with Twitter and myself and ragtek to solve this!
mykkal, vBTwitter is working fine. I believe I have narrowed this down to a show stopping bug in the twitter API that has stopped working. I will try to find a fix today or tomorrow... This now makes sense in my mind as it stopped working on my dev site, and several other sites have reported it since then.
This is good actually. Then that means I have no unique problems on my side. That's less headache for you and me.
You and me both. I was getting tired of trying to figure out why multiple people were having this exact same problem, at the exact same time after it had worked fine! Disabling the product will prevent any users from utilizing this.