vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Irc post Notifier -no eggdrop (https://vborg.vbsupport.ru/showthread.php?t=38205)

Broekie 06-12-2002 08:26 AM

Quote:

Originally posted by nitro
if u have an irc # then eggdrop is the best bot to run and if u can run eggdrop try windrop
there are a lot of addon scripts to enhance yer eggdrop/windrop

[offtopic]
I disagree. The best bots are the ones you write yourself, 'cause the do just what you want them to do :)
And even if you can't write one yourself, eggdrop isn't the best bot. It's the most commonly used bot, I must agree with that, but that doens't make it the best...
I always used the Dancer SE 5.0 bot, but it died at 1 januari 2002 (and we started joking: It isn't y2k2 compliant), and restarting (and even kicking) it didn't help :cry:. A little bit of research showed us that it was due to the very trashy server (a linux server with a not so stable kernel which can't be updated). So we tried it at a windows 2k server, and that worked. But, in memory of our good friend CyberFriend/Joey/Stimpy (all the names the bod has had ;)), we dicided to forget about the bot.
[/offtopic]

But, we are willing to try out Dymo's script, and so still eagerly waiting for his 'major update'...

dong 06-12-2002 01:39 PM

a bud of mine fixed the multiple specific forum thing

u need my modded ircadmin.php

and alter the following:

with phpmyadmin: go to the table ircaddon; u have to change ircforum from: int(20) default NULL
to
type: mediumtext Null: No_null Default: "" ( remove NULL)

where u added the hack in newthread.php, replace it with the following:
PHP Code:

      // Create a notice on irc channel
            
      
$ircdata $DB_site->query_first("SELECT * FROM ircaddon");
             if(
$ircdata[ircthread] == "1") {
                 
$Action "new";
                
$fid trim($ircdata[ircforum]);
                
$ircforum=explode(" "preg_replace("/[[:space:]]+/"" "$fid) );
                while (list(
$key,$val)=each($ircforum)) 
                {
                    if ((
strstr(" ".$forumid," ".trim($val))!="") || ($ircdata[ircforum] == 0))
                    {
                        require(
"irc.php"); 

same for newreply.php:
PHP Code:

      $ircdata $DB_site->query_first("SELECT * FROM ircaddon");
             if(
$ircdata[ircthread] == "1") {
                 
$Action "new";
                
$fid trim($ircdata[ircforum]);
                
$ircforum=explode(" "preg_replace("/[[:space:]]+/"" "$fid) );
                while (list(
$key,$val)=each($ircforum)) 
                {
                    if ((
strstr(" ".$forumid," ".trim($val))!="") || ($ircdata[ircforum] == 0))
                    {
                        require(
"irc.php"); 

now u can add multiple forumids seperated with a space, like
5 12 15 16 3 61 11

dong 06-12-2002 02:19 PM

Quote:

Originally posted by nitro
yes jakex it can work without eggdrop just install the origional hack

but if u read this whole thread u will find 2 potential problems

1. the hack has bugs with certain ircd's
2. not all hosts will support the feature of executing a bot

i have problem #2 but im on a damn fine host an the eggdrop version works sweet 4 me and as im running a few eggs neway it was little hassle to give it a go

if u have an irc # then eggdrop is the best bot to run and if u can run eggdrop try windrop
there are a lot of addon scripts to enhance yer eggdrop/windrop

yea, but problem 2 is more the specific problem that the host doesnt allow to open a port on 6667
on my host port 1337 is allowed, as on most hosts

also dymo's version (without eggdrop) has to connect to an ircd everytime a newthread/reply is made this take alot of time
even if u get it to run with +d , it will use alot more bandwide/load on your host

so i thing With eggdrop or windrop is the best sollution, but then u also need eggdrop skills :P

nitro 06-12-2002 04:54 PM

the new multiple forum specific mod seems to work ok with a quik test

thx donq an yer bud

still if it shows ne probs ill repost

i did have the idea of having radio buttons to enable and disable the announce feature for admin/mods with default enabled

dunno if this wud work

i have np with the html adding radio button code to a template but i have to little knowledge of php to make them function as they are required

if ne1 can help write this portion id be interested an appreciative

nitro 06-12-2002 05:36 PM

ok i have a slight problem/bug since installing the multiple forum specific mod

i am getting a double announce it seems to be only happening with forums that have an id greater than 19

i have noticed this bit of code is allready in newthread.php

PHP Code:

eval("standardredirect(\"".gettemplate("redirect_postthanks")."\",\"$goto\");"); 

but its still doing it even tho iv removed the xtra instance of that code

dong 06-12-2002 08:24 PM

Quote:

Originally posted by nitro
ok i have a slight problem/bug since installing the multiple forum specific mod

i am getting a double announce it seems to be only happening with forums that have an id greater than 19

i have noticed this bit of code is allready in newthread.php

PHP Code:

eval("standardredirect(\"".gettemplate("redirect_postthanks")."\",\"$goto\");"); 

but its still doing it even tho iv removed the xtra instance of that code

your right, that shouldnt be there twice, i updated my post

did u also alter the colum ircforum in table ircaddon with phpmyadmin?
int(20) should be changed to mediumtext

ariaforums 06-13-2002 04:29 AM

Im still getting message:

Connection refused (111)

Whats causing this?

nitro 06-13-2002 07:30 AM

yes i did the mod to the dbase incorrectly 1st but i corrected my error an reset the specified forums

also noticed this mornin wen i cum onlie the announce has announce a forum i have not included so for sum reason its only partially workin

the main forum i was bothered about was admin which doesnt seem to announce but i also excluded my mod area yet that has announced

Demascus 06-13-2002 01:45 PM

/me still cant get it working

KarateKid 06-13-2002 06:39 PM

Hi,

just one question.

Is this hack ready for installation, and does it work without bugs?

Greetings


All times are GMT. The time now is 05:48 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.01043 seconds
  • Memory Usage 1,768KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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