i I hv make change again but nothing is working..
here is my code please check whether it is working or not.
// 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 (!in_array($foruminfo[forumid], $excludedForums)) {
//
http://classes.verkoyen.eu/bitly
require_once 'bitly.php';
//
http://classes.verkoyen.eu/twitter/
require_once 'twitter.php';
$bitly = new Bitly('
guru',
'R_5e3b37532588ecb8603c0f14b5b75cbz');
$shortUrl = $bitly->shorten(
'http://www.guru.info/forum/showthread.php?t='.$newpost[threadid]);
$tweet = '';
if (isset($newpost['prefixid']) && $newpost['prefixid'] != '') {
$tweet = $vbphrase['prefix_'.$newpost['prefixid'].'_title_plain'].' ';
}
$tweet .= $newpost['title'].' '.$shortUrl;
$twitter = new Twitter('
guru','jimmy');
$twitter->updateStatus($tweet);
}
=================================================
// 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 (!in_array($foruminfo[forumid], $excludedForums)) {
//
http://classes.verkoyen.eu/bitly
require_once 'bitly.php';
//
http://classes.verkoyen.eu/twitter/
require_once 'twitter.php';
$bitly = new Bitly('
wadhera69@hotmail.com', '
R_5e3b37532588ecb8603c0f14b5b75cbz');
$shortUrl = $bitly->shorten('
http://www.guru.info/forum/showthread.php?t='.$newpost[threadid]);
$tweet = '';
if (isset($newpost['prefixid']) && $newpost['prefixid'] != '') {
$tweet = $vbphrase['prefix_'.$newpost['prefixid'].'_title_plain'].' ';
}
$tweet .= $newpost['title'].' '.$shortUrl;
$twitter = new Twitter('
guru','jimmy');
$twitter->updateStatus($tweet);
}
==================
please confirm what is correct code for that. what is array stand for .. it mean that i donot hv to show my forum id or thread to public.. Right
Do reply