Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBTwitter Details »»
vBTwitter
Version: 1.0.4, by King Kovifor King Kovifor is offline
Developer Last Online: Aug 2015 Show Printable Version Email this Page

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
  1. Upload files in the /upload/ folder of the .zip into the directories as is.
  2. Install product file.
  3. Register an OAuth Application here, using:
  4. Click Install on vB.org
  5. Tell Your users.
  6. Enjoy
Upgrading to v1.0.4
  • Upload all files, overwrite everything.
  • Install product file.
  • Register an OAuth Application here, using:
  • Gain and copy the Consumer Key & Secret into vBulletin Options.
Upgrading to v1.0.3 or before.
  • Upload all files, overwrite everything.
  • install product file.
  • Remove template edits. For the record, they are here:
    • Open the postbit or postbit_legacy template (depending on what you use). Find:
      HTML Code:
      <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
      Add before that:
      HTML Code:
      <if condition="$post['twitter_username']"><a href="tweet.php?do=post&amp;id=$post[postid]&amp;c=$post[postid]">Tweet this post!</a></if>
    • Open the SHOWTHREAD template.
      Find:
      HTML Code:
      	<if condition="$show['addpoll']">
      	<tr>
      		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&amp;t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>
      	</tr>
      	</if>
      Add After:
      HTML Code:
      	<if condition="$vbulletin->userinfo['twitter_username']">
      	<tr>
      		<td class="vbmenu_option">
      			<a href="tweet.php?do=thread&ampid=$threadinfo[threadid]">Tweet This  Thread!</a>
      		</td>
      	</tr>
      	</if>
      Find:
      HTML Code:
      		<if condition="!$show['search_engine']">
      
      			<div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" rel="nofollow">$vbphrase[show_printable_version]</a></div>
      			<div><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" vspace="1" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&amp;t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></div>
      		</if>
      Add After:
      HTML Code:
      		<if condition="$vbulletin->userinfo['twitter_username']"><a href="tweet.php?do=thread&amp;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!

Download Now

File Type: zip vBTwitter v1.0.4.zip (13.2 KB, 1233 views)

Screenshots

File Type: jpeg tweet1.jpg.jpeg (81.8 KB, 0 views)
File Type: jpeg tweet2.jpg.jpeg (89.5 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #642  
Old 11-06-2009, 05:09 PM
rmd1 rmd1 is offline
 
Join Date: Dec 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

waiting for that too.....
with this in addition, it will be the best twitter plugin
Reply With Quote
  #643  
Old 11-06-2009, 09:31 PM
mykkal's Avatar
mykkal mykkal is offline
 
Join Date: May 2007
Location: Atlanta, GA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rmd1 View Post
waiting for that too.....
with this in addition, it will be the best twitter plugin
Honestly, I don't think he's going to be release it. Its been the better part of a year now since I first heard mention of this.

Maybe he doesn't have time...But it obviously ain't gonna happen.
No answer has been realistic. Now i'm not getting answers at all...

Reply With Quote
  #644  
Old 11-07-2009, 03:20 AM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mykkal View Post
Honestly, I don't think he's going to be release it. Its been the better part of a year now since I first heard mention of this.

Maybe he doesn't have time...But it obviously ain't gonna happen.
No answer has been realistic. Now i'm not getting answers at all...

I'm sorry that I don't have time to be on here 24/7 to answer questions. My time for the past few months has been school -> home -> homework -> work -> bed. So, yeah, I don't have time to sit down and develop this to your standards. Its FREE! And v1.1 has about 10x more features planned than v1.0 would ever have had, so it takes more time.
Reply With Quote
  #645  
Old 11-07-2009, 01:19 PM
mykkal's Avatar
mykkal mykkal is offline
 
Join Date: May 2007
Location: Atlanta, GA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You've been telling me a "wait a few weeks" for a year.

What good is free when i'm getting older waiting on a beta?
Reply With Quote
  #646  
Old 11-08-2009, 04:14 AM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mykkal View Post
You've been telling me a "wait a few weeks" for a year.

What good is free when i'm getting older waiting on a beta?
Everyone gets older waiting for everything. What's the point in applying to a school, when I get older waiting for a reply? A job? A paycheck? The difference is this isn't my entire life. I don't spend every minute of every day on my computer developing.
Reply With Quote
  #647  
Old 11-08-2009, 06:50 PM
mykkal's Avatar
mykkal mykkal is offline
 
Join Date: May 2007
Location: Atlanta, GA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by King Kovifor View Post
Everyone gets older waiting for everything. What's the point in applying to a school, when I get older waiting for a reply? A job? A paycheck? The difference is this isn't my entire life. I don't spend every minute of every day on my computer developing.
ok so during all of these replies... What is so wrong with clarifying when your release will be... which you've told me was immient since last February?

For some reason my question seems unreasonable to you. I don't get that.
Reply With Quote
  #648  
Old 11-08-2009, 07:01 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Clarifying the release? What's to clarify except that it's not ready.
Reply With Quote
  #649  
Old 11-08-2009, 07:52 PM
mykkal's Avatar
mykkal mykkal is offline
 
Join Date: May 2007
Location: Atlanta, GA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by King Kovifor View Post
Clarifying the release? What's to clarify except that it's not ready.
Could I recommend a career in politics? lol....
Reply With Quote
  #650  
Old 11-16-2009, 11:13 PM
mykkal's Avatar
mykkal mykkal is offline
 
Join Date: May 2007
Location: Atlanta, GA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by King Kovifor
Sarcasm won't me get it done faster... or even help my will to finish it.
Guys this is funny. Watch for this posting to be deleted.

A while back I asked King if there was a immediate release of VBtwitter coming. He told me not worry 1.1 was around the corner. A few months later I asked again just cause I was willing to invest in the product myself. Being that he was on a school break he said he was working on a release to be made.

lol...Almost a year from the original question I asked again, politely, like I always do. His reply to me is in the quote above.

lol... dude really, i'm just asking if your going to do it because you've been working on it a year. Microsoft built a brand new extra complicated OS called windows 7 (beta) from scratch in that time.

My point is:
1. Why give an expectation? And if you aren't gung ho about developing it anymore just say so and move on. You did such a good job with the first release many have refused to delevop it because everyone is waiting on your next release.

2. if your working on something for a year and getting no where maybe ask for help. if you've actually been "working" on it.

3. Its free. Why be a jerk about it when a simple question is posed. You set the expectation it would be there. Not any of us.

4. I've noticed the number of installs decreasing or staying stagnant over time. Just saying...

I only want a simple answer. Are you still developing and if so when is a realistic release date? If not can we continue to develop your mod independently of you.

I've been asking the latter since April...
Reply With Quote
  #651  
Old 11-18-2009, 07:29 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mykkal View Post
Guys this is funny. Watch for this posting to be deleted.

A while back I asked King if there was a immediate release of VBtwitter coming. He told me not worry 1.1 was around the corner. A few months later I asked again just cause I was willing to invest in the product myself. Being that he was on a school break he said he was working on a release to be made.

lol...Almost a year from the original question I asked again, politely, like I always do. His reply to me is in the quote above.

lol... dude really, i'm just asking if your going to do it because you've been working on it a year. Microsoft built a brand new extra complicated OS called windows 7 (beta) from scratch in that time.

My point is:
1. Why give an expectation? And if you aren't gung ho about developing it anymore just say so and move on. You did such a good job with the first release many have refused to delevop it because everyone is waiting on your next release.

2. if your working on something for a year and getting no where maybe ask for help. if you've actually been "working" on it.

3. Its free. Why be a jerk about it when a simple question is posed. You set the expectation it would be there. Not any of us.

4. I've noticed the number of installs decreasing or staying stagnant over time. Just saying...

I only want a simple answer. Are you still developing and if so when is a realistic release date? If not can we continue to develop your mod independently of you.

I've been asking the latter since April...
Your "polite" replies have always been sarcastic and demanding. That's all I will say on that subject. Now, to comparing the amount of time it has taken me to developing this to Windows 7 is rather unfair. Microsoft has thousands of developers working 8 hour days, 5 days a week to develop the software. There's 1. Who can only devote at max, 2 hours a day to finishing this problem.

1. It will be released. I set the expectation and fail on it because of my life currently. My life isn't all peachy keen right now, and it's really hard for me to focus on school, let alone on anything else.

2. Who says I'm "stuck"? I only said that I lost my AJAX developer, so AJAX may not come to vBTwitter in v1.1.

3. The "simple" question has been posted several times by you, and the same answer has been given each and every time.

4. I don't care about number of installs. If only 1 person used my product, it would make me happy that one person has been helped by this program. Installs don't matter in my book.

Yes, I'm still developing it. A realistic release date? Within the next 200 years should cover it. Set the expectation realistic enough for you?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:44 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06365 seconds
  • Memory Usage 2,381KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_html
  • (2)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete