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)

imported_nimbus 01-30-2010 03:08 AM

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! :)

LbR 01-30-2010 06:35 AM

This tool is insane, I get 500+ Guests after every thread is posted woha!! thanks man

Athena1984 01-30-2010 06:35 AM

Quote:

Originally Posted by Jesh (Post 1969942)
I had the same issue, was missing a closing } at the end, did not copy/paste correctly from the code. I'm surprised it didnt give me an error with the statement not being closed.


Oh, it works now! Thanks Jesh!:)

murekhalir 01-30-2010 06:40 AM

This is SEXY.

tobe12 01-30-2010 08:28 AM

I enabled CURL in Apache, and now this Mod is working for be . Thank you very much.

buro9 01-30-2010 08:49 AM

What fun getting this stuff working.

So it all seems to boil down to making sure:
1) CURL is installed and enabled for PHP
2) JSON is enabled
3) You've put the right values in the plugin
4) The moon cycle is aligned with mars

Works a dream once you get past your environment's issues though.

I'm still looking for someone to help package this if people would like that.

JADM 01-30-2010 10:18 AM

Outstanding! Thank you.

I had no problems whatsoever in making this work...however, I did take a little bit of time to figure out what needed to be inserted into the plugin code. To save anyone else the extra few minutes, you are basically just replacing the info in between the < > symbols.

Videx 01-30-2010 12:34 PM

Quote:

Originally Posted by JADM (Post 1970370)
To save anyone else the extra few minutes, you are basically just replacing the info in between the < > symbols.

Uh no. You're supposed to replace the <> symbols AND everything between them.

PS I am not seeing any sort of influx of guests; certainly not 500. But then we've never had a presence and have few followers. Not sure what we could do with 500 lurkers knocking about anyway.

lovechandigarh 01-30-2010 12:42 PM

Great! Working at http://twitter.com/love_punjab for http://www.lovepunjab.com

Nordinho 01-30-2010 02:55 PM

Quote:

Originally Posted by buro9 (Post 1970333)
4) The moon cycle is aligned with mars

Damn, forgot that ;)


All times are GMT. The time now is 10:29 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.01427 seconds
  • Memory Usage 1,735KB
  • 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
  • (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