View Full Version : IRC Manager ( without Eggdrop/Mirc )
leonsio
10-30-2005, 10:00 PM
This is the first release of my irc manager for VB 3.5.
You don't need eggdrop or mirc to run this script.
Multiple irc-servers & channels are supported
This script is based on "Eggdrop IRC Manager"
You can use your old config, you must only change every config and add server_id
Extract and upload all the files from the ROOT folder to your forum root. ( 1x admincp script, 1x admincp-xml, 1x cron script )
After upload, import product-ircmanager.xml.
This product will automatically add a vb-cronjob which runs every 15 min.
How does this script works?
It uses a socket connection to your irc server.
After a successful connection, the script joins your channel(s), collects information then leaves the channel(s).
This is a first version of the script. Later on, I plan to send some forum information to the channel, e.g. 10 last posts.
how does this script works
it use a socket connection to some irc server
after connect is success, the script join your channels collects information and leaves the Channel
this is a first version of the script, later it is planed to leave some forum information in the channel, e.g. 10 last forum messages ?
jluerken
10-31-2005, 02:53 PM
Sounds good, can you post some screenshots?
mindfrost82
10-31-2005, 03:00 PM
How do you get it to show on your forumhome? There's no template edits or anything.
Also, in the AdminCP, its looking for an act0.gif. Where do I get this?
Sooner95
10-31-2005, 04:15 PM
Yea, kinda wondering how this will show up on my board as well..LOL
did everything, whiched went smooth, but if we need a template edit, let us know.
didnt get the act0.gif error here tho..
sctsnipe
10-31-2005, 04:25 PM
I would love to try this, but I would also love to see some screenshots first :)
Sooner95
10-31-2005, 04:27 PM
based on the last irc manager, for 3.0 It needed the creation of a template (irc loggedin) and also modified a couple others, forumhome ect...
Gonna guess something like this would have to be done in order for this to work, otherwise its doesnt know where to send the data.
Man1c M0g
10-31-2005, 06:22 PM
It sounds like a nice idea... but I'd find it super annoying if a bot kept joining and leaving the channel every 15 mins. Is there any way to make it persistent?
thedvs
10-31-2005, 09:00 PM
dont mean to be rude but why release this when it doesnt work
leonsio
11-01-2005, 06:38 AM
you must activate the irc manager in your admincp
this script doesent make any template changes, just set the script to "on"
go to admincp/VB-Settings/IRC Manager
and set first setting "IRC-Manager aktiviert?" to yes
second setting is the name which the script in IRC has
leonsio
11-01-2005, 06:40 AM
It sounds like a nice idea... but I'd find it super annoying if a bot kept joining and leaving the channel every 15 mins. Is there any way to make it persistent?
it is posible to write a script (in php ) which is running as a daemon, but for this you need shell account on your server and this solurions need more memory as eggdrop
leonsio
11-01-2005, 07:04 AM
so i have fixed some bugs, all settings are now in english
if you use original templates ( forumhome) or modified template but this line is exists "<!-- end logged-in users -->" you doesnt need to make template changes
else you must add "$irc_channels" to the place where you want to have it
thedvs
11-01-2005, 10:21 AM
ok leonsio, sorry for being a bit mean yesturday, i'll give it another go.
thedvs
11-01-2005, 10:39 AM
you must activate the irc manager in your admincp
this script doesent make any template changes, just set the script to "on"
go to admincp/VB-Settings/IRC Manager
and set first setting "IRC-Manager aktiviert?" to yes
second setting is the name which the script in IRC has
i dont see that option activate in my irc manager settings
Sooner95
11-01-2005, 11:02 AM
Yea i dont have this either. only thing it admincp is on the left column IRC Manager, where you can add the server and the channels.
If this hack uses a previous hack, as in template edits, then you really need to be more clear. I think you need to start over and update the download files.
leonsio
11-01-2005, 11:42 AM
Yea i dont have this either. only thing it admincp is on the left column IRC Manager, where you can add the server and the channels.
If this hack uses a previous hack, as in template edits, then you really need to be more clear. I think you need to start over and update the download files.
hmm youre right
my vbulletin doesent export "product options"...
:/ i must make this by hand
in one min 1 will upload new xml file
sorry :(
leonsio
11-01-2005, 11:51 AM
okay new xml ist online
it was a bug in VB ?
product export dont not export settings for one produkt
thedvs
11-01-2005, 12:15 PM
working now leonsio :)
GamerJunk.net
11-01-2005, 04:46 PM
leonsio, 2 things, you need to change the zip so it is the "includes" folder or people will have trouble getting the cron and IRC Manager nav panel to appear.
Also it doesn't display the time, even your attachment didn't show the time.
Btw, is there a way to prevent this script from stretching the screen when the topic is very long, example http://www.gsnforce.com/forum
Also great script!
MadMan8
11-01-2005, 04:58 PM
Hey,
I tried it before you put up the new xml file and it didn't work, i've now uploaded the new xml file (by overwriting the old one) and it still doesn't work. I thought i would try a clean install, i went to the "Manage Products" tab and clicked on uninstall but i get this error message that stops it from uninstalling -
Database error in vBulletin 3.5.0:
Invalid SQL:
DROP TABLE
'irc_channel` ,
`irc_server`;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''irc_channel` ,
`irc_server`' at line 2
Error Number : 1064
Date : Tuesday, November 1st 2005 @ 12:56:08 PM
Script : http://******.com/forumba/admincp/plugin.php
Referrer : http://******.com/forumba/admincp/plugin.php?do=productdelete&productid=ircmanager&s=
IP Address : ******
Username : ******
Classname : vb_database
:ermm:
Its a nice idea though and i hope to get it working!
Sooner95
11-01-2005, 05:53 PM
Yea, uploaded your "new" xml file, but didnt seemed to do anything diff. Still getting no updates.
I also get same error, when try to uninstall it.
There are no files to uplaod for my mirc correct? nothing to configure?
Sooner95
11-01-2005, 06:01 PM
Edit
Ok, i see the additional options.
Vbulletin Options, scroll down to IRC manager
You can set the bot name and enable the forumhome stats.
Will let it go, and see if it works..
Sooner95
11-01-2005, 06:39 PM
well, been over a hlaf an hr, still nothin. Should I see the bot connect to our channel?
leonsio
11-01-2005, 07:48 PM
leonsio, 2 things, you need to change the zip so it is the "includes" folder or people will have trouble getting the cron and IRC Manager nav panel to appear.
Also it doesn't display the time, even your attachment didn't show the time.
Btw, is there a way to prevent this script from stretching the screen when the topic is very long, example http://www.gsnforce.com/forum
Also great script!
your topic ist to long ^^
i will try to fix this problem :D
Drop Table problem
go to the product settings and click to edit the IRC Manager product
on the right site is the uninstall code
please change
'irc_channel` ,
to
`irc_channel` ,
after this change you can uninstall this script
TyleR
11-01-2005, 08:02 PM
very nice :)
* TyleR clicks install
Sooner95
11-01-2005, 10:54 PM
ok, was able to uninstall, tho had to manually remove the irc server table from my sql..
imported the new xml file, so far so good. Now I will wait to see it connect tochan and update board.
(BTW, if you delete your XML file for the Arcade it realy messes things up!! haha)
Sooner95
11-01-2005, 11:25 PM
Well, i've had enuff with this one. Doesnt update. at all. I assume it should actually connect to the chan and get the data, however, its been half hr, and nothing. I'l wait for the Eggdrop one, it worked just fine.
Blam Forumz
11-02-2005, 12:34 AM
I am unable to change the settings on where to connect... no option and nothing appears on the nav list.
GamerJunk.net
11-02-2005, 01:24 AM
I made a quick fix for the wrapping issue but I don't want it in a frame. But this fixes it from stretching the screen.
Template : forumhome_irc_onlineuser
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_$channel[channel_id]')"><img id="collapseimg_forumhome_$channel[channel_id]" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
$channel[handle] @ $channel[server_name]: $channel[online] online
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_$channel[channel_id]" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><img src="$channel[icon]" alt="$vbphrase[view_whos_online]" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div style="white-space: nowrap">Most users in the chat was $channel[online_max] on $channel[date_max] at $channel[time_max].<br /> <TEXTAREA NAME="wrap_hard" ROWS=5 COLS=120>
Topic: $channel[topic] </textarea>
<div style="padding-top: 7px">$channel[nick_list]</div>
</div>
</td>
</tr>
</tbody>
GamerJunk.net
11-02-2005, 01:28 AM
I am unable to change the settings on where to connect... no option and nothing appears on the nav list.
You need to upload the "include" folder contents into your "includes" folder.
GamerJunk.net
11-02-2005, 01:28 AM
Well, i've had enuff with this one. Doesnt update. at all. I assume it should actually connect to the chan and get the data, however, its been half hr, and nothing. I'l wait for the Eggdrop one, it worked just fine.
Same thing I told Blam. The cron file is not in the correct folder. Move everything from "include" into "includes" on your server.
thedvs
11-02-2005, 10:21 AM
This script works fine, but for some reason the bot joins too fast and leaves without counting the correct number of people in the chat channel
MadMan8
11-02-2005, 11:14 AM
Well i managed to uninstall it and re-upload the files and i've now got all the options.
The problem now is it doesn't seem to be doing the cron job, well it might be but the bot is not joining the channel. The IRC manager is listed in the "Scheduled Task Manager" but nothing seems to happen every 15 mins. The "Scheduled Task Log" doesn't seem to show any action from the IRC manager.
I've got all the files in the correct folders. :ermm:
Sooner95
11-02-2005, 11:58 AM
yea same here Madman... its been about 12 hrs now, and this things hasnt ran once yet.
Have the files in the correct folder, I assumed he ment includes and not include when i started.
ah well...
Sooner95
11-02-2005, 12:00 PM
Forced run in Scheduled taska give me this error.
IRC Manager
Warning: Invalid argument supplied for foreach() in /includes/cron/ircmanager.php on line 67
Warning: Invalid argument supplied for foreach() in /includes/cron/ircmanager.php on line 74
Done
MadMan8
11-02-2005, 12:58 PM
Just done a forced run myself. Ended up getting the "The page cannot be displayed" error. Tried it again and got this error, it didn't stop bringing the error up until i used my browsers stop button -
Warning: fsockopen(): unable to connect to uk.quakenet.org:6667 in /includes/cron/ircmanager.php on line 23
Warning: fputs(): supplied argument is not a valid stream resource in /includes/cron/ircmanager.php on line 24
Warning: fputs(): supplied argument is not a valid stream resource in /includes/cron/ircmanager.php on line 25
Warning: feof(): supplied argument is not a valid stream resource in /includes/cron/ircmanager.php on line 26
Warning: fgets(): supplied argument is not a valid stream resource in /includes/cron/ircmanager.php on line 29
Warning: feof(): supplied argument is not a valid stream resource in /includes/cron/ircmanager.php on line 26
leonsio
11-02-2005, 12:59 PM
updated version is online
the scripts stay now 5 seconds in a channel
the titel became after 150 chars breakline
leonsio
11-02-2005, 01:01 PM
Just done a forced run myself. Ended up getting the "The page cannot be displayed" error. Tried it again and got this error, it didn't stop bringing the error up until i used my browsers stop button -
your server must have valid network configuration ( DNS )
you can test it by typing from shell
"telnet uk.quakenet.org 6667"
if you get connect to the server, your network settings are correct ;)
MadMan8
11-02-2005, 01:12 PM
your server must have valid network configuration ( DNS )
you can test it by typing from shell
"telnet uk.quakenet.org 6667"
if you get connect to the server, your network settings are correct ;)
Thanks for your help.
Just tried that and each time it Timed Out. So i'm guessing i can't use this on my forum at the moment. Might ask my web host about it ... not sure what to ask though lol :nervous:
LoOnEyToOnZ
11-02-2005, 01:35 PM
Anyone has a demo of this ?
GamerJunk.net
11-02-2005, 02:17 PM
Some +++++++ probably banned your bot, like what happened to me because they think they are funny. I put a notice on my forums if anyone messes with the bot they will be banned and he got banned!
thedvs
11-02-2005, 05:27 PM
the scritps working fine, but now even if the bot stays in for a minute or more, its still not counting the correct number of users & ops
GamerJunk.net
11-02-2005, 05:31 PM
What where it says 0 online?
nitro
11-02-2005, 05:34 PM
Nice mod but only really good for dedicated server renters/owners Most web hosts block all known irc ports.
Sooner95
11-02-2005, 06:22 PM
your server must have valid network configuration ( DNS )
you can test it by typing from shell
"telnet uk.quakenet.org 6667"
if you get connect to the server, your network settings are correct
These are the kinda things you should really let people know up front. If the fail the test, then they don't have to bother wasting time with this.
JohnBee
11-03-2005, 03:04 AM
I installed it, yes... telnet responds fine.
I get this when I run the cronjob:
IRC Manager
Warning: Invalid argument supplied for foreach() in /includes/cron/ircmanager.php on line 68
Done
The bot joins and leave the channel, stats are updated on the homepage but not properly there is no time/date stamp or topic and the currently online stats are not display'd either.
#myirc @ irc.server: 0 online
Most users in the chat was 2 on at .
Topic:
ST_Away, eM_eSS_Kay
NOTE: The stats are not carried over properly on the homepage however they are recorded and display'd in the ACP > Channel Administration > Modify a channel, there is not topic set btw. so I can't confirm that is a problem at this time:
#myirc irc.server.net:6667 0 2 11-03-2005 ST_Away, eM_eSS_Kay [edit]
So the cronjob doesn't work properly at this time, perhaps this release should go into beta, at least until it works a little more.
JohnBee
11-03-2005, 03:33 AM
UPDATE: The invalid argument cronjob error is caused by missing #channel topic.
IRC Manager
Warning: Invalid argument supplied for foreach() in /includes/cron/ircmanager.php on line 68
Done
I added a topic and the error disapeared. I guess a condition in ircmanager.php on weither a topic is present could help resolve this error.
leonsio
11-03-2005, 06:47 AM
UPDATE: The invalid argument cronjob error is caused by missing #channel topic.
IRC Manager
Warning: Invalid argument supplied for foreach() in /includes/cron/ircmanager.php on line 68
Done
I added a topic and the error disapeared. I guess a condition in ircmanager.php on weither a topic is present could help resolve this error.
which server ( irc ) software do you use?
can you tell me per PM addresse from your server, i will test it
i have testet this bot with the Unreal IRCd and it works fine
JohnBee
11-03-2005, 09:24 AM
its unreal iRCD running under win32 server. Do you think all the other anomalies "no date stamp, no of people in chan. etc." are related to that?
jluerken
11-03-2005, 11:37 AM
Please include an act0.gif image to the .zip file :D
Vizionz
11-05-2005, 09:29 PM
how long till there is a eggdrop version of this with the updated features like posting the last so many posts or topics in the chatroom. also if its eggdrop you should script it where it acts like this
every 15 minutes
it will display forum stats
there are currently 20 members 120 guests active on Your@site.com
There has been 20 new topics and 40 replies in the last 15 minutes
( type !topics for a list of The lastest topics or !posts for a list of the latest posts...
then the eggdrop should Check every minute or every 5 minutes how many users are in the chat and display that to the forum...
Is that possible for you to accomplish ?
SoulForge
11-06-2005, 09:47 AM
Where can u get an IRC server from??
rzpvile
11-07-2005, 02:02 PM
I upload the files but I dont see where I put the xml file.
Vizionz
11-08-2005, 04:59 AM
Where can u get an IRC server from??
you can rent one for like 10 bucks a month or twenty search google .. or you can use a already existing irc server. like irc.efnet.net or irc.rizon.com and so on
A couple of questions.
1. would you use irc.uk.quakenet.org or just uk.quakenet.org ?
(yes my channel is on the quakenet network)
2. server name and server address... which would i use for which? it should give examples of what to put in the boxes...
Also I think handle should be renamed to channel name... it is a bit ambiguous.
Lastly the bot does not get the stats for me....
If i force-run the cron job i get this:
IRC Manager
Warning: main(): Unable to access /usr/local/psa/home/vhosts/blahblah.com/httpdocs/forums/includes/cron/ircman in /admincp/cronadmin.php on line 64
Warning: main(/usr/local/psa/home/vhosts/blahblah.com/httpdocs/forums/includes/cron/ircman): failed to open stream: No such file or directory in /admincp/cronadmin.php on line 64
Warning: main(): Failed opening '/usr/local/psa/home/vhosts/blahblah.com/httpdocs/forums/includes/cron/ircman' for inclusion (include_path='.:/usr/local/psa/apache/lib/php') in /admincp/cronadmin.php on line 64
Done
Any help from the author with these problems appreciated.
HansMuenchen
11-10-2005, 08:34 PM
Hi!
Can it be that the bot can't use rooms who are password protected?
I don't get any error from the script when I run it. But I also don't see the bot.
I also don't see the line at the bottom like on the screenshot??
What I must do, if I want let join the bot a password protected room and how I can check if the bot works or not?
Thnx for your help.
Greetings out of Munich
Hans
quasan
11-11-2005, 04:06 PM
hi :)
I use euirc.net because they will give you a bot which provides you an url with an array of the chatting users. From there it is very easy to grab the array from the url and integrate the "who is chatting" list into your vb or site :ninja:
thedvs
11-11-2005, 04:15 PM
the only thing wrong with this script is that its not showing the realtime users in the irc channel (it shouldnt part the channel)
leonsio
11-11-2005, 05:09 PM
on monday in will release an bugfix
for current users online ( count )
and other little fixes
lanc3lot
11-12-2005, 09:44 AM
Exm so better wait till monday or install it rightway?
:)
HansMuenchen
11-12-2005, 10:01 AM
on monday in will release an bugfix
for current users online ( count )
and other little fixes
Hi!
Well if you post a bugfix, maybe you also have a look on the performance.
Because I see the script has open onto the server a lot of tasks. Means allways if the bot start there will be open a new http task on the server.
Greetings
Hans
Dstephan
11-13-2005, 01:51 AM
What information needs to go in this line:
"This name the scrippt will use on IRC-Server" is it the URL to your channel? or something else?
Also nothing displays on ForumHome and yes I've set it to "active" under the vB options.
And also has anyone integrated this as a module into vbAdvanced?
leonsio
11-14-2005, 10:40 AM
updated version ist online
some bugs fixed
password protected channels are now accepted, please give the channels in this form
"#channel password"
on the forum home you will find only the channel name
if you use original templates ( forumhome) or modified template but this line is exists "<!-- end logged-in users -->" you doesnt need to make template changes
else you must add "$irc_channels" to the place where you want to have it (FORUMHOME)
in the Server Manager you must give the IP or hostname of your irc-server
at channel manager you must give the channel name ( #example )
Jenta
11-14-2005, 02:28 PM
thanks, installed
not sure why but its not counting ops
EasyTarget
11-14-2005, 06:31 PM
/me installs
thanks for the hack.
seems to be counting ops for me. I was wondering on how to keep the bot in the room instead of joining/dropping, and if the query can happen everytime the forumhome is loaded.
I need the change the text too because for me its all the same color. (chan info, topic and users)
leonsio
11-14-2005, 06:53 PM
the way to lets the bot in the channel, is to run the cript as daemon under linux
you can make this only if you have shell account
php is not the right script-language to make daemons which runs permamently ( but it is posible ), whe script needs more memory as eggdrop, so you should install eggdrop ;)
GamerJunk.net
11-14-2005, 08:27 PM
hi :)
I use euirc.net because they will give you a bot which provides you an url with an array of the chatting users. From there it is very easy to grab the array from the url and integrate the "who is chatting" list into your vb or site :ninja:
I keep getting a not authorized to connect to the server and I entered in /notice FB651338 nospoof like it said but no help.
EasyTarget
11-15-2005, 12:09 AM
the way to lets the bot in the channel, is to run the cript as daemon under linux
you can make this only if you have shell accountshell access to the webserver or the irc server? I can use the shell on the website but I don't have access to that for the irc server.
leonsio
11-15-2005, 06:34 AM
you must have shell access on your webserver
Jenta
11-15-2005, 08:23 AM
I was mistaken before when I said it was not counting ops. What it seems to be doing is missing one person. When I first tested it, it was only me and an op. Right now there are 4 people in the channel and it counts 3 plus the scripts connection but not the 4th person.
Any idea what is causing this?
leonsio
11-15-2005, 09:58 AM
is the 4th person the script self?
Jenta
11-15-2005, 10:12 AM
No the 4th person is a real person but what I get is this...
4 online
Person1, Person2, Person3, the script
It should be 5 counting the script. It would be better if it didnt count the script username.
Jenta
11-15-2005, 10:17 AM
I took a chance and changed a 6 to a 5 and it is counting correctly now but the last person gets a ":" in front of their name.
// Ab 6 beginnen die Namen
for($i=5; $i<count($p); $i++)
5 online
Person1, Person2, Person3, :Person4, the script
leonsio
11-15-2005, 10:27 AM
which server software do you use?
Jenta
11-15-2005, 10:55 AM
This...
Welcome to the Rizon Internet Relay Chat Network Anonymous
Your host is irc.tokyotosho.com[irc.tokyotosho.com/6667], running version PleXusIRCd-2.0.9p1
A couple of questions.
1. would you use irc.uk.quakenet.org or just uk.quakenet.org ?
(yes my channel is on the quakenet network)
2. server name and server address... which would i use for which? it should give examples of what to put in the boxes...
Also I think handle should be renamed to channel name... it is a bit ambiguous.
Lastly the bot does not get the stats for me....
If i force-run the cron job i get this:
IRC Manager
Warning: main(): Unable to access /usr/local/psa/home/vhosts/blahblah.com/httpdocs/forums/includes/cron/ircman in /admincp/cronadmin.php on line 64
Warning: main(/usr/local/psa/home/vhosts/blahblah.com/httpdocs/forums/includes/cron/ircman): failed to open stream: No such file or directory in /admincp/cronadmin.php on line 64
Warning: main(): Failed opening '/usr/local/psa/home/vhosts/blahblah.com/httpdocs/forums/includes/cron/ircman' for inclusion (include_path='.:/usr/local/psa/apache/lib/php') in /admincp/cronadmin.php on line 64
Done
Any help from the author with these problems appreciated.
I updated to your latest version.
I recieve the exact same problems.. and still have the same questions I'd like answered
Thanks
Jenta
11-15-2005, 05:02 PM
Use irc.uk....
The server name you would use something like "Quaknet" then for server address something like "irc.quakenet.net".
For your errors, try adding this to the end of includes/cron/ircmanager.php
log_cron_action('IRC Stats Updated', $nextitem);
Use irc.uk....
The server name you would use something like "Quaknet" then for server address something like "irc.quakenet.net".
For your errors, try adding this to the end of includes/cron/ircmanager.php
log_cron_action('IRC Stats Updated', $nextitem);
I've added the code ... the bottom lines of ircmanager.php now look like this.... BUT i still get the same error as before :-(
}
function parse_topic($data)
{
$channel=array();
$p=explode(' ',$data,5);
$p[3]=strtolower($p[3]);
$p[4]=preg_replace('/^\s*\:/','',$p[4]);
$channel[$p[3]]=wordwrap($p[4], 150, "<br/>");
return $channel;
}
log_cron_action('IRC Stats Updated', $nextitem);
?>
any further help appreciated
EasyTarget
11-15-2005, 05:41 PM
the way to lets the bot in the channel, is to run the cript as daemon under linux
you can make this only if you have shell account
is this something that you can explain easily or should I just leave it alone? I'd much rather have the bot just stay in the irc room.
thanks.
Jenta
11-15-2005, 06:58 PM
line 64 is this..
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
lanc3lot
11-15-2005, 09:11 PM
I cant get it working, and when i try to uninstall it i have the following sql error:
Database error in vBulletin 3.5.0:
Invalid SQL:
DROP TABLE
'vb3new_irc_channel` ,
`vb3new_irc_server`;
MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''vb3new_irc_channel` ,
`vb3new_irc_server`' at line 2
Error Number : 1064
Date : Wednesday, November 16th 2005 @ 01:05:55 AM
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
Any help?:(
leonsio
11-16-2005, 05:36 AM
to uninstall first versions of this mod, lock at first thread page ;)
line 64 is this..
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:
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
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
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
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:
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 `
DROP TABLE
`
'vb3new_irc_channel` ,
`vb3new_irc_server`;
Jenta
11-16-2005, 03:03 PM
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
I still have a problem.... now when I run the scrip I get:
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:
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:
################ 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
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.
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.
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)
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
Nothing happends with rizon either.
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???
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
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
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
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
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:
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 (http://www.mysticwicks.com/cron.php?&rand=82136)
Referrer : http://mysticwicks.com/ (http://mysticwicks.com/)
IP Address : 24.1.64.119 (http://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
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.
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.
weird... same prob here though
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
in admincp/vbulletin options/IRC Manager
Am I SOL?
Jenta
11-19-2005, 05:22 PM
Am I SOL?
why?
version2
11-19-2005, 05:32 PM
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.
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/cgiirc/cgiirc-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
# 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
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
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 :)
* Bounce clicks install and thanks leonsio
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
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:
while(!feof($conn))
{
// eine Zeile hollen
$data=fgets($conn, 1024);
Add this line:
echo "$data<BR>";
Then run the cron task manually and it should output what is being seen.
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
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
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:
while(!feof($conn))
{
// eine Zeile hollen
$data=fgets($conn, 1024);
Add this line:
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 :)
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
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
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
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
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!
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....
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:
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
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
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
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:
./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 :/
Krali
02-01-2006, 10:44 AM
It looks good, but:
- I don't get any information on the the forum-home
- if I start the bot manually, it seems to get a timeout...
- which is the right name of the channel? with # or without it?
- which is the right name of the server? I only have this: vienna.irc.at
Nice greetings,
Klaus
GamerJunk.net
02-01-2006, 06:54 PM
Its a nice hack, I have had no problems with it
utw-Mephisto
02-05-2006, 04:31 AM
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:
./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
I have the same problem and I could not find ANY reference to PortalBot except as default value .. I dont get it myself .. But I also asked on the vbhack-germany.com - as soon as I get an answer (if), I let you know
DutchyNL
02-14-2006, 04:47 PM
Bot is working fine here but i have a pass on mij irc server, how do i fill in the password?
Can not do it in vbb itself, must this be done in one of the php files?
cassis2k
02-15-2006, 09:59 AM
<font color="DarkRed">Clicked install.
Very good job. Thx</font>
geezmo
04-10-2006, 03:36 PM
Help! I had a previous install of this hack, but when I moved to a new server I simply copied the files to the new server and now it's not working properly. I re-uploaded all the files overwriting the previous ones, but I can't re-install the XML product file.
When I upload the xml file, vB simply hangs. At one time, the error message said I can't re-install it because the original xml file is already installed and the file cannot be overwritten. What do I do?
geezmo
04-12-2006, 05:51 AM
How else can I uninstall this hack? I tried "Uninstall" in the Plugin System > Manage Products but when I did this, all I got was a blank, white space showing only the title "Plugin System" at the top (as if the page stopped loading after the "Plugin System" title). The hack never got uninstalled. I also tried Manage Products > Edit (the hack) to delete the "uninstall code" but there's no uninstall code.
I can probably do a manual uninstall of this but please let me know if it's ok if I simply delete all files that were uploaded and tell me what to do with the product xml file (where can I find this?) and which db tables to drop, if there are any.
Thanks.
blablablabla
05-03-2006, 10:02 AM
is there a way i can make the bot stay in the channel?
JohnBee
05-16-2006, 11:38 PM
How to uninstall this hack?
I tried uninstall but I get this message:
Database error in vBulletin 3.5.4:
Invalid SQL:
DROP TABLE
'irc_channel` ,
`irc_server`;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''irc_channel` ,
`irc_server`' at line 2
Error Number : 1064
Date : Tuesday, May 16th 2006 @ 04:29:11 PM
Script : http://www.mysite/forum/admincp/plugin.php
Referrer : http://www.mysite/forum/admincp/plugin.php?do=productdelete&productid=ircmanager&s=
IP Address : 102.102.02.202
Username : Admin
Classname : vb_database
JohnBee
05-21-2006, 03:36 AM
Some support on uninstalling this hack would really be helpful!
JohnBee
05-21-2006, 03:42 AM
Okay I found it!
go to product managerment, click to edit product
in uninstall find:
DROP TABLE
'
change to
DROP TABLE
`
than you can uninstall this hack
harry_5
05-23-2006, 08:45 PM
JohnBee, thanks a lot!
Albasoul
08-25-2006, 03:02 AM
I was able to install this script without any problems. The bot connects to the server and joins/parts the room just fine. However, the list of users is not complete.
There are 100 people in the channel, it only reports 19.
What might be the problem, special characters in usernames maybe?
BiZiMDiYaR
03-06-2007, 09:48 PM
Hi,
Is there also a irc manager for 3.6.5 ? The 5 version gives an error when loading..
Thanks,
Foekie_t
Strik3
10-28-2007, 10:42 PM
Is there anyway to use it with 3.6.(8)? Wo'nt buy an Eggdrop just for IRC Stats
I'd love this to be updated for 3.7!
corizo
05-24-2008, 07:58 PM
I'd love this to be updated for 3.7!
Me too!
Emmmmrz
07-31-2008, 05:02 AM
Ditto ditto
gunboard
03-24-2009, 09:10 AM
dito :D
twista46
05-06-2009, 12:11 PM
work this on 3.8.2?
gunboard
06-03-2009, 08:03 AM
hi,
i have installed this addon on VB 3.7. When the channel is not used i have this error
with cron (ircmanager.php)
Invalid argument supplied for foreach() in [path]/includes/cron/ircmanager.php
Saviour
09-17-2009, 02:07 PM
Someone should pick up where this author left off...and get this mod working for later versions of vBulletin...like 3.8.4.
Hint, hint...:)
gunboard
01-11-2010, 05:12 PM
hi,
i have patched ircmanager.php, works with 3.8.4 pl2. Do you want it ? ;)
gunboard
04-30-2010, 04:18 AM
here is my Version patched for 3.8.x
Saviour
04-30-2010, 07:54 PM
Thanks, gunboard! I'll give it a shot and let you know how it goes.
Saviour
04-30-2010, 08:19 PM
Nope! Doesn't work! Thanks for sharing, though...
Invalid SQL:
INSERT INTO vb_cron SET
nextrun=UNIX_TIMESTAMP(),
weekday='-1',
day='-1',
hour='-1',
minute='a:4:{i:0;i:0;i:1;i:15;i:2;i:30;i:3;i:45;}' ,
filename='./includes/cron/ircmanager.php',
loglevel='1',
title = 'IRC Manager';
MySQL Error : Unknown column 'title' in 'field list'
Error Number : 1054
gunboard
06-06-2010, 03:31 PM
go to the script,
find:
title = 'IRC Manager';
replace with:
product = 'IRC Manager';
Saviour
06-06-2010, 05:50 PM
Thanks, gunboard...
However, I get the following error when I force the cron to run:
Warning: fsockopen() [function.fsockopen]: unable to connect to irc.6667.eu:6667 (Connection refused) in [path]/includes/cron/ircmanager.php on line 23
Warning: fputs(): supplied argument is not a valid stream resource in [path]/includes/cron/ircmanager.php on line 24
Warning: fputs(): supplied argument is not a valid stream resource in [path]/includes/cron/ircmanager.php on line 25
Warning: feof(): supplied argument is not a valid stream resource in [path]/includes/cron/ircmanager.php on line 26
Warning: fgets(): supplied argument is not a valid stream resource in [path]/includes/cron/ircmanager.php on line 29
Warning: feof(): supplied argument is not a valid stream resource in [path]/includes/cron/ircmanager.php on line 26
I have to manually stop the browser page.
Also, the cron is not completely filled out. There is no Varname field, Nothing in the Title field, nothing in the Description field, or Log Phrase, either.
I'm reviewing this thread, but can't seem to find anything that will resolve this issue.
Any help is greatly appreciated...
gunboard
06-16-2010, 02:25 PM
Hi,
Your irc-Server does not exist. I think thats the problem.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.