Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Irc post Notifier -no eggdrop Details »»
Irc post Notifier -no eggdrop
Version: 1.00, by dymo dymo is offline
Developer Last Online: Jun 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-03-2002 Last Update: Never Installs: 62
Is in Beta Stage  
No support by the author.

this is a hack in progress but i had a few people who saw us testing and after alot of begging i finally caved, (I know I am weak)

So I decided to release the current version, expect a major update on it tommorrow with a few more options.

What this hack does is allow you to specify either which forum or all forums you wish to monitor and either monitor new threads or new replies, and send a notice to an irc channel when a new thread or reply is posted. Without requiring an eggdrop bot, this is 100% php, and works on servers running php in safe mode.



Its fully configurable, a fair amount of options in the admin panel for this, more to come tommorrow



i am attaching the installer on this post and the other two REQUIRED files in the next two posts.

just upload the installer to your admin directory and run install_ircaddon.php and follow the prompts and make the changes to newreply.php, newthread.php, and admin/index.php

easy enough

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 06-11-2002, 04:26 PM
Demascus's Avatar
Demascus Demascus is offline
 
Join Date: Dec 2001
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do i use the eggdrop version i dont understand
Reply With Quote
  #63  
Old 06-11-2002, 05:04 PM
nitro nitro is offline
 
Join Date: Nov 2001
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

get the files to this hack install the hack as directed

get the modded irc.php from donq's post previous page

upload that irc.php instead of the 1 in the origional hack post

create a tcl file with the contents of donq's code which u load 2 the eggdrop like ne other tcl script

in vb admin cp u now have a irc mod section

in there 4 the server put the ip yer bot is on and the port is set to 1337 in the tcl save

voila shud work

like i say tho be nice to c the reply announcer work proply showing the forum name

and i think it wud be better to be able to exclude certain forums rather than just be able to specify 5 diffferent forums
Reply With Quote
  #64  
Old 06-11-2002, 05:46 PM
nitro nitro is offline
 
Join Date: Nov 2001
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

or perhaps a checkbox that wen we want we just disable the announce 4 a particular post
Reply With Quote
  #65  
Old 06-11-2002, 05:48 PM
Broekie's Avatar
Broekie Broekie is offline
 
Join Date: Dec 2001
Location: Netherlands
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't want eggdrop, I want Dymo's updated script! :classic:
Reply With Quote
  #66  
Old 06-11-2002, 07:29 PM
Demascus's Avatar
Demascus Demascus is offline
 
Join Date: Dec 2001
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what about if i dont have an eggdrop bot how do i get one
Reply With Quote
  #67  
Old 06-11-2002, 08:04 PM
Demascus's Avatar
Demascus Demascus is offline
 
Join Date: Dec 2001
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tried all this none of it works
Reply With Quote
  #68  
Old 06-11-2002, 08:45 PM
nitro nitro is offline
 
Join Date: Nov 2001
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

jakex get eggdrop from www.eggheads.org but u need a linux box or shell to run it

or u cud try windrop a port to windows of eggdrop which u can also add tcl scripts

to use this with eggdrop i think you need a host that supports fsock
Reply With Quote
  #69  
Old 06-12-2002, 04:24 AM
Demascus's Avatar
Demascus Demascus is offline
 
Join Date: Dec 2001
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

isnt it possible to get this hack working without a eggdrop?
Reply With Quote
  #70  
Old 06-12-2002, 04:41 AM
Broekie's Avatar
Broekie Broekie is offline
 
Join Date: Dec 2001
Location: Netherlands
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by JakeX
isnt it possible to get this hack working without a eggdrop?
It is, but in that case you can better wait for Dymo's update.

Come on Dymo, share it with us!!!
Reply With Quote
  #71  
Old 06-12-2002, 08:11 AM
nitro nitro is offline
 
Join Date: Nov 2001
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #72  
Old 06-12-2002, 08:26 AM
Broekie's Avatar
Broekie Broekie is offline
 
Join Date: Dec 2001
Location: Netherlands
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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'...
Reply With Quote
  #73  
Old 06-12-2002, 01:39 PM
dong dong is offline
 
Join Date: May 2002
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #74  
Old 06-12-2002, 02:19 PM
dong dong is offline
 
Join Date: May 2002
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #75  
Old 06-12-2002, 04:54 PM
nitro nitro is offline
 
Join Date: Nov 2001
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #76  
Old 06-12-2002, 05:36 PM
nitro nitro is offline
 
Join Date: Nov 2001
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06013 seconds
  • Memory Usage 2,378KB
  • Queries Executed 30 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete