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 -With eggdrop (https://vborg.vbsupport.ru/showthread.php?t=39974)

dong 06-18-2002 02:18 AM

Quote:

Originally posted by mADmAX`
I have the eggdrop installed and everything as you stated.

I run the script from IE6 and get Connection refused (111)

When I make a post in the category # I choose, it takes a little while then it redirects but does not come to the channel and notify. I have it pointed at the eggdrop ip and port as stated also. What could the problem be.

read the last bit of my post, try another port...

dong 06-18-2002 02:22 AM

Quote:

Originally posted by mADmAX`
Well, I didnt make the changes in newreply and new thread to the changes for this way, so I just did (dont know if they are the same).

I get a parse error and wondering something...

$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");
}


"Seems theres two } 's missing but I do not know where they belong?"

this is the part of my newthread.php
PHP Code:

        $goto="showthread.php?s=$session[sessionhash]&threadid=$threadid";
      } else {
        
$goto="forumdisplay.php?s=$session[sessionhash]&forumid=$forumid";
      }
// 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");
                    }
                }
            }
      eval(
"standardredirect(\"".gettemplate("redirect_postthanks")."\",\"$goto\");");
    }
  }
}

// ############################### start new thread ###############################
if ($action=="newthread") {

//  $foruminfo=getforuminfo($forumid);
  
$message htmlspecialchars($message); // Without this, a </textarea> in the message breaks the form on preview
  
$subject htmlspecialchars($subject); 

this is something u can compare with
it runns exellent with my crap
but
i know there are some problems with newreply, but thats of later concern, it should notfiy whit the ++++ i gave u, unless u got connection refused..

mADmAX` 06-18-2002 08:04 AM

Quote:

Originally posted by ModshackUK
Any chance of a txt version of the instructions as the text is getting mixed up with the installer and its causing me loads of parse errors.

Also for those who use quick reply this will not work as it will bypass it if a member uses it to make a reply to a thread.

HM

dong has overlooked an error in the install script...thus why you getting the parse errors...

Change this:
{
require("irc.php");
}

to:
{
require("irc.php");
}
}
}

Also, the newreply.php check for action=xxx

Another error is it should =="reply" not "new"

BTW, I am in no way putting your work down dong, I am just trying to help others with the same probs I went through. I also got it to work .... yippie :)

Floris 06-18-2002 09:02 AM

Does eggdrop need to run on the same server as the web server ? Because I have a seperate shell for eggdrop on a different server then the web server where I will run the .php files.

mADmAX` 06-18-2002 09:14 AM

No, I am running it on two different servers.

dong 06-18-2002 12:03 PM

Quote:

Originally posted by mADmAX`


dong has overlooked an error in the install script...thus why you getting the parse errors...

Change this:
{
require("irc.php");
}

to:
{
require("irc.php");
}
}
}

Also, the newreply.php check for action=xxx

Another error is it should =="reply" not "new"

BTW, I am in no way putting your work down dong, I am just trying to help others with the same probs I went through. I also got it to work .... yippie :)

yea, thx for showing me the error, i thought those } were already in the original script, sometimes i cant see the forest through the tree's :P

i updated the zip

dong 06-18-2002 12:41 PM

Quote:

Originally posted by ModshackUK
Any chance of a txt version of the instructions as the text is getting mixed up with the installer and its causing me loads of parse errors.

Also for those who use quick reply this will not work as it will bypass it if a member uses it to make a reply to a thread.

HM


added an installation.txt which include the script hacks
its in the new zip

ModshackUK 06-18-2002 02:26 PM

Quote:

added an installation.txt which include the script hacks
its in the new zip
I have looked at the new zip and can not find it ?

HM

TaP 06-19-2002 06:25 PM

anyone got this to work at all?

mADmAX` 06-19-2002 07:28 PM

yes I have...whats your prob, maybe I can help you as I had lots of probs but I did get it working :)


All times are GMT. The time now is 07:55 AM.

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.01338 seconds
  • Memory Usage 1,757KB
  • 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
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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