Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vBTwitter Details »»
vBTwitter
Mod Version: 1.0.4, by King Kovifor (Coder/Designer) King Kovifor is offline
Developer Last Online: Apr 2013 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (67 votes - 4.15 average) Installs: 400
Released: 09 Feb 2009 Last Update: 14 Jul 2009 Downloads: 1863
Supported DB Changes Uses Plugins Auto-Template Additional Files Translations  

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:

      Block Disabled:      (Update License Status)  
      Suspended or Unlicensed Members Cannot View Code.

      Add before that:

      Block Disabled:      (Update License Status)  
      Suspended or Unlicensed Members Cannot View Code.

    • Open the SHOWTHREAD template.
      Find:

      Block Disabled:      (Update License Status)  
      Suspended or Unlicensed Members Cannot View Code.

      Add After:

      Block Disabled:      (Update License Status)  
      Suspended or Unlicensed Members Cannot View Code.

      Find:

      Block Disabled:      (Update License Status)  
      Suspended or Unlicensed Members Cannot View Code.

      Add After:

      Block Disabled:      (Update License Status)  
      Suspended or Unlicensed Members Cannot View Code.

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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change that line to this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View 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

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	tweet1.jpg.jpeg
Views:	7502
Size:	81.8 KB
ID:	95497Click image for larger version

Name:	tweet2.jpg.jpeg
Views:	9802
Size:	89.5 KB
ID:	95498

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #226  
Old 05 Mar 2009, 06:32
RedeemedWarrior's Avatar
RedeemedWarrior RedeemedWarrior is offline
 
Join Date: Apr 2008
Real name: Richard R
can i delete .svn folders? or are they needed?
Reply With Quote
  #227  
Old 05 Mar 2009, 06:56
mykkal's Avatar
mykkal mykkal is offline
 
Join Date: May 2007
Real name: Mike McKoy
Originally Posted by drsli View Post
The username-and-password-authentication-failure still happens with the new version. I severely checked my twitter-login-data, they are working within twitter itself.
Works for me though...
__________________
Casting Calls for Models, Actors, And Other Talent
http://MyModelTalk.com
Reply With Quote
  #228  
Old 05 Mar 2009, 08:11
Cybertims Cybertims is offline
 
Join Date: Nov 2005
Real name: Paul
Mine now works but I get this error message across the top of the redirection screen right after it.


Warning: mcrypt_decrypt() [function.mcrypt-decrypt]: The IV parameter must be as long as the blocksize in [path]\tweet.php on line 9

Any idea why that might be?

Cheers
Reply With Quote
  #229  
Old 05 Mar 2009, 11:07
Infopro Infopro is offline
 
Join Date: May 2003
Wink

Originally Posted by King Kovifor View Post
Infopro, you have THAT and it is reloading? Mind sending me a PM so I can look into it?

Mykkal, v1.0.x is not feature updates. Who knows, maybe it'll show in v1.1.0.
I'm sorry but my forums are not open to the public at this point.

I read earlier in this thread that this was being tested so I waited for your release. Apparently the testers need some testing too.


Originally Posted by RedeemedWarrior View Post
can i delete .svn folders? or are they needed?
King Kovifor, how about if you remove all the garbage from your zip file so people can get confused over this thing not working without the added confusion of garbage files no one needs?

I like trying stuff from vb.org but I'm not here to work on other coders bugs. Those should be worked on and hopefully solved before a new post is made offering it to the masses.

This clearly was not tested enough by those who have.

On the other hand, I have stolen some hilarious gif images posted to this thread for use in other threads. So I'm ahead at this point.
Reply With Quote
  #230  
Old 05 Mar 2009, 11:10
Infopro Infopro is offline
 
Join Date: May 2003
Unhappy

Originally Posted by King Kovifor View Post
Ragtek, you can post screen shots. Just not in the first post.
Originally Posted by ragtek View Post
Allright

In version 1.1 we added a tweetpopup menu to the navbar
Attachment 95799
For all users without js there will be a own page.

The second new thing(all followers of our tweet profil will know*g*) is, that now "everything" will work with ajax.
Originally Posted by King Kovifor View Post
v1.0.3 will be released at some point tomorrow! Beta was very successful!
How exciting this all seemed only days ago...
Reply With Quote
  #231  
Old 05 Mar 2009, 14:51
abroad abroad is offline
 
Join Date: Mar 2007
get this error:

Call to undefined function mcrypt_get_iv_size() in /var/www/htm/profile.php(2155) : eval()'d code on line 16
Reply With Quote
  #232  
Old 05 Mar 2009, 15:50
Lima Bean Lima Bean is offline
 
Join Date: Dec 2007
Thumbs down Disappointed, this is not especially useful ...

With all due respect to the coder, please take my comments as intended and not as a personal attack against you or the vbTwitter mod - but really, what's the point?

I can see no point in a forum's users littering their twitter pages with a stream of Check This Out text with no description in the links of what the potential visitor might be looking at? I can't speak for other web users out there, but I don't have a tendancy to click on links just because they tell me to click here or to check this out. If you could find a way to form a better link, perhaps by pulling in the post/thread title, then this mod could be mildly useful.

Until then, I am uninstalling this mod. I wish you success as you try to get this worked out, and I would revisit this mod if you can communicate better to users what exactly the link is going to be about.

Regards,
Lima Bean
Reply With Quote
  #233  
Old 05 Mar 2009, 21:39
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by drsli View Post
The username-and-password-authentication-failure still happens with the new version. I severely checked my twitter-login-data, they are working within twitter itself.
Hm. Are you sure you uploaded the new tweet.php?

Originally Posted by RedeemedWarrior View Post
can i delete .svn folders? or are they needed?
Yes. They are invisible on my computer and snuck their way in.

Originally Posted by Cybertims View Post
Mine now works but I get this error message across the top of the redirection screen right after it.


Warning: mcrypt_decrypt() [function.mcrypt-decrypt]: The IV parameter must be as long as the blocksize in [path]\tweet.php on line 9

Any idea why that might be?

Cheers
Update your password, it should have an IV parameter stored with it.

Originally Posted by Infopro View Post
I'm sorry but my forums are not open to the public at this point.

I read earlier in this thread that this was being tested so I waited for your release. Apparently the testers need some testing too.
Personally, I have it installed on 3 beta testing sites, and they all worked perfectly. With the code you gave me, it should not be doing what it is, hence the reason I asked to see the forum.

Originally Posted by Infopro View Post
King Kovifor, how about if you remove all the garbage from your zip file so people can get confused over this thing not working without the added confusion of garbage files no one needs?
I haven't had the time to sit down and remove them. They slipped in as they are invisible on my computer.

Originally Posted by Infopro View Post
I like trying stuff from vb.org but I'm not here to work on other coders bugs. Those should be worked on and hopefully solved before a new post is made offering it to the masses.

This clearly was not tested enough by those who have.
Your problem is unique, and the only one I've seen like it. If your problem is the only one that happens, it is impossible for a coder to predict and fix it.

Originally Posted by abroad View Post
get this error:

Call to undefined function mcrypt_get_iv_size() in /var/www/htm/profile.php(2155) : eval()'d code on line 16
You don't have mcrypt installed.
__________________
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
Reply With Quote
  #234  
Old 06 Mar 2009, 01:15
SABRSox SABRSox is offline
 
Join Date: Apr 2007
I get the following error:


Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in twitter.php on line 29
Reply With Quote
  #235  
Old 06 Mar 2009, 01:42
smnet smnet is offline
 
Join Date: Feb 2009
/me is waiting for 1.1
Reply With Quote
  #236  
Old 06 Mar 2009, 07:11
Cybertims Cybertims is offline
 
Join Date: Nov 2005
Real name: Paul
Update your password, it should have an IV parameter stored with it.
Can you be a bit clearer? Do you mean change it? Not sure what you mean by "update your password"

Cheers.
Reply With Quote
  #237  
Old 06 Mar 2009, 12:59
drsli's Avatar
drsli drsli is offline
 
Join Date: Jan 2008
Real name: Dietmar
Originally Posted by King Kovifor View Post
Hm. Are you sure you uploaded the new tweet.php?
Yep, I´m sure. Here is the procedure I tried recently. I wiped out the username and password, saved the changes. I added the username and password, saved the changes to no success. I overwrote all files on the servers and re-imported the 1.03-version. To no success.

Then - I´m on the Mac-side - I tried out the program "Twitterific" and this prog gave me an alert about my password, warning me about an incompatibility with the twitter-api, cause my password contained non-alphanumeric characters. I changed the password to contain only alphanumeric characters and now all is working like a charm!

But I had to add a template-edit manually to get the "Tweet this post"-link working. I´m using the Template Modification System within the postbit too, maybe this prevented the link to show up.

Sorry for causing the confusion! But to my exoneration the twitter-browser-site accepts and works with non-alphanumeric-characters within the password, so I didn´t suspect any issues so far.

Thank you for this neat addon! Clicked Installed.
Reply With Quote
  #238  
Old 06 Mar 2009, 22:41
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by SABRSox View Post
I get the following error:


Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in twitter.php on line 29
Hm. I will see about looking into that tomorrow.

Originally Posted by Cybertims View Post
Can you be a bit clearer? Do you mean change it? Not sure what you mean by "update your password"

Cheers.
All you need to do is edit your options, and just retype your password. If it was stored without an IV, it won't be able to decrypt. Upon changing your password, it'll update and store the required variables with your password.

Originally Posted by drsli View Post
Yep, I´m sure. Here is the procedure I tried recently. I wiped out the username and password, saved the changes. I added the username and password, saved the changes to no success. I overwrote all files on the servers and re-imported the 1.03-version. To no success.

Then - I´m on the Mac-side - I tried out the program "Twitterific" and this prog gave me an alert about my password, warning me about an incompatibility with the twitter-api, cause my password contained non-alphanumeric characters. I changed the password to contain only alphanumeric characters and now all is working like a charm!

But I had to add a template-edit manually to get the "Tweet this post"-link working. I´m using the Template Modification System within the postbit too, maybe this prevented the link to show up.

Sorry for causing the confusion! But to my exoneration the twitter-browser-site accepts and works with non-alphanumeric-characters within the password, so I didn´t suspect any issues so far.

Thank you for this neat addon! Clicked Installed.
Glad you figured it out.
__________________
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
Reply With Quote
  #239  
Old 07 Mar 2009, 23:32
wmlvb's Avatar
wmlvb wmlvb is offline
 
Join Date: May 2008
Originally Posted by ragtek View Post
Allright

In version 1.1 we added a tweetpopup menu to the navbar
Attachment 95799
For all users without js there will be a own page.

The second new thing(all followers of our tweet profil will know*g*) is, that now "everything" will work with ajax.
Hey can you tell me the code for making the "tweettpopup" and what file and where you put it int the file? Thanks for the help!

BTW what do you mean everything will work w/ ajax?? Thanks
Reply With Quote
  #240  
Old 07 Mar 2009, 23:47
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by wmlvb View Post
Hey can you tell me the code for making the "tweettpopup" and what file and where you put it int the file? Thanks for the help!

BTW what do you mean everything will work w/ ajax?? Thanks
Sorry, but the tweet pop up will not appear until v1.1 is released. It requires significant code changes and additions to what is in v1.0.x. For this reason, it will not be "pre-released" as an individual feature to v1.0.x. And here's an AJAX screencast:

http://screencast.com/t/CkcUQkUErUm

Notice the time stamp doesn't change. (Cause there is NO reload!)
__________________
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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 16:51.

Layout Options | Width: Wide Color: