vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   IRC Manager ( without Eggdrop/Mirc ) (https://vborg.vbsupport.ru/showthread.php?t=99758)

Jenta 11-19-2005 06:18 PM

For those having problems with the bot joining the channel, install cgi-irc and see if you can join your channel. Perhaps your host has IRC ports blocked. Perhaps it's bad routing.
Here's a link to cgi-irc...
http://prdownloads.sourceforge.net/c...iirc-0.5.7.zip

After chmodding the cgi files, all you have to do is set these values in cgiirc.config. Then call irc.cgi and see if you can connect/join your channel

Quote:

# seperate the servers with commas.
default_server = irc.blitzed.org
default_port = 6667
# Channel(s) to allow access to, a comma seperated list
default_channel = #cgiirc

Mith 11-28-2005 09:23 AM

Quote:

Originally Posted by Mith
Code:

IRC Manager
 
Warning: Invalid argument supplied for foreach() in /includes/cron/ircmanager.php on line 69
 
Warning: Invalid argument supplied for foreach() in /includes/cron/ircmanager.php on line 76
 
Done




Negative, Have just triple checked. The channel has users, has a topic set, the bot does not even enter the channel. :-(

I still have this problem....

On one occasion I ran the cron job mannually and it worked. I thought that was it.. but now it does this again, I can't see why it would work correctly once (pick up channel topic and users) and then go back to not working again.

For information: there is a topic set and I do have users in the channel when I run the cron job

Again help appreciated.

KidCharlemane 11-29-2005 12:51 AM

Ive got it working just fine but if you have a lot of users in your channel, the users dont wrap and cause some really funky formatting errors. Anyone else seeing this?

Bounce 11-29-2005 02:12 PM

Quote:

IRC Manager

Warning: Invalid argument supplied for foreach() in /includes/cron/ircmanager.php on line 69

Done
Gettin this when I run the scheduled task :disappointed:

Edit: IT WORKS thou ... Ya dancer

Thank you , thank you , thank you :squareeyed:


Most users in the chat was 2 on 29-11-05 at 16:09. lol

Small small q thou.. How do I move the "Whos Chatting" part to the top of the What's Going On section ?

Edit (again) lol : Forget how to move i placed $irc_channels where i wanted it and turned the stats OFF in options > IRC-Manager.

Waited for this for almost 6 months, cant thank you enough :)

[high]* Bounce clicks install and thanks leonsio[/high]

utw-Mephisto 11-30-2005 11:12 PM

I installed without any problems. I run the cron job manually after installing - all was fine. when the cron job run the first time automaticially all users were .... gone ...

Since then I always have 0 online user ....

JohnBee 12-01-2005 02:54 AM

I would like to report that I updated this hack and it works 100% as advertised!
Thank you leonsio for your work and patience on this great MOD. (installed!)

leonsio 12-01-2005 05:07 AM

Quote:

Originally Posted by utw-Mephisto
I installed without any problems. I run the cron job manually after installing - all was fine. when the cron job run the first time automaticially all users were .... gone ...

Since then I always have 0 online user ....



look at the messages log from your server ( syslog or apache error log, maybe you will finde some error messages from this hack )

Jafo232 12-02-2005 03:31 PM

I had a problem until I put the MOTD on the server.. If MOTD was missing, it would lock up.

To troubleshoot what is going on, find this line in the cron file:

Code:

while(!feof($conn))
        {
                // eine Zeile hollen
                $data=fgets($conn, 1024);

Add this line:

Code:

echo "$data<BR>";
Then run the cron task manually and it should output what is being seen.

KBV 12-02-2005 03:58 PM

It dosn't show "users online" the date for most users online is not shown. Also a bug, if you more then one channel, the channels below will inherit the topic of the first channel if they have no topic themselves.

lanc3lot 12-02-2005 05:29 PM

Quote:

Originally Posted by JohnBee
I would like to report that I updated this hack and it works 100% as advertised!
Thank you leonsio for your work and patience on this great MOD. (installed!)


What do u mean with "updated"? As i dont see it to be updated since 15/11

leonsio 12-02-2005 06:05 PM

Quote:

Originally Posted by Jafo232
I had a problem until I put the MOTD on the server.. If MOTD was missing, it would lock up.

To troubleshoot what is going on, find this line in the cron file:

Code:

while(!feof($conn))
        {
                // eine Zeile hollen
                $data=fgets($conn, 1024);

Add this line:

Code:

echo "$data<BR>";
Then run the cron task manually and it should output what is being seen.


yes it needs motd

because i let the bot you the server, after i see the end of the motd-code
so i know that connect was success and user is authentificated by the server

Vizionz 12-03-2005 06:31 AM

quick question while your online i am gonna search myself but in your script ya made the icon show announcement icon for the forum home but you made it to use one path. so when people have multible themes if they dont have a transparent icon or want to change it it will be harder where in the code is it located so i can change it

leonsio 12-03-2005 06:59 AM

in the forumhome_irconline temlate

search for

<td class="alt2"><img src="$channel[icon]" alt="$vbphrase[view_whos_online]" border="0" /></td>

an replace it with

<td class="alt2"><img src="$stylevar[imgdir_statusicon]/$channel[icon]" alt="$vbphrase[view_whos_online]" border="0" /></td>

now the images are relative to the styledir

Vizionz 12-03-2005 07:03 AM

thanks :)

KBV 12-05-2005 05:43 PM

Is there a way to make the bot stay online when first login on and gather information continually? It's getting annoying when it joines and quits every hour. :) Thanks.

thedvs 12-06-2005 12:58 AM

The script still is not counting the correct number of people actually in my irc channel :(

Borgs8472 12-07-2005 01:26 PM

Same problems, bot won't ever join

theArchitect 12-08-2005 04:19 AM

What shouuld the cron job be called?

I have installed as per the instructions and the whos in IRC shows up, but it says that there are 0 people in the chat room and below that it says
Quote:

Most users in the chat was 0 on 01-01-1970 at 10:00 AM.
Topic:
I think this is because the cron hasn't run, so I went into scheduled tasks to run it manually but can't see it listed.

Bounce 12-09-2005 04:53 PM

Quote:

Originally Posted by theArchitect
What shouuld the cron job be called?

I have installed as per the instructions and the whos in IRC shows up, but it says that there are 0 people in the chat room and below that it says


I think this is because the cron hasn't run, so I went into scheduled tasks to run it manually but can't see it listed.

Mine is called IRC Manager

theArchitect 12-09-2005 08:34 PM

Quote:

Originally Posted by hIBEES
Mine is called IRC Manager

In that case the product didn't install the cron job.

I have deleted it, re-installed and tried over writing it, but nothing is appearing.

I am running vB 3.5.2 and assistance would be appreciated.

theArchitect 12-09-2005 09:04 PM

Well, I have uninstalled this.

The product didn't create a cron job, and even when I created one manually and ran it nothing shows up in the home page box (which is appearing twice even though my codes says to only display it once).

Borgs8472 12-09-2005 11:39 PM

Btw, I ran my cron job multiple times and managed to crash our shared server!

CAREFUL RUNNING THE CRON JOB!

(but the bot still never joined :( )

theArchitect 12-09-2005 11:53 PM

Quote:

Originally Posted by Borgs8472
Btw, I ran my cron job multiple times and managed to crash our shared server!

CAREFUL RUNNING THE CRON JOB!

(but the bot still never joined :( )

You crashed the server?????

Dear lord!

xleu 12-10-2005 12:39 PM

thx u
it's work fine

LoOnEyToOnZ 12-10-2005 02:03 PM

xleu what vb version did u use this on? im on 3.5.2 and am wondering if this works..

leonsio 12-11-2005 06:26 AM

it works on 3.5.2 too
i have running it on my side ( the same version that i have released here )

sry i dont have enouth time at the moment to debug a problem

lanc3lot 12-11-2005 10:23 AM

Its very strange that in others this hack works and in others (like me) dont:(

Hope someone can fix a universal hack that works in all of us one day....

xleu 12-14-2005 12:24 AM

on 3.5.0
i'll upgrade soon, after i'll come back to tell u.

KidCharlemane 12-14-2005 02:01 PM

One problem Ive discovered is that the hack tends to create ghosts and Im really not sure how to get rid of them.

The hack seemed to quit working for me. Doing a /Whois on the nick the "bot" used showed it was still signed on IRC but not in a channel. Changing the "bot's" nick to something else caused it to start working again but eventually that nick also got hung up and Ive had to change it yet again but the old "bots" are still signed on to IRC even after a few days.

jluerken 12-16-2005 04:25 PM

Running the Cron manually on my 3.5.2er installation brings up the following error:
PHP Code:

WarningInvalid argument supplied for foreach() in /includes/cron/ircmanager.php on line 69

Warning
Invalid argument supplied for foreach() in /includes/cron/ircmanager.php on line 76 


dlan 12-16-2005 10:50 PM

Same here... Any update/fix soon? This is great mod and would be greater if there was a supporter :S

SupremeWeapon 12-21-2005 04:43 PM

as SOON as I inputed and server and channel in the admin acp the forums blew up.

Fatal error: Only variables can be passed by reference in /var/www/public_html/*********/forums/index.php(63) : eval()'d code on line 17

thats what i Get

edit. testing so i deleted the server/channel and my forums unblewup.

SO it is an issue with the plugin somehow.

leonsio 12-21-2005 07:09 PM

Quote:

Originally Posted by dlan
Same here... Any update/fix soon? This is great mod and would be greater if there was a supporter :S



sorry this script will not be supported ( by me )

the actual release is the last release of this hack

you can try to finde someone who will support and develop this hack in the feature

i'm now working on other projects and have no time more for this hack

richard4339 12-29-2005 06:03 PM

I uninstalled this plugin and had no problems with fatal errors: It appears to be ruining anything above 3.5.0, which says isn't supported, as you have said, anyway.

leonsio 12-29-2005 08:04 PM

this hack works with all version of vb 3.5.x

Mith 01-03-2006 01:49 PM

I have what may be helpful for many here....

If you rename your bot from PortalBot it seems not to work.

I tried several things and the cron job would always make an error.

When I changed the name back to Portalbot it would enter the channel correctly.

It must be something to do with the preg_replace stuff in the includes/ircmanager.php but I'm not too hot with that stuff... appreciate anyone who can make this work (as the author now says he can't support it)
Obviouslyits not a problem the bot being called PortalBot.. just the fact that its a feature that simply doesn't work, and many of you may wish to make it a bit more personal to you users idling in your channel?

Other than that I have it up and running smoothly on 3.5.2

I had a couple of problems getting it to work namely:
the cron job wasn't added properly by the install script.

for those with problems with the botnot entering check the cronjob.

it should have the following line:
Code:

./includes/cron/ircmanager.php
(the script when I installed it wasn't putting that line in correctly)

I would suggest completely uninstalling the entire ircmanager and plugins first
Then reinstalling the latest version and checking the above (set as seen in the attached image)

there were major problems with the first version

Landlord 01-03-2006 05:18 PM

error 500: Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.



this happened when i went into my scheduled tasks and tried to run the script :(

MiskaTorn 01-11-2006 05:37 PM

Is there a way to make this bot join and stay?

S@NL - BlackBik 01-11-2006 07:18 PM

Clicked install.
Tried it, it worked, people are happy :)

Good work Leonsio.

Just missing the act0.gif ;)

ChuanSE 01-27-2006 12:59 AM

ok, this all seems nice, but when do we get the EGGDROP version of this script ported for vb3.5.3? I would kill to get a ported version of it :/


All times are GMT. The time now is 07:43 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.01414 seconds
  • Memory Usage 1,830KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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