Quote:
Originally Posted by dong
Irc thread Notifier -With eggdrop [VB 2.2.x > 2.3.x]
https://vborg.vbsupport.ru/show...&threadid=39974
################################################## ###################
for installation on VB 3.x.x
the only things that are different are the placement of the code-adds
to /newthread.php and admin/index.php. the code-add of /newthread.php
itself stays the same. admin/ircaddon.php, /irc.php and the required
sql query also stays the same.
since i dont have vb3 i cant check. if anyone tell me where the
code should be in vb3, i will add it to this install text
--
|
Looks to me like the whole thing needs a re-write for vb3 gold +
admin coding is completely different to start
At a guess id say in new thread.php your looking for is:
PHP Code:
// ### NOT PREVIEW - ACTUAL POST ###
if ($newpost['postpoll'])
{
$url = "poll.php?$session[sessionurl]t=$newpost[threadid]&polloptions=$newpost[polloptions]";
}
else if ($newpost['visible'])
{
$url = "showthread.php?$session[sessionurl]p=$newpost[postid]#post$newpost[postid]";
}
else
{
$_REQUEST['forceredirect'] = 1;
$url = "forumdisplay.php?$session[sessionurl]f=$foruminfo[forumid]";
}
and in admincp/index.php find:
PHP Code:
if (can_administer('canadminstyles'))
and above it add:
PHP Code:
construct_nav_option("Modify/Enable/Disable IRC", 'ircadmin.php?do=settings', '<br />');
construct_nav_group("IRC", '<hr />');
However this will not get it working as admin functions are called in a completely different manner now so ircadmin.php is useless without a full re-write and iv yet to digest wether irc.php and the code to add in newthread.php also needs re-write
Im really not that advance in coding tho iv np adding hacks
Id be interested to see what dutchman has got so far and maybe I could help out with the tcl