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 |
#622
|
||||
|
||||
Quote:
|
#623
|
|||
|
|||
My tips and tricks of the day:
Remove the "tweet this" link, insert twitter icon only in first post, and tweet thread instead of just individual posts: 1) go to plugins, disable *Add "Tweet this Post!"* and *Add "Tweet this Thread!"* 2) in style manager, open postbit template 3) find: Code:
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> </if> Code:
<!-- twitter --> <if condition="$post[postcount] == 1"> <a href="tweet.php?do=thread&id=$thread[threadid]&c=$thread[threadid]"><img class="inlineimg" src="http://www.yourdomain.com/images/twitter-icon.gif" alt="Tweet this!" style="border-style: none"/></a> </if> <!-- / twitter --> 5) follow ClipBucket's changes in posts 573 and 574. Voila. You have what looks like: - Example thread on my website http://www.ohio-riders.com/showthread.php?t=34530 - Example tweets on twitter http://twitter.com/benstillman I've done something similiar with the Facebook submit, so I wanted the Tweet this to somewhat match. Even as a guest (or without your facebook info in your profile), it'll still work. It just asks you to log in and allow it. |
#624
|
|||
|
|||
Thanks I will keep checking back
|
#625
|
||||
|
||||
I just installed this on my 3.8.4 forum and the Tweet this Thread appears, but nothing at a post level. I use postbit legacy, and doesn't appear on even the default template. Any ideas?
|
#626
|
|||
|
|||
There's something odd with the zip file. Anyone else having issues downloading and unzipping it?
Update: Ah, not sure what was wrong, but it with my PC. I will usually right-click on the zip file and choose "Extract all. . ." but that Vista unzip feature was acting up tonight. |
#627
|
|||
|
|||
hey there...
first, thx for this great addon. i got a little problem with it. i changed the "check it out" into "freakstyles.net" in phrases.. didnt work well, looks bad. i changed back.. but now, the links from the board doesnt show up right. now it looks like: Check this out! http://bit.ly/2dn48F everytime i do not get my board url in twitter, but this bit.ly urls .... linked to my board. i dont know how ich can change back. board url: http://board.freakstyles.net test twitter: http://twitter.com/od3m1 i hope you guys can help me out... and sorry for the bad english.. greetings from germany od3m |
#628
|
||||
|
||||
The test twitter account still works...
|
#629
|
|||
|
|||
"Once a user defines their Twitter username & password within their vB Options (User CP -> Edit Options), the Tweet This X links will appear."
There are no fields for this in usercp -> edit options. Do I need to create custom fields? Edit: Would it be possible to make it tweet the thread title too? Can that edit be done in the same template as "Check this out" can be edited? Edit2: Thanks for the mod btw. This is an amazing marketing tool. |
#630
|
|||
|
|||
Great mod, thanks.
|
#631
|
||||
|
||||
That phrase is out of date, as it no longer requires a user to fill it in. And most of it has been rewritten or re-factored to include many new features already. Working towards a beta release.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|