vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - WS vBulletin Tweet Poster (https://vborg.vbsupport.ru/showthread.php?t=236278)

Videx 09-15-2010 03:23 PM

Quote:

Originally Posted by Dave-M (Post 2098549)
Unless, like us, you have a Joomla/other CMS front end and want to firstly notify the forums of a new article, and then tweet the notification via twitter.

Good point. Yes, if you're getting a whole lot of new original articles all the time then I can see where some sort of automation may be desired. But usually when people ask for this sort of thing it's because they have automated feeds coming in from elsewhere, and they just want to pass them through as if it's their own material. Out of curiosity, how many original articles per day do your members write? And what is your secret? I can't get my members to write anything. Well, nothing that shouldn't just be a new thread and not an article.

theoutlawed 09-17-2010 03:57 AM

Works great in 4.0.7 with no issues at all. Thanks for a useful mod to help build up the ole Twitter.

Mosh 09-18-2010 01:26 AM

Update: v4.0.004
-- Updated: Installation/Upgrade/Removal Instructions file
-- Updated: Screenshots
-- Fixed: Tweets for new replies now correctly use the AdminCP's timezone offset setting along with DST settings for the timestamp
-- Added: AdminCP Options to also use the TinyURL and tli.td url shortening services
-- Added: Automatic check to see if tweet is longer 140 characters or not (and post tweet if not)
-- Added: Automatic truncate tweet title text in the tweet if the tweet (including the URL) exceeds 140 characters
-- Added: Automatic check to see if number of hourly calls to the Twitter OAuth API has been exceeded or not (and post tweet if not)
-- Added: Ability to use vBulletin "Friendly URLs" (available in vBulletin 4 and later only) or just plain URLs
-- Added: All files needed for this hack in one package (no longer necessary to download other class files separately any more)

msyahrizan 09-18-2010 12:48 PM

it will be great if function like this have at Facebook..when new thread open,it will post new posting at Facebook fanpage

newsoftw 09-18-2010 07:38 PM

thanks mr. mosh for releasing new version.

i successfully installed this mod and working fine for me with all URL shortening except bit.ly coz bit.ly URL shortening not working and giving fatal error.

i put the bit.ly Username and bit.ly API key but giving error when we submitted any thread and at this time i change URL shortening from bit.ly to TinyURL

below fatal error which giving me:



{"errorCode": 0, "errorMessage": "", "results": {"http://www.newsoftworld.com/forum/showthread.php?t=48387": {"userHash": "cz0TUO", "hash": "antRKI", "shortUrl": "http://bit.ly/cz0TUO", "shortCNAMEUrl": "http://bit.ly/cz0TUO", "shortKeywordUrl": ""}}, "statusCode": "OK"}Invalid JSON-response on line 196 in /var/www/vhosts/newsoftworld.com/httpdocs/forum/includes/bitly.php
#0 /var/www/vhosts/newsoftworld.com/httpdocs/forum/includes/bitly.php(382): Bitly->doCall('shorten', Array)
#1 /var/www/vhosts/newsoftworld.com/httpdocs/forum/newthread.php(274) : eval()'d code(26): Bitly->shorten('http://www.news...')
#2 /var/www/vhosts/newsoftworld.com/httpdocs/forum/newthread.php(274): eval()
#3 /var/www/vhosts/newsoftworld.com/httpdocs/forum/vbseo.php(1392): require('/var/www/vhosts...')
#4 {main}


Fatal error: Invalid JSON-response on line 196 in [path]/includes/bitly.php in [path]/vb/vb.php on line 287
#0 vb_error_handler(256, Invalid JSON-response on line 196 in /var/www/vhosts/newsoftworld.com/httpdocs/forum/includes/bitly.php , /var/www/vhosts/newsoftworld.com/httpdocs/forum/vb/vb.php, 287, Array ([exception] => BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/includes/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/includes/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://www.newsoftworld.com/forum/sh...ad.php?t=48387,[history] => 1))),[1] => Array ([file] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/newthread.php(274) : eval()'d code,[line] => 26,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://www.newsoftworld.com/forum/sh...ad.php?t=48387)),[2] => Array ([file] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/newthread.php,[line] => 274,[function] => eval),[3] => Array ([file] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/vbseo.php,[line] => 1392,[args] => Array ([0] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/newthread.php),[function] => require))),[code] => 256)) #1 trigger_error(Invalid JSON-response on line 196 in /var/www/vhosts/newsoftworld.com/httpdocs/forum/includes/bitly.php , 256) called at [/var/www/vhosts/newsoftworld.com/httpdocs/forum/vb/vb.php:287] #2 vB::handleException(BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/includes/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/includes/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://www.newsoftworld.com/forum/showthread.php?t=48387,[history] => 1))),[1] => Array ([file] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/newthread.php(274) : eval()'d code,[line] => 26,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://www.newsoftworld.com/forum/showthread.php?t=48387)),[2] => Array ([file] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/newthread.php,[line] => 274,[function] => eval),[3] => Array ([file] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/vbseo.php,[line] => 1392,[args] => Array ([0] => /var/www/vhosts/newsoftworld.com/httpdocs/forum/newthread.php),[function] => require))))


please how i can fix it


thanks

Videx 09-18-2010 08:00 PM

Quote:

Originally Posted by newsoftw (Post 2100160)
i successfully installed this mod and working fine for me with all URL shortening except bit.ly coz bit.ly URL shortening not working and giving fatal error.

The answer is right there in post #1:
Quote:

Question:
I see an "INVALID_JSON" error
Answer:
Select is.gd, TinyURL or tli.td in your AdminCP Options instead of bit.ly for url shortening.


onehost 09-19-2010 02:46 AM

Comma separated list of forumids allowed to be included when vBulletin posts to twitter.

Well isnt this a chore...? Would it not have been better just to exclude the
forums rathering then listing 50+ that it will include? I can exclude 3, but
rather having that option, I have to list 47 that I want to include...

Working like a charm, but have to take some time to add all the forums to the include...

Videx 09-19-2010 02:59 AM

The author has already included an exclusion list in the next release. Whew!

onehost 09-19-2010 03:03 AM

I can not it even posts private or admin sections unless you tell it not too...

I have never been a big fan of twitter or faceback...but once I saw the original
thread then I remembered I had a twitter name already setup not in use, so
I thought I would give this a try...it could not hurt i guess...

onehost 09-19-2010 03:38 AM

holy cow...I made my first twit post via the forum, and now I have 25 random spiders viewing that only twit thread that I made...wow...Its not unusal to have so many spiders, what I find interesting is that every single one is looking at that post only...
and another thing I find interesting is they are random spiders, normally they are like one spider or another, but these are
90% random/different spiders....


All times are GMT. The time now is 10:56 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01456 seconds
  • Memory Usage 1,761KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete