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)

rrudeboy 06-23-2010 05:53 PM

Quote:

Originally Posted by rrudeboy (Post 2042689)
works great, only thing i'm looking for is a way to have only posts made by users with an X amount of posts tweeted... you know, to prevent spam tweets. (short of once again creating a usergroup)

thanks.

anybody who can help ? plz ?...

darren1981 06-23-2010 08:14 PM

Hey great mod.. but does this put much extra stress on the server ?

Dragonsys 06-24-2010 01:26 PM

Quote:

Originally Posted by rrudeboy (Post 2058342)
anybody who can help ? plz ?...

This mod will not do that currently. I do not know of any which do.

sassou2009 06-26-2010 01:13 AM

Pleeeeeeeese how to get this work on Arabic vbulletin ?:confused::confused::confused:

thesupermario69 06-30-2010 12:05 PM

Hi,

I have installed this mod and have only got it half working, so I was wondering if anyone can help me out

I get no error messages and I get a tweet posted on Twitter and a link made in bit.ly however the problem is that the tweet only has the thread title in it and then the word "Array", the bit.ly link that was created is not on the tweet. However when I login to bit.ly I can see the link that was created

Any ideas?

Thanks

Sam-TheMaster 06-30-2010 01:46 PM

wow, little hack and ready to go. I really loved this mod. Its good - Can we make option whether to post on twitter or not?

Dragonsys 06-30-2010 11:55 PM

Quote:

Originally Posted by thesupermario69 (Post 2062201)
Hi,

I have installed this mod and have only got it half working, so I was wondering if anyone can help me out

I get no error messages and I get a tweet posted on Twitter and a link made in bit.ly however the problem is that the tweet only has the thread title in it and then the word "Array", the bit.ly link that was created is not on the tweet. However when I login to bit.ly I can see the link that was created

Any ideas?

Thanks

are you using the twitter.php which is attached to this page or the one downloaded from http://classes.verkoyen.eu/twitter/

make sure you use the one attached to the mod post, the one from the link above does not work for everyone.

thesupermario69 07-01-2010 09:47 AM

Quote:

Originally Posted by Dragonsys (Post 2062477)
are you using the twitter.php which is attached to this page or the one downloaded from http://classes.verkoyen.eu/twitter/

make sure you use the one attached to the mod post, the one from the link above does not work for everyone.

Brilliant! Thank you!

I couldnt download the ones from this post yesterday so used the ones on the link instead and obviously that was the problem

Thanks again

jahna 07-01-2010 12:12 PM

I've installed it but won't work.....
Can someone help me by checking the code below? Thanks a lot!

// The array below are the ids of non-public forums, update these to be your admin forum ids or anything non-public by default
$excludedForums = array(0);

// If you are having trouble getting bitly URL shortening to work... disable it!
$useBitly = true;

if (!in_array($foruminfo[forumid], $excludedForums = array(6)) {
$shortUrl = 'http://www.mymarketingforum.ch/showthread.php?t='.$newpost[threadid];

if ($useBitly) {
// http://classes.verkoyen.eu/bitly
require_once 'bitly.php';
$bitly = new Bitly('mymafo','http://bit.ly/9nWRYw');
$shortUrl = $bitly->shorten($shortUrl);
}

$tweet = '';
if (isset($newpost['prefixid']) && $newpost['prefixid'] != '') {
$tweet = $vbphrase['prefix_'.$newpost['prefixid'].'_title_plain'].' ';
}
$tweet .= $newpost['title'].' '.$shortUrl;

// http://classes.verkoyen.eu/twitter/
require_once 'twitter.php';
$twitter = new Twitter('mymafo','xxxxxxxxx');
$twitter->updateStatus($tweet);
}

Numenorean7 07-05-2010 01:19 AM

It works great, thanks a bunch :)


All times are GMT. The time now is 05:33 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.01730 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)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