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)

leonsio 11-16-2005 05:36 AM

to uninstall first versions of this mod, lock at first thread page ;)

Mith 11-16-2005 09:06 AM

Quote:

Originally Posted by Jenta
line 64 is this..
PHP Code:

include_once(DIR '/' $nextitem['filename']); 

sounds like its not finding the cronfile

Look at the path in the cronjob. It should be...
./includes/cron/ircmanager.php

Thanks Jenta....

My line in the cronjob read:
includes/cron/ircman

so i changed it to:
./includes/cron/ircmanager.php

So in my eyes there is a problem with the install script for this....

However...

I still have a problem.... now when I run the scrip I get:
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

I noticed someone else mentioned this same problem earlier, but it appears unanswered...

Further help appreciated

flup 11-16-2005 09:37 AM

the file in the firstpost, does it have ALL the updates given in this thread?
I've installed it from the package now.. so please give me info if that is the file with ALL the latest updates.

Thanks

flup 11-16-2005 09:39 AM

When I force-run the cronjob i give's me no errors at all, but nothing happends either?

lanc3lot 11-16-2005 10:05 AM

Quote:

Originally Posted by leonsio
to uninstall first versions of this mod, lock at first thread page ;)


My friend, the version i have installed (and have this problem) is the latest you have here, as i just installed it yesterday!! :)

Hope u can help me remove it:(

leonsio 11-16-2005 01:47 PM

go to produkt managerment, click to edit product

uninstall line:

DROP TABLE
'

change to
DROP TABLE
`

than you can uninstall this hack

lanc3lot 11-16-2005 02:57 PM

I change it and i have the following:

Code:

Database error in vBulletin 3.5.0:

Invalid SQL:

DROP TABLE
`
'vb3new_irc_channel` ,
`vb3new_irc_server`;

MySQL Error  : Unknown table '
'vb3new_irc_channel'
Error Number : 1051
Date        : Wednesday, November 16th 2005 @ 06:54:10 PM
Script      : http://www.gamers.gr/forums/admincp/plugin.php
Referrer    : http://www.gamers.gr/forums/admincp/plugin.php?do=productdelete&productid=ircmanager&s=
IP Address  : 62.1.243.196
Username    : lancelot
Classname    : vb_database

:surprised:

Jenta 11-16-2005 03:02 PM

you still have a ' instead of a `
Quote:

DROP TABLE
`
'vb3new_irc_channel` ,
`vb3new_irc_server`;

Jenta 11-16-2005 03:03 PM

Quote:

Originally Posted by flup
When I force-run the cronjob i give's me no errors at all, but nothing happends either?

Does the bot join the channel?

Jenta 11-16-2005 03:09 PM

Quote:

Originally Posted by Mith
I still have a problem.... now when I run the scrip I get:
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


Sounds like the bot is joining a channel that has no topic set and has no users???

lanc3lot 11-16-2005 03:12 PM

Cant understand what u mean. I get this message:

Code:

Database error in vBulletin 3.5.0:

Invalid SQL:

DROP TABLE
`vb3new_irc_channel` ,
`vb3new_irc_server`;

MySQL Error  : Unknown table 'vb3new_irc_server'
Error Number : 1051
Date        : Wednesday, November 16th 2005 @ 07:08:55 PM
Script      : http://www.gamers.gr/forums/admincp/plugin.php
Referrer    : http://www.gamers.gr/forums/admincp/plugin.php?do=productdelete&productid=ircmanager&s=
IP Address  : 62.1.243.196
Username    : lancelot
Classname    : vb_database

My uninstall code, part 1 is:

Code:

################ Part 1 ###################
$db->query_write("
DROP TABLE
`" . TABLE_PREFIX . "irc_channel` ,
`" . TABLE_PREFIX . "irc_server`
");


On top of all that, my main page is not working anymore :(

Damn, someone help a bit:D

Jenta 11-16-2005 03:15 PM

Edit the uninstall code and delete all the code there. Then uninstall the product. The tables are already gone.

lanc3lot 11-16-2005 03:16 PM

Ok i figured out what was wrong:)

hope this hack evolves a bit and then i can run it again, as for a chat applet, this hack is "all the money" :)
Thnx again for your patience

flup 11-16-2005 07:36 PM

Quote:

Originally Posted by Jenta
Does the bot join the channel?

It doesn't do anything.

Maybe it's because it are windows based servers (no shell support)

They DO support socket connections & cronjobs though.

flup 11-16-2005 08:03 PM

only thing wich doesn't work here is the quitmessage.

Jenta 11-17-2005 12:17 AM

If you dont see the bot joining the channel then its not going to pull the stats. I would test it on different networks. Like type a known channel on the Rizon irc network. I know the bot is not blocked at the IRC level there because it works for me and I am on Rizon.

flup 11-17-2005 07:08 AM

irc.rizon.net?

Jenta 11-17-2005 07:48 AM

yep, irc.rizon.net
then for the channel try #help
i would also change the bot name to something random in case its having a problem with the nick already taken
manually run the cron job and see if the stats show
if it does, then the bot may be blocked at the irc server level on your irc network

if not then, it's something on your website server end (if everything is installed/configured properly)

flup 11-17-2005 10:01 AM

I took sL|forumbot for that one.
Maybe it doesn't support te '|' ?

Jenta 11-17-2005 10:18 AM

| IS supported on rizon so if it didnt return the stats its not joining the channel

flup 11-17-2005 10:22 AM

Nothing happends with rizon either.

Mith 11-17-2005 11:27 PM

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



Quote:

Originally Posted by Jenta
Sounds like the bot is joining a channel that has no topic set and has no users???



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

version2 11-18-2005 01:25 AM

I get this when trying to manage the channels. On the bottom half of the page.

MySQL Error : Unknown column 'c.server_id' in 'where clause'

Dstephan 11-18-2005 02:09 AM

Hey, I got it to work.

Now just to get it on the CMPS...

leonsio 11-18-2005 06:40 AM

Quote:

Originally Posted by version2
I get this when trying to manage the channels. On the bottom half of the page.

MySQL Error : Unknown column 'c.server_id' in 'where clause'


i think you have updated from eggdrop/irc channel manager script to this

then run following query

ALTER TABLE `irc_channel` CHANGE `server` `server_id` INT NOT NULL

( dont forget the table prefix )

after it you should manualy add the server ID to you channels

version2 11-18-2005 04:18 PM

Quote:

Originally Posted by leonsio
i think you have updated from eggdrop/irc channel manager script to this

then run following query

ALTER TABLE `irc_channel` CHANGE `server` `server_id` INT NOT NULL

( dont forget the table prefix )

after it you should manualy add the server ID to you channels

Thanks, leonsio. However, I am still a bit unclear. What do you mean I should 'Manually add the server ID to my channels'?

Jenta 11-18-2005 04:28 PM

in admin control panel settings
id is probably the server name

version2 11-18-2005 04:43 PM

Quote:

Originally Posted by Jenta
in admin control panel settings
id is probably the server name

Ok. I got all of that. Thanks, guys.

Now I just wait to see if I get an update, eh?

version2 11-18-2005 04:56 PM

Quote:

Originally Posted by version2
Ok. I got all of that. Thanks, guys.

Now I just wait to see if I get an update, eh?

Actually, to update. I have had no updates. I have it enabled in the options but nothing is happening.


Edited to add:

Got this error in my email:

Quote:

Database error in vBulletin 3.5.0:

Invalid SQL:
UPDATE irc_channel SET
online='0',
topic='', operators='',
halfops='', voiced='', users=''
WHERE server_id='1' AND handle='#talk';

MySQL Error : Unknown column 'halfops' in 'field list'
Error Number : 1054
Date : Friday, November 18th 2005 @ 01:00:45 PM
Script : http://www.mysticwicks.com/cron.php?&rand=82136
Referrer : http://mysticwicks.com/
IP Address : 24.1.64.119
Username : Unregistered
Classname : vb_database

leonsio 11-18-2005 05:29 PM

ALTER TABLE `irc_channel` ADD `halfops` TEXT NOT NULL

will help you ;)

version2 11-18-2005 05:36 PM

Quote:

Originally Posted by leonsio
ALTER TABLE `irc_channel` ADD `halfops` TEXT NOT NULL

will help you ;)

Hehe. Yes. Sorry about that.

Now, the only thing left is...no bot in the channel. He never gets there and reports back empty values.

flup 11-18-2005 06:42 PM

Quote:

Originally Posted by version2
Hehe. Yes. Sorry about that.

Now, the only thing left is...no bot in the channel. He never gets there and reports back empty values.

same here :$

windows hosted webserver
no shell support.

version2 11-18-2005 07:14 PM

Im on Redhat. It's my server. The ircd is running on my server as well.

flup 11-18-2005 09:37 PM

weird... same prob here though

Mith 11-19-2005 10:51 AM

Got mine working fine now:

I uninstalled the hack completely (making the changes in previous threads to ` where needed.

Made the same changes to the product xml.

Reloaded up the xml

And bobs my mothers brother.... great stuff.

now
How do I rename the bot? It looks like there should be an option for it,but I can't seem to find it

Thanks

leonsio 11-19-2005 01:15 PM

in admincp/vbulletin options/IRC Manager

thedvs 11-19-2005 01:35 PM

still getting the problem of it not counting the correct amount of people in the channel

version2 11-19-2005 04:25 PM

Quote:

Originally Posted by leonsio
in admincp/vbulletin options/IRC Manager

Am I SOL?

Jenta 11-19-2005 05:22 PM

Quote:

Originally Posted by version2
Am I SOL?

why?

version2 11-19-2005 05:32 PM

Quote:

Originally Posted by Jenta
why?

I am not having a problem with the installation anymore. Right now I have everything configured and ready to go. However, no bot comes into my channel. All the values being reported via cron are blank.


All times are GMT. The time now is 06:18 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.01478 seconds
  • Memory Usage 1,828KB
  • 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
  • (17)bbcode_quote_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
  • (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