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!
The developer is aware of this issue. It's being worked on. In the meantime... what theme are you using? It looks nice!
Is a theme that created the ex-admin of the site, the complete name is "MacAdicto Grey". I guess him has used other theme base and created this last. Hugs from Argentina and sorry for my poor English!
Hi! i can do work the vBTwitter....but in the "Thread Tool" i see 2 times the same option :S
I looking inside the code I did not find any reason to appear 2 times, somebody help me!! Thank you so much again!
You didn't remove the template edits. They are listed in the first post for you to remove.
Quote:
Originally Posted by tr03bor
Can you add this to the registration page to? So new members can fill it in?
I still cannot reinstall, i uninstalled the last version with no errors at all?? KK ?? Do you need my admin user, pass???
Code:
Database error in vBulletin 3.8.1:
Invalid SQL:
ALTER TABLE `user` ADD (`twitter_username` VARCHAR( 255 ) NOT NULL ,`twitter_password` VARCHAR( 255 ) NOT NULL);
MySQL Error : Duplicate column name 'twitter_username'
Error Number : 1060
Request Date : Tuesday, February 17th 2009 @ 03:39:52 PM
Error Date : Tuesday, February 17th 2009 @ 03:39:52 PM
Script : http://www.windows7liveforums.com/admincp/plugin.php?do=productimport
Referrer : http://www.windows7liveforums.com/admincp/plugin.php?do=productadd
IP Address : 99.247.xxx.xxx
Username : Joe Gronlund
Classname : vB_Database
MySQL Version : 5.0.67-community
I still cannot reinstall, i uninstalled the last version with no errors at all?? KK ?? Do you need my admin user, pass???
Code:
Database error in vBulletin 3.8.1:
Invalid SQL:
ALTER TABLE `user` ADD (`twitter_username` VARCHAR( 255 ) NOT NULL ,`twitter_password` VARCHAR( 255 ) NOT NULL);
MySQL Error : Duplicate column name 'twitter_username'
Error Number : 1060
Request Date : Tuesday, February 17th 2009 @ 03:39:52 PM
Error Date : Tuesday, February 17th 2009 @ 03:39:52 PM
Script : http://www.windows7liveforums.com/admincp/plugin.php?do=productimport
Referrer : http://www.windows7liveforums.com/admincp/plugin.php?do=productadd
IP Address : 99.247.xxx.xxx
Username : Joe Gronlund
Classname : vB_Database
MySQL Version : 5.0.67-community
your true
there's something missing in the deinstallcode
I still cannot reinstall, i uninstalled the last version with no errors at all?? KK ?? Do you need my admin user, pass???
Code:
Database error in vBulletin 3.8.1:
Invalid SQL:
ALTER TABLE `user` ADD (`twitter_username` VARCHAR( 255 ) NOT NULL ,`twitter_password` VARCHAR( 255 ) NOT NULL);
MySQL Error : Duplicate column name 'twitter_username'
Error Number : 1060
Request Date : Tuesday, February 17th 2009 @ 03:39:52 PM
Error Date : Tuesday, February 17th 2009 @ 03:39:52 PM
Script : http://www.windows7liveforums.com/admincp/plugin.php?do=productimport
Referrer : http://www.windows7liveforums.com/admincp/plugin.php?do=productadd
IP Address : 99.247.xxx.xxx
Username : Joe Gronlund
Classname : vB_Database
MySQL Version : 5.0.67-community
This is still remnant of your original install (as with the bug you originally posted). Run this query and do the install again.
Also, be sure to add your prefix before user.
[sql]ALTER TABLE `user` DROP COLUMN `twitter_password`, DROP COLUMN `twitter_username`[/sql]
mcrypt
mcrypt support
enabled
Version
2.5.8
Supported ciphers
cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes
cbc cfb ctr ecb ncfb nofb ofb stream
But I get a warning message at the top of the edit options page:
Code:
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 2
Update: I should note that everything appears to work, but the error is still there even after logging in to twitter.
Update 2: After I posted one tweet, the message went away.
Update 3: I'm also getting the multiplying "Tweet This Post!" issue.
mcrypt
mcrypt support
enabled
Version
2.5.8
Supported ciphers
cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes
cbc cfb ctr ecb ncfb nofb ofb stream
But I get a warning message at the top of the edit options page:
Code:
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 2