K, sorry I am new here.
Btw it's easy to get replies working too:
<Lamestbot> NEW -> Topic by pmania: in Main Forum
<Lamestbot> Message -> show this please
<Lamestbot> Read more -> you forums url goes hereshowthread.php?t=
It doesn't show everything yet, but it works already.
I did this on newreply.php:
Open: /forum/newreply.php & Find:
require_once('./includes/functions_bigthree.php');
Under add:
require_once('./includes/functions_ircpost.php');
Still in /forum/newreply.php Find:
$newpost['posthash'] = $posthash;
Below add:
// IRC egg POST announce vars
$postusername=$newpost['username'];
// ###### YOU NEED TO EDIT THE FOLLOWING LINE ########
$post[wwwpath]='you forums url goes here';
// ###### YOU NEED TO EDIT THE ABOVE LINE ########
$checkirc=iRC_check($foruminfo['forumid']);
$color=$checkirc[irccolor];
$chan=$checkirc[ircchan];
$data="$newpost[message]";
$linebreak="70"; // How many char's before adding the tail full words are not broke
$splitter=" ";
$tail="...";
$data=ereg_replace ("\n", " ", $data);
$data=strip_bbcode($data);
$data=iRC_limitchr($data,$linebreak,$splitter,$tai l);
// IRC egg POST announce vars EnD
Still in /forum/newreply.php Find:
eval(print_standard_redirect('redirect_postthanks' ));
}
Above add:
// IRC egg POST announce
if ($foruminfo['ircpost'])
{
$text .= "\003$color\002NEW\002\003 -> \003$color\002Topic\002\003 by\002 $bbuserinfo[username]\002: \037$newpost[title]\003\037 in \003$color\002$foruminfo[title]<br>";
if ($foruminfo['ircmsg'])
{
$text .= "\003$color\002Message\002\003 -> $data <br>";
}
$text .= "\003$color\002Read more\002\003 -> $post[wwwpath]showthread.php?t=$newpost[threadid]";
iRC_send($chan,$text);
}
// IRC egg POST announce END