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 just installed this today, and I'm having a bit of trouble with it. It seems that it installs fine, no errors, and I see the twitter credentials in User CP > Edit Options, but when I enter my credentials in there, and hit save, it goes to a blank screen and does nothing. I go back, reload my CP, and the credentials are not there. because they're not there, I don't have the option to submit to twitter.
I followed your instructions (well, except for hitting that I have it installed yet <Laugh>), but It just doesn't seem to work. Any ideas where I could be going wrong? (Cause I know it's gotta be something on my end.)
I do not have Mcrypt installed. I'm fairly new to actually working with vBulletin. I've had it for a while, but never really got a chance to sit down and muck about with it. Everything else seems to be fine, I see everything correctly elsewhere, and even changed my twitter password to see if that was messing things up. I see nothing in standard log locations to show me anything is wrong, but perhaps I'm not sure where to look?
The only things I DO have installed are:
gWoWChar
IMSteam
Mobile Device Detection
Advanced CMPS
vBTwitter
vBulletin Blog
i get this error message when i had saved user and password info in option for twitter
Quote:
Warning: mcrypt_decrypt() [function.mcrypt-decrypt]: The IV parameter must be as long as the blocksize in [path]\profile.php(1873) : eval()'d code on line 4
and it'll do that also when submitting it..And yes i have all php functions as described here.