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)

TaP 06-19-2002 08:41 PM

well when i make a post, i have my eggdrop in the chan and everyhiing...the post goes thru and up on the board...but there is no announcement in the irc chan :( ...

Pady 06-20-2002 05:53 AM

thanks , i am using it on my board ;)

[high]* Pady installed it ;)[/high]

nitro 06-20-2002 01:57 PM

hi donq glad to c u have started yer own thread

as u know i installed your eggdrop mod from the -no eggdrop thread

just a small question

have my bugs been addressed with yer hack

1. get duble announce on sum forums mainly with an id 20+
2. forum that i have not specified is announcing tho others that i have not specified are cool
3.on reply the forum name is not displayed in the announce

apart from these as u know i have it working gr8
an the hack is the coolerst 1 yet

Juanito 07-10-2002 08:43 PM

The hack is working for me, new thread is created and post annouced on irc but we aren't taked back to the thread, we stay stiucked on a white page.

----edited---

Nevermind, I forgot that you should modify the newthread.php in two places, witch was not specified in the install file I think... All working perfectly now, awesome hack :D

Juanito 07-12-2002 01:05 AM

OK, one more thing! Now that I got it working perfectly, I don't understand how to custumize the way the IRC messages looks. What should I do if I want the text not inverted, blue or green with only the username, title and forum in bold ?


I assume this is in those parts of irc.php, but I don't understand how I should modify it...

PHP Code:

 fputs($fp,"\002[\00311,01X\00300,01]\002 New thread in: \002".$forumname[title].".\002 Poster: \002".$postusername.".\002 Subject: \002 ".$subject.". \002 \002[\00311,01X\00300,01]\002 \n\n");
        for(
$i=0;$i<3000000;$i++) 


redline 07-14-2002 08:38 PM

hello i installed this hack
but its not notifing new threads

i have modified this in newthread.php

$goto="forumdisplay.php?s=$session[sessionhash]&forumid=$forumid";
}
// irc addon
$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_p ostthanks")."\",\"$goto\");");
} else {
//create new thread

vyrusmulder 07-30-2002 07:09 AM

can i install it on a 2.2.1 vbulletin ???

dong 08-12-2002 02:58 PM

yes

Frank 08-13-2002 09:40 PM

I have:
newthread.php
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");
                    }
                }
            }
      
// 

and newreply.php:

PHP Code:

      // irc addon
      
$ircdata $DB_site->query_first("SELECT * FROM ircaddon");
             if(
$ircdata[ircreply] == "1") {
                 
$Action "reply";
                
$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");
                    }
                }
            }
      
// 

All requests still get handled by the
PHP Code:

   else if($Action == 'reply'

branch of the code, regardless of whether the action is 'new'

Regardless of whether a new thread is started or a reply to an existing thread is posted, I always get the same message on IRC of:

[23:37] (@cyoot): {New reply in: Subject: Mac Users. Thread starter: Ali H, New poster: Frank. }

Note "new reply", never says "new thread".

Also, how can the braces around it be removed.

Also, why does the forum name not show up?

Thanks.

draven 09-05-2002 07:33 PM

The hack works really great. Could one easily make a direct link to the post/thread?


All times are GMT. The time now is 08:00 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.01167 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
  • (4)bbcode_php_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