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!
After I installed and configured vB Twitter (which was smooth and easy..THANKS!), it seems that I am having a problem making any post on twitter at all..in fact when I hit "Tweet this Thread!" all that seems to happen is a page refresh - no twitter.
Any ideas?
Thanks man, you rock!
that means your application is set to read only. Even if you fix it you will still have problems. create a new application set it up as read & write access and then use it. if you use the application on the wrong settings in the beginning that user is screwed. you can change it to the correct settings and other users setting up the application will work fine but the user that authorizes the app under read only is screwed
All works well except when it posts to Twitter it doesn't post a link as such....just some text. There is no more tinyurl link in the twitter update.
Cheers
There's no link? It auto posts a test tweeting saying a successful authorization.
Quote:
Originally Posted by barcena
Sorry if my question is already posted but I can't posibly read 35 pages.
1. Will this work with vbseo or it is irrelevant? (Don't have it yet but planning to..)
2. I did everything as the instructions says, or so I think, and
I'm not seeing the twitter icon
I'm getting this error when click on the Twitter feature. (See attachment)
Any help I will appreciate very much.
I have no vBSEO support, it redirects to the direct link. I don't have vBSEO. No twitter icon? In the thread drop down.
Quote:
Originally Posted by mykkal
King, please make me a priority this morning.
I cleared the OAUTH fields to in an attempt to resetup my account to twtter. It allowed me to authenticate to twitter but now I cannot log into my site! whenever I use my password it tells me it cannot authenticate me. why is this?
Its definitely related to the vbtwitter app. only the users that I deleted the tokens for are having this problem. All the other users are not.
I'm absolutely sure i'm logging in correctly. please assist this is urgent becuase i have jobs we've been paid to post and cannot.
If you uninstall and reinstall, it will remove OAuth tokens. I am not sure if deleting tokens such as that will screw everyone over...
Quote:
Originally Posted by MichaelaS
Hey King, I am having a problem (of course)
After I installed and configured vB Twitter (which was smooth and easy..THANKS!), it seems that I am having a problem making any post on twitter at all..in fact when I hit "Tweet this Thread!" all that seems to happen is a page refresh - no twitter.
Any ideas?
Thanks man, you rock!
Did you set you application as Read & Write?
Quote:
Originally Posted by mykkal
i uninstalled. I'll reinstall when the "check this out!" portion is changed to custom titles and links.
I've heard Oauth is a improvement but for myself and my users... there's nothing different here. I need custom thread titles. We all do
Great work King. Let me know when you take that big step we've all been wanting
This update only has check this out. That was intentional. All major feature updates, such as custom titles and links are found in v1.1. That has been the plan all along. I'm just tired of dealing with mcrypt so I made this quick update. I'm sorry that it isn't "up to your par," but it's all your going to get right now. Until v1.1 is ready, you'll have it. Give it the time it needs...
So what's new in v1.0.4?
Maybe you could add the features to the first post?
OAuth integration. The second post in this thread (Comment #1) is the change log.
Quote:
Originally Posted by mykkal
Got past this problem but when i click 'Tweet this thread' the post never appears. I saw that a few others had this problem.
Everything is setup correctly as I can see. Will check the installation procedure again but its all done.
I just attempt to tweet and nothing happens
Also... I noticed a feature in your screenshots that I don't see on my board after installation. "tweet this post' is only availble from the thread tools drop down. There's no link to it next to the permalink like in your example. Is that a defect?
OAuth integration. The second post in this thread (Comment #1) is the change log.
If you are talking about the "Twitter" Drop down, that's only in v1.1. But what feature don't you see? And it should still appear there. It's fine.
No link? Are you talking about the successful tweet?
You didn't upload all files, and still confused on the first one.
Hi, this is what I have, please see the attachted pics, I don't know technicalities but I guess I did it right, could it be my server or I'm missing something?
I think I did it like on Upgrading to v1.0.4 instead of the simple Installation, did I took the hard way?
Hi, this is what I have, please see the attachted pics, I don't know technicalities but I guess I did it right, could it be my server or I'm missing something?
I think I did it like on Upgrading to v1.0.4 instead of the simple Installation, did I took the hard way?
Did you just install the .xml and not upload all the files found in /upload/? As that would cause all your errors. Because it looks like you just installed the .xml.
Know what I will uninstall and install the product again. Thanks King, I will let you know.
Update:
King bear with me here please (or any other member willing to help me out) as I'm not expert or anything. The file named Upload.. when I try to upload anything from there it will give me an error, it only allows me to upload (trought products and plugins) the XML file. What should I do step by step please?.
Meaning, there's a file named vBTwitter v1.0.4==>Upload file/product XML==>Images/Includes/4 other files==>etcetc
When you say
Quote:
Upload files in the /upload/ folder of the .zip into the directories as is.
What are the directories? Sorry about my ignorance but I want to learn and do it myself.