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

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
Reply With Quote
  #78  
Old 06-13-2002, 04:29 AM
ariaforums ariaforums is offline
 
Join Date: Nov 2001
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im still getting message:

Connection refused (111)

Whats causing this?
Reply With Quote
  #79  
Old 06-13-2002, 07:30 AM
nitro nitro is offline
 
Join Date: Nov 2001
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #80  
Old 06-13-2002, 01:45 PM
Demascus's Avatar
Demascus Demascus is offline
 
Join Date: Dec 2001
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me still cant get it working
Reply With Quote
  #81  
Old 06-13-2002, 06:39 PM
KarateKid's Avatar
KarateKid KarateKid is offline
 
Join Date: Oct 2001
Location: Sydney
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

just one question.

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

Greetings
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 11:38 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.04928 seconds
  • Memory Usage 2,333KB
  • Queries Executed 25 (?)
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
  • (4)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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