The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBTwitter Details »» | |||||||||||||||||||||||||||||||
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
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:
PHP Code:
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! Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
Comments |
#52
|
||||
|
||||
OK. After spending the last hour trying to figure out Mcrypt (which I did get to work, rather fast too) it's still not decrypting and encrypting values as expected... So it most likely won't be done tonight.
|
#53
|
|||
|
|||
While installing
Code:
Importing Product, Please Wait... [:] Database Error Database error The Windowsliveforums.com database has encountered a problem. 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 : Saturday, February 14th 2009 @ 09:53:24 PM Error Date : Saturday, February 14th 2009 @ 09:53:24 PM Script : http://www.windows7liveforums.com/admincp/plugin.php?do=productimport Referrer : http://www.windows7liveforums.com/admincp/plugin.php?do=productadd IP Address : 99.xxx.xxx.xxx Username : Joe Gronlund Classname : vB_Database MySQL Version : 5.0.67-community |
#54
|
||||
|
||||
Quote:
|
#55
|
||||
|
||||
It is now also gonna have an image beside "Tweet this Thread!" It's not the best, but I think it looks rather good!
|
#56
|
|||
|
|||
Quote:
It was actually uninstalled when I tried to reinstall it when I received that error, but I will wait for the next release.. |
#57
|
||||
|
||||
Great looking idea and I will keep following this hack.
One suggestion I have though is to use Custom Profile Fields for the twitter details and enter the field ID in an ACP option. The reason for this is that I already have a hack which places the users latest tweets in their profile. To do this they need to enter their twitter id in a custom profile fileds ... so it seems silly to ask them for the same thing again. |
#58
|
||||
|
||||
Quote:
I will post up proper queries later (I don't have access here). |
#59
|
|||
|
|||
Where can I change the default that it leaves on Twitter: "Check this out!" - to something else? Something like, "Read this topic in our forums!"
|
#60
|
||||
|
||||
hmccaig, search for the phrase twitter_check I believe. If that isn't it, search for twitter_ in car names and one will say "Check this out!".
|
#61
|
|||
|
|||
In which file do I do this? Thanks!
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|