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) King Kovifor is offline
Developer Last Online: Aug 2015 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (32 votes - 4.22 average) Installs: 400
Released: 09 Feb 2009 Last Update: 14 Jul 2009 Downloads: 1906
Not 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:	7825
Size:	81.8 KB
ID:	95497   Click image for larger version

Name:	tweet2.jpg.jpeg
Views:	10161
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.
  #331  
Old 04 Apr 2009, 20:48
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Uncrappy code=Priceless
__________________
GTP
Reply With Quote
  #332  
Old 05 Apr 2009, 01:24
KevinL KevinL is offline
 
Join Date: Apr 2005
Indeed
Reply With Quote
  #333  
Old 05 Apr 2009, 02:50
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Thanks for brightening my night up.
__________________
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
Reply With Quote
  #334  
Old 09 Apr 2009, 11:30
Franky45 Franky45 is offline
 
Join Date: Apr 2006
Thanks for this mod, but i have a problem...

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /xxxx/xx/xxx/htdocs/xxxxxxx/board/includes/twitter.php on line 29
Reply With Quote
  #335  
Old 10 Apr 2009, 01:42
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by Franky45 View Post
Thanks for this mod, but i have a problem...
Um. Why is this happening? I really need to figure this out.
__________________
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
Reply With Quote
  #336  
Old 10 Apr 2009, 04:12
Catherines WC Catherines WC is offline
 
Join Date: Mar 2009
Hi,

I just installed this Twitter Mod to my forum www.CatherinesWebChat.com and I get tweet this under thread tools bbut it doesnt show up just below that like in the screenshot.

How do I get this?

Cheers,
__________________
Catherines Web Chat
Reply With Quote
  #337  
Old 10 Apr 2009, 08:56
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Real name: Christian
hi Jeremy, i find out an uncached template in the UCP

can you fix it? thanks

ps. Uncached templates: modifyoptions_vbtwitter (1)

_______________

nvm: i put a wrong password

also i've this trouble:

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

and i've got this error:

We're sorry, but the Username and Password provided within your User CP could not be authenticated. Please modify either your Username or Password to match your current Twitter Username / Password and try again.

Last edited by KURTZ; 10 Apr 2009 at 09:05.
Reply With Quote
  #338  
Old 10 Apr 2009, 15:59
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
l'll be sure it's fixed in the next release.
__________________
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
Reply With Quote
  #339  
Old 11 Apr 2009, 05:31
kylek kylek is offline
 
Join Date: Oct 2003
Real name: Kyle
New install on 3.8.2 with no problems at all, thanks for this!!

Dumb question time though - does this take in the forum permissions?

We have some private forums for admins and mods and if they tweek a post in the private section will anyone else see the post on the members twitter home page.
__________________
Reply With Quote
  #340  
Old 11 Apr 2009, 19:55
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by kylek View Post
New install on 3.8.2 with no problems at all, thanks for this!!

Dumb question time though - does this take in the forum permissions?

We have some private forums for admins and mods and if they tweek a post in the private section will anyone else see the post on the members twitter home page.
They will see the link, yes, but once it relays them to the thread or post vBulletin takes over and says "NO!" and doesn't let them view.
__________________
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
Reply With Quote
  #341  
Old 12 Apr 2009, 09:05
FireFish's Avatar
FireFish FireFish is offline
 
Join Date: Jan 2006
Angry Template Modifications on a fresh install

Not sure if this is typical, but I just tried a fresh install of this mod & there were no automatic template adjustments that it made. I then disabled it; I'll check out more details on this later, but so far, haven't seen it work.
Reply With Quote
  #342  
Old 12 Apr 2009, 09:38
mykkal's Avatar
mykkal mykkal is offline
 
Join Date: May 2007
Real name: Mike McKoy
Originally Posted by King Kovifor View Post
l'll be sure it's fixed in the next release.
Hows that next release coming? You must be drowning in feature requests
Reply With Quote
  #343  
Old 12 Apr 2009, 17:19
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by FireFish View Post
Not sure if this is typical, but I just tried a fresh install of this mod & there were no automatic template adjustments that it made. I then disabled it; I'll check out more details on this later, but so far, haven't seen it work.
That's because you have a customized style. You will have to manually add them.

Originally Posted by mykkal View Post
Hows that next release coming? You must be drowning in feature requests
Along.
__________________
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
Reply With Quote
  #344  
Old 12 Apr 2009, 21:02
Cole2026 Cole2026 is offline
 
Join Date: Feb 2004
Real name: Cole
@King Kovifor: I have not tried this mod yet, but wouldn't it be more prudent to use the full showthread link to keep links consistent? I know that twitter uses a nofollow on all of its links, but is there a point behind the tp and tt files?
Reply With Quote
  #345  
Old 13 Apr 2009, 12:37
Fronty's Avatar
Fronty Fronty is offline
 
Join Date: Sep 2005
New install on 3.8.0 (about to upgrade to 3.8.2) with vbulletin blog, vbseo 3.3 and facebook connection plugin. Runs smooth.

Just a small question, which is probably only a template moderation. But how do I get this mod working on the blog pages on my website?
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

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


New To Site? Need Help?

All times are GMT. The time now is 17:06.

Layout Options | Width: Wide Color: