Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vBulletin Tweet Poster! Details »
vBulletin Tweet Poster!
Mod Version: 1.0.6, by Milad (Coder) Milad is offline
Developer Last Online: Feb 2019 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (29 votes - 4.48 average) Installs: 353
Released: 17 Jun 2009 Last Update: 06 Aug 2009 Downloads: 2048
Not Supported DB Changes Uses Plugins Auto-Template Additional Files External Content  

Brought to you by Milad's vBulletin Services!

Click install to receive support & updates. Please click install before you ask for help!
You like it? nominate it.


Introduction & Description
It's amazing how twitter drives traffic to various websites around the web, so I thought it would be a very good idea to get advantage of it, because Twitter will bring us more traffic and more valuable registrations.

This add-on runs as a scheduled task every ten minutes, and posts the newly posted threads to twitter in the form:
Thread title - preview (if possible) - tiny or full URL.

Threads must be in forums viewable by guests, not private forums.

Features
  • 1.0.0
    • Post to twitter using OAuth authentication.
    • You have your own application at twitter, so the tweets will be appeared from your website name. Attachment 100694
    • Only guest-accessible stuff is posted at Twitter.
    • Integrated with bit.ly to shorten the thread URL, giving more space for title and preview.
    • Set it up once, and forget it. twitter's access token doesn't expire, unless you revoke the access permission.
  • 1.0.2
    • You can set from which forums the threads will be tweeted. (See the page where you edit the forum info and settings Attachment 100710)
    • vBSEO compatible (if available), so the URLs are rewritten before they get shortened. This will help to reduce the number of redirects as few as possible.
    • The task prints valuable information when you run it manually, to help you diagnose problems when they happen! Attachment 100725
  • 1.0.3
    • Non-Unicode forums can use the built-in conversion (to UTF-8) to abide by the requirement of twitter. Attachment 100687
    • You can disable the automatic tweeting function, and tweet threads manually right from the first postbit. with user group over which user group can tweet manually Attachment 100843 Attachment 100845
    • You can set threads from which user group will be tweeted. Attachment 100845
  • 1.0.5
    • Scheduled task: Post Hot threads.
    • Check port 443 on installation / upgrade.
    • The product can't be installed if cURL isn't complied into PHP.
    • Update forums / usergroups / permissions cache on successful authorization, to avoid problems with some admins, where caches don't get updated on upgrade!
    • strip_html from the preview text, for forums that enable HTML in posts.
    • Delete tweet if the thread is deleted.
    • Status Message Prefix. Attachment 100687
  • 1.0.6
    • Option: to remove URLs from preview text (enabled by default).
    • Option: to have only the thread title as a tweet without any part of the message.
    • Added form (in the footer) to allow admins to tweet from any page, right in their forums, with an option to disable it, also it's enabled only for super admins. Attachment 102934

How different is this from twitterfeed.com?
  • This hack is not intended to be an alternative to twitterfeed.com, however:
  • It may be safer than giving your Twitter-Login to twitterfeed.com (by redlabour)
  • Later, this hack will include more options so you have better control over what is posted at twitter. (like post only hot threads, or threads by certain usergroup, etc.)
  • You have your own application at twitter, so the tweets will be appeared from your website name, instead of any other service. Attachment 100694

Happy Users of This Product! contact me to add your twitter account.
Requirements
  • Mandatory:
    • vBulletin 3.8.0
    • PHP 5.2.3
    • cURL & OpenSSL compiled to your PHP installation.
    • Twitter account (I've created a dedicated account for my website @syrianmeds)
  • Optional (but recommended):
    • bit.ly account to shorten URLs.
    • Your forum's character set must be UTF-8 (required by twitter) or latin with no non-English characters. Alternatively, you can use the iconv built-in function to convert the encoding.

Installation
  1. Upload the files to their respective locations.
  2. Import the XML product file: product-twitterposter.xml
  3. *Optional* go to http://bit.ly/ and register an account there, you need it to shorten the URLs!
    There are two important values here: the login username and the apiKey (you can obtain it from http://bit.ly/account/)
    Attachment 100687
  4. Register your application at twitter. (You must be already registered as a regular member)
    https://twitter.com/oauth_clients/new
    Attachment 100688
    Pay attention to the Callback URL, it must point to the file twitterposter.php in your admincp, ex: http://www.yourdomain.com/forum/admincp/twitterposter.php
  5. After registering your application, twitter will provide two values to you (Consumer Key and Consumer Secret), keep them for use in the authorization later.
    Attachment 100689
  6. Go to vBulletin Tweet Poster -> Authorize.
  7. Enter the two values in there appropriate fields and submit (Attachment 100690). You will be given a link to twitter.com to authorize this hack (Attachment 100691) to post on your behave.
  8. You will be redirected to your admincp, and a "Hello World!" message will be posted to your twitter account.

Upgrade
  1. Upload the files to their respective locations.
  2. Import (Allow Overwrite: Yes!) the XML product file: product-twitterposter.xml
  3. Re-authorize the hack, to make sure everything works for you.

Troubleshooting
  • Q: I'm not seeing any updates after the one "#vBulletin Tweet Poster by http://services.milado.net/ Hello World! #testoauth".
    A: Please make sure that you have new threads in forums available to guests, otherwise the hack won't post anything.
    After that go to Admincp -> Scheduled Tasks -> Scheduled Task Manager, then find the task "vBulletin Tweet Poster" click run and see if there is any error displayed.
  • Q: I'm getting the error "Fatal error: Call to undefined function curl_init() in /home/investme/forums/includes/twitterposter/twitteroauth/twitterOAuth.php on line 126"
    A: That error says that you don't have cURL installed on your server. If you have a dedicated server/vps, install and compile curl, if you're on shared/reseller hosting, contact your host and ask if they can install cURL support. (thanks stapler2025 for answering on my behave)
  • Q: I receive the following error:

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

    A: You have to enable write & read for your application at twitter, so go here, edit your application access setting and request new consumer key and token. If it didn't work, please delete the application, add a new one and use my settings from the screen shots.

Credits
I've used the Twitter's OAuth library, by Abraham Williams | http://abrah.am | @abraham

Change log
  • 1.0.0 first public release (beta) Jun, 17th 2009
  • 1.0.1 (beta) Jun, 17th 2009
  • 1.0.2 (beta) Jun, 18th 2009
  • 1.0.3 (beta) Jun, 21th 2009
    • Implementation of iconv conversion for non-unicode forums.
    • Control threads by which usergroups will be posted to twitter.
    • Tweet threads in forums manually instead of it being automatic. Attachment 100843
  • 1.0.4 (beta) Jun, 22th 2009
    • Bug fixed: Manual tweeting doesn't show thread preview!
    • Bug fixed: Plugin overwrites the hook: $template_hook['postbit_controls']
  • 1.0.5 (beta) Jul, 23th 2009
    • Renamed function_twitterposter.php to functions_twitterposter.php
    • Moved some functions from functions_twitterposter.php to a new class in class_twitterposter.php (New PHP class is created, first step to move to OOP).
    • Canceled the redirection to twitter (on authorization), and replaced with a link opening in a new tab / window.
    • New scheduled task: Post Hot threads.
    • New: Check port 443 on installation / upgrade.
    • New: The product can't be installed if cURL isn't complied into PHP.
    • New: Update forums / usergroups / permissions cache on successful authorization, to avoid problems with some admins, where caches don't get updated on upgrade!
    • New feature: strip_html from the preview text, for forums that enable HTML in posts.
    • New feature: Delete tweet if the thread is deleted.
    • New feature: Status Message Prefix.
  • 1.0.6 (RC1) Aug, 6th 2009
    • Add phrase 'HOT:'.
    • Improve bit.ly class a bit.
    • Push the plug-in at hook (postbit_display_complete) to run lastly, to put the tweet button at the last.
    • Include an option to remove URLs from preview text.
    • Option: to have only the thread title as a tweet without any part of the message.
    • Added form (in the footer) to allow admins to tweet from any page, right in their forums, with an option to disable it, also it's enabled only for super admins. Attachment 102934
  • 1.0.7 (RC2) to be released.
    • Bug fixed: improperly cached template.
    • Bug fixed: Hot Threads Look up Time Span.
    • New feature: Include thread prefix in the tweet.

Download Now

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

Screenshots

Click image for larger version

Name:	screenshot1.jpg
Views:	6734
Size:	75.0 KB
ID:	100688   Click image for larger version

Name:	screenshot2.jpg
Views:	3049
Size:	67.9 KB
ID:	100689   Click image for larger version

Name:	screenshot3.jpg
Views:	2299
Size:	19.2 KB
ID:	100690   Click image for larger version

Name:	screenshot4.jpg
Views:	2638
Size:	37.6 KB
ID:	100691  

Click image for larger version

Name:	tweet.jpg
Views:	3849
Size:	29.4 KB
ID:	100694   Click image for larger version

Name:	forum_option.jpg
Views:	2004
Size:	14.0 KB
ID:	100710   Click image for larger version

Name:	healthy_task_messages.jpg
Views:	3343
Size:	69.2 KB
ID:	100725   Click image for larger version

Name:	postbit_button.jpg
Views:	2068
Size:	3.0 KB
ID:	100843  

Click image for larger version

Name:	settings.jpg
Views:	2449
Size:	85.2 KB
ID:	100687  

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.
  #466  
Old 31 Jan 2010, 17:36
MotMann MotMann is offline
 
Join Date: Jan 2006
a) What i must type in in "Aplication Webside"? My own URL if i register in Twitter?

b) And the manuall Twittericon ist not correct working. Then comes "failed" and the "t" don't light up, but only if i use bit.ly.
If i use normaly Twitter with the URLs, than the Icons work correct.

c) and i have in cronjob (vBulletin Tweet Poster: Hot Threads) followed problems:
6 thread(s) have been fetched from the database!
vBSEO has been detected and initialized!
UTF-8 Converting isn't enabled! (if you're already UTF-8 then don't worry!)
Array
(
[threadid] => 11463
[title] => Metro 2033 | Deutscher Trailer
[forumid] => 450
[userid] => 351
[usergroupid] => 6
[membergroupids] => 15,16
)
URL re-written by vBSEO!
http://www.xboxgamertag.de/f450-trai...r-trailer.html
Tweet: Metro 2033 | Deutscher Trailer: :thq: Fürchte die http://www.xboxgamertag.de/f450-trai...r-trailer.html
Length: 136

Array
(
[request] => /statuses/update.xml
[error] => Incorrect signature
)
Twitter message:
<?xml version="1.0" encoding="UTF-8"?>
<hash>
<request>/statuses/update.xml</request>
<error>Incorrect signature</error>
</hash>
In the Settings in the Twitteraplication i have "read & write" enable.

What can i do?

Last edited by MotMann; 31 Jan 2010 at 18:33.
Reply With Quote
  #467  
Old 01 Feb 2010, 18:09
TheBish TheBish is offline
 
Join Date: Feb 2009
Real name: Ross Bishop
Absolutely Brilliant!
Reply With Quote
  #468  
Old 03 Feb 2010, 12:45
nrms®'s Avatar
nrms® nrms® is offline
 
Join Date: Dec 2008
Real name: Nelson
I have this error when authorize:

"Can't reach twitter, either the port 443 is closed by a firewall, you didn't enter the correct Consumer Key and Consumer Secret values, or you don't have openSSL complied to your PHP installation."

But i think the port is right open and the key's it's ok.

Some suggestion...?

__________________
http://i42.tinypic.com/5k0sqe.jpg
Reply With Quote
  #469  
Old 05 Feb 2010, 06:26
L-Mane L-Mane is offline
 
Join Date: Jul 2002
Yeah, this Mod was great. Are you going to update this for VB 4?
Reply With Quote
  #470  
Old 05 Feb 2010, 20:05
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Real name: John
anyone have any idea why the status pages are coming back with the error "Sorry, that page doesn’t exist!" on twitter?
__________________
John
Reply With Quote
  #471  
Old 09 Feb 2010, 08:36
MotMann MotMann is offline
 
Join Date: Jan 2006
Is here no support?

I have deinstall the Mod.

after i install that new, i get followed mistakes:


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

Need help...

Last edited by MotMann; 09 Feb 2010 at 09:10.
Reply With Quote
  #472  
Old 09 Feb 2010, 09:16
Optimax Optimax is offline
 
Join Date: Nov 2009
how can i change "from API" ... not in this mod but normall on php can someone tell me

Last edited by Optimax; 09 Feb 2010 at 09:42.
Reply With Quote
  #473  
Old 10 Feb 2010, 05:25
AMG021 AMG021 is offline
 
Join Date: Sep 2006
Please upgrade this hack to vB4.0
Reply With Quote
  #474  
Old 13 Feb 2010, 14:36
MotMann MotMann is offline
 
Join Date: Jan 2006
Hey Milad...

What happened with support?

Yor Hack have a lot of mistakes.

What i must do, that i can deinstall your Hack from the SQL Database?
A normal deinstall is NOT working....
Reply With Quote
  #475  
Old 13 Feb 2010, 14:49
goldlogo goldlogo is offline
 
Join Date: Feb 2010
Is it in line with the forum version 3.8.4
__________________
goldlogo - forum
Reply With Quote
  #476  
Old 13 Feb 2010, 23:15
Milad's Avatar
Milad Milad is offline
 
Join Date: May 2005
Real name: Milad
Originally Posted by MotMann View Post
Hey Milad...

What happened with support?

Yor Hack have a lot of mistakes.

What i must do, that i can deinstall your Hack from the SQL Database?
A normal deinstall is NOT working....
uninstall it manually, then re-install it!
Reply With Quote
  #477  
Old 17 Feb 2010, 12:51
newsoftw newsoftw is offline
 
Join Date: Nov 2008
Real name: New Soft World
i installed the vbseo 3.5 new version on 14 Feb 2010 after that the vBulletin Tweet Poster 1.0.6 is not making any posts posted on the twitter.com before it the vBulletin Tweet Poster 1.0.6 was successfully working.

i checked all step of vBulletin Tweet Poster 1.0.6 but every thing going ok even i checked the authorization it is also successful and check the below authorization message :
You've authorized the hack successfully, enjoy more traffic and quality registrations. Check here, your application should be listed.

and also i try the manually but still not working and please check the screen shot :


my forum and twitter link :
http://www.newsoftworld.com/forums/
https://twitter.com/Newsoftworld


please help on that issue


Thanks in ADVNS
Best Regards
Admin of NSW
Ayaz Ali

Last edited by newsoftw; 17 Feb 2010 at 13:00.
Reply With Quote
  #478  
Old 17 Feb 2010, 22:52
Milad's Avatar
Milad Milad is offline
 
Join Date: May 2005
Real name: Milad
I've vBSEO and tweet poster both installed on my forum, and the tweet poster works perfectly! I don't see any reason why it would be affected by vBSEO!
Reply With Quote
  #479  
Old 18 Feb 2010, 05:18
KenDude KenDude is offline
 
Join Date: Jul 2006
Originally Posted by Simon Lloyd View Post
Firstly you have some horrendous css problems on your site, it might help if you fix those. You are using vB 3.8.4 but the copyright is missing (bound to give you problems with cron jobs), the manual tweet is for super admins only "Show Fast Tweeting Form in the Footer for Super Admins" is the option, you have to set yourself as super admin in the includes/config.php in your forum files on the server and change the line below to include your userid

$config['SpecialUsers']['superadministrators'] = '1';
Simon,
Maybe you can shed some light on the CSS problems? The person who developed the skin for us (Miner Skinz) supposedly went through our site and fixed everything up and we even ran the site against some WC3 tester utlility and it came back fine. If you are seeing a problem please let me know what it is and how to fix it.

Here is the test we just ran: http://jigsaw.w3.org/css-validator/v...lanet-9.com%2F

Second, when I look at some old (but hidden) styles that I still have on the server the manual tweet box shows up (and works) just fine for me when I am logged in and using one of those older styles including the default vb style. Can you (or the developer of this mod) explain why that would be happening???

Lastly, I did pay for a branding free option of Vbulletin, but I just noticed that the copyright isn't there, it isn't anything that I removed but I can ask my developer and the folks over at Miner Skinz if they removed it.

Thanks in advance!

Last edited by KenDude; 18 Feb 2010 at 06:07.
Reply With Quote
  #480  
Old 18 Feb 2010, 17:08
newsoftw newsoftw is offline
 
Join Date: Nov 2008
Real name: New Soft World
Originally Posted by Milad View Post
I've vBSEO and tweet poster both installed on my forum, and the tweet poster works perfectly! I don't see any reason why it would be affected by vBSEO!
i checked ur forum ( http://www.syrianmeds.net/forum/ ) and u have vbseo 3.2.0 installed but i have installed new version of vbseo 3.5.0 so after new version installion the Tweet Poster 1.0.6 working stopped.

so now what i do for that which is re-again working start ?


Thanks in ADVNS
Best Regards
Admin of NSW
Ayaz Ali
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 11:42.

Layout Options | Width: Wide Color: