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!
Did you go to User CP->Edit Options->Scroll down to vbTwitter????? It should take you to twitter.
I don't see any options in the CP -> Edit Options either.
I installed everything, made temp changes, entered the auth codes, see them in my database. When I clicked Tweet This under Thread Tools the first time, I get taken to Twitter asking me if I authorize this action. Everything seems to be working except nothing happens when I Tweet This and there are no option in the Control Panel.
vB 3.8.6 patch 1, PHP 5.2
Like some of you I was looking for another forum software after trying to deal with vB 4.0 but gave up on it after consulting the forum members on changing the forum and I don't have the time to make it look the same now.
Would love to be able to Tweet from this forum.
Thanks in advance for all your hard work.
We are getting the following error on our General Settings page - can anyone offer any advice?
Quote:
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: modifyoptions_vbtwitter in [path]/includes/functions.php on line 4007