![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||||||||||||||||
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:
Change that line to this:
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 Only licensed members can download files, Click Here for more information. Supporters / CoAuthors Screenshots Show Your Support
No members have liked this post.
|
Comments |
#2
|
||||
|
||||
Change Log
__________________
Former vBulletin.org Staff Member Do not request support through any other means except the forums. Useful Post With Links on Learning How To Develop vBulletin Plugins Latest Modification: Stop Forum Spam Integration No members have liked this post.
Last edited by King Kovifor; 14 Jul 2009 at 23:46. |
#3
|
|||
|
|||
__________________
My community; http://wetalknation.net No members have liked this post.
|
#4
|
||||
|
||||
Nice, just worried about storing twitter passwords... I take it they are not md5ed so to use them on twitter.
I think I'd rather use a popup asking username and password. No members have liked this post.
|
#5
|
||||
|
||||
LOL. You got to hear about my development woes!
I was worried about that too but I need to authenticate and don't know where or how to authenticate without storing it. Pop up would work, but I am thinking of ease of use. Any suggestions?
__________________
Former vBulletin.org Staff Member Do not request support through any other means except the forums. Useful Post With Links on Learning How To Develop vBulletin Plugins Latest Modification: Stop Forum Spam Integration No members have liked this post.
|
#6
|
||||
|
||||
I'd guess another version of this mod could be made, where anyone can twit anything clicking on "Twit This" that opens a popup window that asks username, password and text to append before URL. I could do it but *yawn* not sure how integration with twitter works. It would be just one php file and one template edit. Also not sure if you can twit posts, or just threads would make more sense. But your idea of twitting not the post text, but a link to the forum is nice.
No members have liked this post.
|
#8
|
||||
|
||||
Originally Posted by Dream
I can add that as a product tomorrow. Admin set option for on / off?![]()
This allows you to tweet posts and threads. My next major feature release plans on adding things that would require edits like it.
__________________
Former vBulletin.org Staff Member Do not request support through any other means except the forums. Useful Post With Links on Learning How To Develop vBulletin Plugins Latest Modification: Stop Forum Spam Integration No members have liked this post.
|
#9
|
|||
|
|||
You guys are too much I love it.
After that thread I knew this was coming! Great work! No members have liked this post.
|
#10
|
||||
|
||||
What thread?
__________________
Former vBulletin.org Staff Member Do not request support through any other means except the forums. Useful Post With Links on Learning How To Develop vBulletin Plugins Latest Modification: Stop Forum Spam Integration No members have liked this post.
|
#11
|
|||
|
|||
The twitter thread...
No members have liked this post.
|
#12
|
||||
|
||||
Okay....so, will this allow us to send a Twitter (or a Tweet or whatever it's called!
![]() ![]() ![]()
__________________
No members have liked this post.
|
#13
|
||||
|
||||
It creates a tweet that includes a URL to the specified Post / thread with the default words "check this out" to your Twitted profile. Each user sets up their own profile for this to work.
__________________
Former vBulletin.org Staff Member Do not request support through any other means except the forums. Useful Post With Links on Learning How To Develop vBulletin Plugins Latest Modification: Stop Forum Spam Integration No members have liked this post.
|
#14
|
||||
|
||||
Use mcrypt and have the site owner enter a secret phrase in the config.php file (best place for it)... You can then take the secret phrase and generate a seed value that encrypts the login information. Not foolproof since it will be necessary to decrypt the information but should provide enough basic protection.
__________________
Wayne Luke Get started with your own social network. Purchase and download vBulletin today. No members have liked this post.
|
#15
|
||||
|
||||
Originally Posted by Wayne Luke
Thanks! I'll look into that! And i'm looking at HTTP Basic Auth as the example show it encrypted so if I can figure that out I'll store that.
![]()
__________________
Former vBulletin.org Staff Member Do not request support through any other means except the forums. Useful Post With Links on Learning How To Develop vBulletin Plugins Latest Modification: Stop Forum Spam Integration No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 10:48.