vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - vBulletin to Twitter, live tweets of new threads (https://vborg.vbsupport.ru/showthread.php?t=234288)

Bob_R 05-29-2010 01:11 PM

Quote:

Originally Posted by momon (Post 2043036)
This is for ppl reporting problems with json still, after reading through the thread, this post in particular finally solved things for me and the plugin is working wonderfully now.

https://vborg.vbsupport.ru/showthrea...=234288&page=7

Where? After line 136?

carrlos 05-29-2010 09:32 PM

Installed. Works perfectly.

An "include" forums option would be great for those of us who have less forums we'd like to include than exclude. ;)

Bob_R 05-29-2010 10:42 PM

I actually got it to work except for one little thing.

When you click the shortened link (is.gd) on Twitter you're directed to my site and and get this message:

No Thread specified. If you followed a valid link, please notify the administrator

Videx 05-30-2010 12:08 AM

Quote:

Originally Posted by carrlos (Post 2045278)
An "include" forums option would be great for those of us who have less forums we'd like to include than exclude. ;)

Simply remove the bang (! - exclamation point) from the line near the beginning to make it an inclusion list.
Quote:

if (!in_array($foruminfo[forumid...

jbd 05-31-2010 06:58 AM

Still getting the error "cannot view XML input using xsl stylesheet"... Sounds like something simple. Any ideas?

Videx 05-31-2010 07:28 AM

Quote:

Originally Posted by jbd (Post 2045905)
Still getting the error "cannot view XML input using xsl stylesheet"... Sounds like something simple. Any ideas?

I believe that's a viewer problem. Can you verify you've tried viewing the feed in several different browsers? Do they all give you the same error?

kefallon 05-31-2010 08:17 AM

Look i know i should check the preceding 27 pages but could someone in the know tell me if this issue is fixed yet??
Quote:

statuses/update.xml Could not authenticate you. Unauthorized on line 229 in /var/www/vhosts/ionian-island.co.uk/httpdocs/forums/twitter.php
#0 /var/www/vhosts/ionian-island.co.uk/httpdocs/forums/twitter.php(648): Twitter->doCall('statuses/update...', Array, true)
#1 /var/www/vhosts/ionian-island.co.uk/httpdocs/forums/newthread.php(262) : eval()'d code(26): Twitter->updateStatus('test http://www...')
#2 /var/www/vhosts/ionian-island.co.uk/httpdocs/forums/newthread.php(262): eval()
#3 {main}
if not any other suggestions i would really like to get the ability to tweet messages from my board working.

jbd 05-31-2010 08:55 AM

was using IE... I didn't try in another browser. Obv it would be useless if it only worked in Firefox anyway. But I am sure it is supposed to work in IE and there is something else going on here. I am using a custom skin on my forum, but then most of us probably are. Maybe it is something to do with the doctype specified in some of the CSS templates, or something similar? Just a guess. Any ideas welcomed...

Videx 05-31-2010 11:43 AM

Quote:

Originally Posted by jbd (Post 2045929)
was using IE... I didn't try in another browser. Obv it would be useless if it only worked in Firefox anyway.

Clearly you missed my point entirely, and apparently you aren't used to testing things in different browsers. Sorry, but that's not how forum administration works. You need to immediately install Firefox, Chrome, Safari, and Opera and get used to trying things out in a few of them, both logged in and not logged in.

In this particular case you would have immediately seen that the problem is not with vb or this mod. OTOH, if you saw this in every reader you tried, I'd say we need a link to try it for ourselves.

And to kefallon: No, I don't think there has ever been a good solution to Twitter "could not authenticate" errors. But I wouldn't take my word for it and would slog through all the pages anyway.

Bob_R 05-31-2010 10:22 PM

Quote:

Originally Posted by imported_nimbus (Post 1970242)
Let me share my solution.

bitly.php:
I set the following Curl options:
$options[CURLOPT_FOLLOWLOCATION] = false;
$options[CURLOPT_HEADER] = false;

and for twitter.php:
$options[CURLOPT_FOLLOWLOCATION] = false;

Then all error messages gone! :)

Sure it's not true for the first and third one?

Still doesn't work. :down:


All times are GMT. The time now is 09:15 PM.

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.01690 seconds
  • Memory Usage 1,745KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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