View Full Version : Eggdrop IRC Manager
Velocd
02-14-2004, 10:00 PM
http://www.animesystem.com/temp/eim1-4.jpg
The Eggdrop IRC Manager (EIM) is a TCL script for NIX Eggdrop or Win32 Windrop.
It will allow you to refresh your forum home with information about your channel, such as the nicks currently in it, the record users, and the activity of the channel.
This is a port from my IRC Channel Manager (https://vborg.vbsupport.ru/showthread.php?s=&threadid=60365), yet that hack was for MIRC and had some bugs.
I created a new thread for this hack as the audience is different. Most people seeking eggdrops wont look into the mIRC thread.
The eggdrop version is far better than the former, so I highly recommend you make the switch if you're capable of running eggdrop.
Demos:
http://www.animesystem.com/forums/
http://www.buckeyeplanet.com/forum/
Quick overview of features
Uses MySQL database to store information.
Stable, fast, easy to deploy and use.
AdminCP interface for managing channels.
Only drawback currently is that you must run multiple bots with the script if you intend to update multiple channels. I will be working on a version that allows 1 bot to update multiple channels.
For those using IRC Channel Manager, making the upgrade is easy, just refer to the installation manual.
Examples attached. Enjoy! ;)
Notice 1:
Ah yes, I forgot to mention the two manual bot commands in the documentation.
As a bot owner, type !refresh to manually refresh the channel. Type !startact to do the initial start of the activity timer. Both these commands should be performed when you first place your bot on the channel or after you rehash it when installing the script. You wont have to run these scripts again, unless your bot exits the channel.
Notice 2:
Your bot will refresh your channel whenever someone leaves, changes nick, joins, is kicked, topic change, or a mode change occurs (such as someone being op'd, voiced, etc.)
On a large traffic intensive channel, this will make your bot very busy. Just be aware of this. I'll plan for a timer-version, where the bot updates every X minutes, in the future.
FAQ
What is an eggdrop?
http://www.eggheads.org/
Will this work with my java IRC client? (pjIRC, etc.)
Read what an eggdrop is. Once you figure it out, you'll know that they are completely independent things.
How do I start up my own IRC channel?
This thread isn't a beginners guide to IRC. For that, refer to Google:
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=beginners+guide+to+irc
Will this work with vB 3.x.x?
More than likely, since there is little modification to vBulletin.
:up:
???`S?LV?R???`
02-15-2004, 07:14 AM
Nice job, I think i can definitly put this to use.
gmarik
02-15-2004, 10:51 AM
Great - is there a manual if I don't know how to start my own IRc channel?
NTLDR
02-15-2004, 01:28 PM
I've installed this and the correct topic appears on my forum home, but I can't get it to list the users. I've done !refresh and !startact but that doesn't seem to make any difference. The topic does however change instantly when I change it.
NTLDR
02-15-2004, 01:58 PM
OK, found the major problem, in irconline.php find and remove:
halfops='".addslashes($halfops)."',
That causes a database error because the column doesn't exisit. Damn me for not checking my email till after I found that problem :p
Velocd
02-15-2004, 02:57 PM
Sorry for the inconvienances, it seems there were a few bugs (specifically I left half-op code while I had deleted the half-op rows in MySQL).
They've been fixed now, and EIM1.2 has been attached.
To upgrade, upload the new irconline.php, and replace the ircrefresh.tcl with the current. Then, do the file edits according to the installation guide for index.php
All is good. :up:
Is this work with vBxirc (https://vborg.vbsupport.ru/showthread.php?t=59612)?
Velocd
02-16-2004, 01:20 PM
Is this work with vBxirc (https://vborg.vbsupport.ru/showthread.php?t=59612)?
.. They are of two completely separate things. vBxIRC is a java IRC client. This is an eggdrop (http://www.eggheads.org/) script.
uomoragno
02-17-2004, 09:32 AM
I've installed this on my forum home, but I can't get it to list the users and the correct topic.
Bot is Up !!! :(
I would like some advices for my problems
Velocd
02-17-2004, 12:58 PM
Did you load the TCL script, by editing your eggdrop.conf and adding:
source scripts/ircrefresh.tcl
At the bottom.
Did you edit the "vb_key" variable value in ircrefresh.tcl to match that of the value in "irconline.php" ?
Did you edit the rest of the configuration in ircrefresh.tcl properly?
uomoragno
02-17-2004, 01:07 PM
my eggdrop.conf:
# source scripts/script.tcl
#source scripts/usc.tcl
source scripts/peak.tcl
source scripts/adver.tcl
source scripts/bseen.tcl
source scripts/nospam.tcl
source scripts/seenit.tcl
source scripts/badword.tcl
source scripts/allvoice.tcl
source scripts/robotman.tcl
source scripts/cervellone.tcl
source scripts/clone_detect.tcl
# Use this script for Tcl and Eggdrop downwards compatibility.
# NOTE: This can also cause problems with some newer scripts.
source scripts/compat.tcl
# This script provides many useful informational functions, like setting
# users' URLs, e-mail address, ICQ numbers, etc. You can modify it to add
# extra entries.
source scripts/userinfo.tcl
loadhelp userinfo.help
source scripts/ircrefresh.tcl
my ircrefresh.tcl
set irc_chan "#mychannel"
# Set activity_wait to the number of
# seconds between updates
set activity_wait 180
set vb_script "http://www.mysite/irconline.php"
set vb_key "test"
my irconline:
error_reporting(E_ALL & ~E_NOTICE);
require_once('./global.php');
$irckey = 'test';
if ($_POST['do'] == 'refresh' && $_POST['key'] == $irckey)
Alien
02-17-2004, 02:45 PM
Hey.. I'm going to be trying this later today, this is exactly what we're looking for...
Question:
Any way I can pull any of the data (such as total # of chatters, topic, or activity level) into the vBadvanced homepage template? :D I'd like to be able to call this data from there too.
version2
02-17-2004, 04:51 PM
Where is the sql table definition? All I see is a way to upgrade if you already have the mirc hack but nothing for new installs. Am I missing it?
version2
02-17-2004, 04:58 PM
Where is the sql table definition? All I see is a way to upgrade if you already have the mirc hack but nothing for new installs. Am I missing it?
Good grief. This is the second time I have totally missed something in a hack. I see it, now. Leaving my original question as an excercise in humility.
Velocd
02-17-2004, 05:11 PM
my ircrefresh.tcl
Quote:
set irc_chan "#mychannel"
# Set activity_wait to the number of
# seconds between updates
set activity_wait 180
set vb_script "http://www.mysite/irconline.php"
set vb_key "test"
my irconline:
Quote:
error_reporting(E_ALL & ~E_NOTICE);
require_once('./global.php');
$irckey = 'test';
if ($_POST['do'] == 'refresh' && $_POST['key'] == $irckey)
uomoragno you are missing the ".com" in your vb_script value.
Make sure your configuration is set exactly as to what values need be. (I'm assuming you didn't actually use "mysite" as your domain :rolleyes: )
Any way I can pull any of the data (such as total # of chatters, topic, or activity level) into the vBadvanced homepage template? I'd like to be able to call this data from there too.
Very easily. Just grab the edits made in index.php of this hack, and place them into your home page index.php. Remember to require the forum global.php (if not done so already). You'll have to do some template edits as well.
uomoragno
02-17-2004, 05:22 PM
set vb_script "http://www.mysite/irconline.php"
this is my error when i write the post
version2
02-17-2004, 05:26 PM
Hmm. Its not grabbing the topic.
Floris
02-17-2004, 09:14 PM
The Eggdrop IRC Manager (EIM) is a TCL script for NIX Eggdrop or Win32 Windrop.
It will allow you to refresh your forum home with information about your channel, such as the nicks currently in it, the record users, and the activity of the channel.
This is a port from my IRC Channel Manager (https://vborg.vbsupport.ru/showthread.php?s=&threadid=60365), yet that hack was for MIRC and had some bugs.
I created a new thread for this hack as the audience is different. Most people seeking eggdrops wont look into the mIRC thread.
The eggdrop version is far better than the former, so I highly recommend you make the switch if you're capable of running eggdrop.
Quick overview of features
Uses MySQL database to store information.
Stable, fast, easy to deploy and use.
AdminCP interface for managing channels.
Only drawback currently is that you must run multiple bots with the script if you intend to update multiple channels. I will be working on a version that allows 1 bot to update multiple channels.
For those using IRC Channel Manager, making the upgrade is easy, just refer to the installation manual.
Examples attached. Enjoy! ;)
Notice 1:
Ah yes, I forgot to mention the two manual bot commands in the documentation.
As a bot owner, type !refresh to manually refresh the channel. Type !startact to do the initial start of the activity timer. Both these commands should be performed when you first place your bot on the channel or after you rehash it when installing the script. You wont have to run these scripts again, unless your bot exits the channel.
Notice 2:
Your bot will refresh your channel whenever someone leaves, changes nick, joines, is kicked, topic change, or a mode change occurs (such as someone being op'd, voiced, etc.)
On a large traffic intensive channel, this will make your bot very busy. Just be aware of this. I'll plan for a timer-version, where the bot updates every X minutes, in the future.
FAQ
What is an eggdrop?
http://www.eggheads.org/
Will this work with my java IRC client? (pjIRC, etc.)
Read what an eggdrop is. Once you figure it out, you'll know that they are completely independent things.
How do I start up my own IRC channel?
This thread isn't a beginners guide to IRC. For that, refer to Google:
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=beginners+guide+to+irc
Will this work with vB 3.x.x?
More than likely, since there is little modification to vBulletin.
:up:
I invite everybody to join the DevCore network.
This is the same network where the vBulletin.org and vBulletinTemplates.com and vBulletin-Germany.com official chat channels are listed. As well as many other channels from vBulletin sites and fan sites and stuff.
You can reach the server through host: irc.devcore.co.uk on port 6667
vBulletin.org : #vBorg
vBulletinTemplates.com : #vBTemplates
vBulletin-Germany.com : #vBGermany
and for the unofficial sites
vBulletin.nl : #vBnl
vBulletin.com : #vBcom (well, unofficial channel anyway right now)
vBulletin-fr.com and vBulletin-french.com : #vBFrench
vBpanel.com : #vBPanel
More: type /list
You are free to start your own channel.
You can do this by joining a none existing channel and register it with ChanServ.
To register a channel, your nickname must be registered with AuthServ first.
/msg authserv help register
/msg authserv help auth
/msg chanserv help register
That will get you started, and hope to see you soon!
We have setup aliasses for the devcore host, one could also use irc.vbulletin.nl and irc.vbulletin-netherlands.com -
To join the DevCore network irc chats, one can use the java chat here on vBulletin.org (see top menu 'chat' link) or goto http://www.vBulletin.nl/community/chat/
See you soon!
We run this hack through mIRC
and soon upgrade to setup our eggdrops to handle it :) Especially when the script can run 1 eggy for multiple channels.
uomoragno
02-17-2004, 09:48 PM
HTTP Package for Eggdrop (preinstalled with latest versions of Eggdrop and Windrop)
As I make knowing if I have this Requirements ?
Velocd
02-18-2004, 12:22 AM
Floris, that's all nice but it's spam to the thread. :ermm:
Also, it's not really necessary to quote my whole first post.
Especially when the script can run 1 eggy for multiple channels.
That's not installed yet, but I will be looking into it. ;)
For anyone who currently has installed this eggdrop on their site and it's working, and if you would allow me to use your forum home as an demonstration to how this thing works in action, please PM me (with a link of your forum home). I'll edit the first post and include the links.
set vb_script "http://www.mysite/irconline.php"
this is my error when i write the post
Yes... that is the wrong syntax.
You need to set the vb_script variable! Set it to where irconline.php is located.
You also need to upload it to your forums directory! For example, you own a site called "mycoolstuff.com", and your forum is located at "mycoolstuff.com/forums".
Then, the correct settings should be:
set vb_script "http://www.mycoolstuff.com/forums/irconline.php"
Quite simple.
Hmm. Its not grabbing the topic.
Try changing the topic, using /topic, and seeing if it refreshed.
Check phpmyadmin to see if there is a value for the topic field. Ensure you have followed the steps correctly.
I'm going to reinstall this hack on my host to ensure I got all bugs out, though I'm quite sure I have.
uomoragno
02-18-2004, 07:18 AM
set vb_script "http://forum.myforum.com/irconline.php"
but the script not write the information into mysql.
Velocd
02-18-2004, 01:43 PM
Uomorango, you're going to have to troubleshoot some.
I can't help you when not knowing the specifics.
PM your irconline.php and ircrefresh.tcl, if you want me to take a look at it.
Alien
02-19-2004, 05:10 AM
Worked flawlessly for me, first time.
Thanks SO much for this. It's now live on our new site! :D
Ravenheart
02-19-2004, 07:15 AM
Would it be possible to make the topic part strip the colours off the topics? It gets extremely long with lots of colour codes in it doh.
I have it working at http://www.cnc-sector.com/system09/forums/index.php? (bar the topic part for now). Ignore the lame colours.. I'm still working on it :p
Great script btw :D
uomoragno
02-19-2004, 07:27 AM
X Ravenheart
eggdrop and board are in the same server ?
Alien
02-19-2004, 12:57 PM
Just noticed something weird.. When it lists out a lot of names from a chat room, it eventually stops and just does alot of , , , , , , ,
What's up with that? Any idea why this occurs? :)
Velocd
02-19-2004, 03:49 PM
Hmm, it might be stripping certain characters that those usernames happen to consist all of.
I'll look into it sometime today, when I have the time.
As for removing color codes, I'll check that out as well.
Ravenheart
02-19-2004, 07:52 PM
X Ravenheart
eggdrop and board are in the same server ?
Different servers. It doesn't matter what server the eggdrop is on due to the fact that the eggdrop script uses the http module to send the details to the vB hack.
Velocd
02-23-2004, 07:34 PM
Just noticed something weird.. When it lists out a lot of names from a chat room, it eventually stops and just does alot of , , , , , , ,
I just recently changed my IRC server for my site, since MIRC-X died, and on the new server, irc.rizon.net, my bot is handling the script much like your case.
It seems it is a server issue, and maybe data is being sent differently. I'll be checking it out.
Velocd
02-24-2004, 06:48 PM
EIM 1.3 has been released.
Bugs fixed:
Incomplete listing of members on forum home (see this post (https://vborg.vbsupport.ru/showpost.php?p=479269&postcount=29))
Note, you will have to recreate your channel through the vBulletin Admincp Irc page in order for this to take effect.
Now strips color, bold, inverse, and underline codes from topic.
To update, just reupload ircadmin.php and overwrite your ircrefresh.tcl with the new file.
Alien
02-24-2004, 07:10 PM
Nice job! Thanks for the update! :)
uomoragno
02-27-2004, 06:36 AM
FINALLY I understand the problem :)
when in the Board --> Unregistered / Not Logged In --> Can View Forum--> NO
the hack don't work :) because th file .php don't execute the query :)
wcbryant
03-06-2004, 01:51 PM
Installed, no problems, with the bot running on a different server. Thanks for the hack! Already clicked install.
Coupled with vbXirc, really ties the chat in as a seemless part of the forums.
dutchbb
03-06-2004, 05:13 PM
A few questions: eggdrop, how do install that? Do I have to ask my host to install this???
Also our IRC server is quicknet.nl , is that compatible with eggdrop?
Velocd
03-06-2004, 11:24 PM
You'll have to do the research yourself on how to install eggdrop, and if your IRC server is compatible.
This thread isn't a support thread for how to install eggdrop.
As quoted from the first post:
What is an eggdrop?
http://www.eggheads.org/
Eggdrop is for unix, while Windrop (http://windrop.sourceforge.net/) is better suited for Windows.
There is also this easier bot to install called Winbot (http://www.winbot.co.uk/), but I don't know if it is compatible with TCL scripts.
Ravenheart
03-07-2004, 09:15 AM
<a href="http://www.egghelp.org/setup.htm" target="_blank">http://www.egghelp.org/setup.htm</a>
Easy instructions on how to set up an eggdrop can be found at the above link.
djohn
03-07-2004, 01:39 PM
Thanks for the hack, it's something that i've been long looking for! The only thing i'd like to ask is how do i add support for half ops in your hack?
er0sion
03-09-2004, 05:06 PM
ive noticed that long topics can throw the formatting of the vbulletin index page off, so in irconline.php i replaced:
$topic = $_POST['topic'];
with:
$topic_maxlength = 50; // max # of topic chars to show
if (strlen($_POST['topic']) > $topic_maxlength) {
$topic = substr($_POST['topic'],0,$topic_maxlength)."...";
}
else {
$topic = $_POST['topic'];
}
so that only 50 characters (plus '...' , so 53 total) will show up from the topic, of course you can increase or decrease the number of characters you want to show you.
this mod is grrrrrreaT! :)
Alien
03-09-2004, 07:13 PM
Can you explain a little more specifically about how the idleness meter works? Mine always stay at idleness, which is misleading when sometimes up to 10-15 of us are having a lively chat.. Can I reduce the math in this to allow it to understand it's actually active? :)
er0sion
03-10-2004, 06:10 PM
Can you explain a little more specifically about how the idleness meter works? Mine always stay at idleness, which is misleading when sometimes up to 10-15 of us are having a lively chat.. Can I reduce the math in this to allow it to understand it's actually active? :)
Alien,
the code in particular you are interested in is in admincp/ircadmin.php, it looks like this:
---- ircadmin.php ------------
if ($channel['activity'] > 100) {
$alevel = 5;
}
else if($channel['activity'] == 0) {
$alevel = 0;
}
else {
$channel['activity'] *= .05;
$alevel = round($channel['activity']);
if ($alevel < 1) {
$alevel = 1;
}
}
--------------------------------
basically, the part you should probably toy around with is the .05 value. $channel['activity'] is the value of the activity (range: 0 - 100+) that the bot will update the database with. This value is determined in ircrefresh.tcl. When the bot decides to update, it will update the database with the value that it currently has. Then ircadmin.php will fetch this value and call it $channel['activity'] and determine which image to display according to this value by multiplying that value * .05 and rounding it. It only does this calculation if ircrefresh reports an activity level < 100, otherwise it will display the 'most active' image.
In your case, since 15 users dont seem to be generating as much activity as you'd like, increasing the .05 should fix your situation. It would be a trial and error method until you get it just right for you channel.
hope this helps :)
- er0sion
Alien
03-11-2004, 06:04 PM
Hey thanks a lot for the detailed response.. I'll certainly play around with the settings and see what I can do! :D
So this is more reliant upon how many users are in the chat, then how many are actually talking/lines of text?
-Jason
er0sion
03-11-2004, 09:54 PM
Well, if you look at the ircrefresh.tcl, (the file loaded by the eggdrop used for monitoring the channel and determining stats) you'll notice the line:
bind pubm - * incr_activity
what this line does is call incr_activity in the channel everytime a message is typed in the channel and the bot sees it.
incr_activity is just the way the eggdrop determines activity, incrementing the activity by 1 on each message detected in the channel. So, depending on how active your channel is (how many people are typing at once) this will increase.
proc incr_activity {nick host hand chan {text ""}} {
global activity irc_chan
if {$chan != $irc_chan} {
return 0
}
incr activity 1
return 0
}
The thing to note, is that, when the bot decides to update the activity, (by writing the activity to the database every 180seconds (2mins)) it will reset the activity back to 0. So maybe change activity_wait (in ircrefresh.tcl) to something like 3 mins or 3 anda half mins, so that your activity will be greater when it gets written to the database. (note: .save and .refresh your bot after doing this). Again, this will be trial and error as well :)
Alien
03-11-2004, 10:00 PM
This is all starting to go past my expertise. ;( hehe...
We actually have a fairly lively chat room, with 10+ people talking regulerly and about 30-40 in there at any given time.. Any recommended settings for the fields specifically? I tried a few things and nothing seemed to change the meter...
Iamtech1
03-11-2004, 11:26 PM
I am stumped. I cant get this to work... ;( and I know its user error. grrrrr...
er0sion
03-12-2004, 08:36 AM
This is all starting to go past my expertise. ;( hehe...
We actually have a fairly lively chat room, with 10+ people talking regulerly and about 30-40 in there at any given time.. Any recommended settings for the fields specifically? I tried a few things and nothing seemed to change the meter...
change incr activity 1
to incr activity 2 :)
er0sion
03-12-2004, 08:37 AM
I am stumped. I cant get this to work... ;( and I know its user error. grrrrr...
where are you having problems?
Velocd
03-15-2004, 01:58 AM
For your problem Alien, you should set the activity_wait variable in the TCL script from the default 180 (3 minutes), to something such as 360 (6 minutes).
If you haven't already fixed it. ;)
This gives the bot a longer sampling time to gauge activity.
Hazzo
03-22-2004, 10:29 PM
Great mod.. Works fine!!
Just a future suggestion--
maybe you can add support for the ! (channel owner) and % (halfops) to this great script..
Velocd
03-23-2004, 12:00 AM
Unfortunantly I don't know how to grab the ! or % users with the eggdrop IRC functions. If I have time I'll look around for how to do so.
Alien
03-23-2004, 04:47 AM
For your problem Alien, you should set the activity_wait variable in the TCL script from the default 180 (3 minutes), to something such as 360 (6 minutes).
If you haven't already fixed it. ;)
This gives the bot a longer sampling time to gauge activity.
Hey been so busy I haven't had time to play with it, I'll give that a try too! Thanks so much!
er0sion
03-23-2004, 05:22 AM
Unfortunantly I don't know how to grab the ! or % users with the eggdrop IRC functions. If I have time I'll look around for how to do so.
eggdrop has a command called ishalfop $user $chan...
as far as chan owner.. i didnt see anything like that..
Velocd
03-23-2004, 10:03 PM
Hmm, I must have overlooked it. I'll put the update in later tonight.
Velocd
03-24-2004, 03:58 AM
Version 1.4 now available.
The only addition is support for half-ops (%).
To upgrade:
1. Upload ircadmin.php and irconline.php. Be sure to re-set the config values in irconline.php.
2. Redo the file edits for your forum root index.php.
3. Overwrite ircrefresh.tcl with the new file. Be sure to re-set the config values.
4. Run the following query in PhpMyAdmin
ALTER TABLE `irc_channel` ADD halfops text not null AFTER operators;
Hazzo
03-24-2004, 10:43 AM
Cool--- great update! :) Now, if we could just figure out the channel owners :)
Couldnt we do someone sortof compare-- like if there nick has a ! in front then they equal admin? What do I know tho....
Anywayz, thanx for the update!
OK, getting this error while in the partyline with the bot
Tcl error [refresh_users]: invalid command name "ishalfop"
Tcl error [check_part]: invalid command name "ishalfop"
I've rechecked, I added the sql, i checked all the code.. But that error seems to come up.. The topic on the forum updates fine, but the users dont..
Any clue?
er0sion
03-24-2004, 08:01 PM
Cool--- great update! :) Now, if we could just figure out the channel owners :)
Couldnt we do someone sortof compare-- like if there nick has a ! in front then they equal admin? What do I know tho....
Anywayz, thanx for the update!
OK, getting this error while in the partyline with the bot
Tcl error [refresh_users]: invalid command name "ishalfop"
Tcl error [check_part]: invalid command name "ishalfop"
I've rechecked, I added the sql, i checked all the code.. But that error seems to come up.. The topic on the forum updates fine, but the users dont..
Any clue?
seems like you might be running an older version of eggdrop that doesnt have the ishalfop command implemented. Maybe try upgrading to the latest eggdrop?
Velocd
03-24-2004, 08:06 PM
I originally coded this hack under linux with eggdrop, and I never noticed the ishalfop in the TCL documentation.
Although when I did this update, it was under windrop, which I noticed the function in the documentation.
Although, I'm sure I just overlooked, and eggdrop does have support.
Hmm for some odd reason i won't update mine either. Everything else works perfect though.
Velocd
03-25-2004, 04:46 PM
If your eggdrop is giving you errors with the ishalfop command, I suggest upgrading your eggdrop.
If it still fails to work, you'll have to cut out halfop support by removing the following code from ircrefresh.tcl (bringing you back down to v1.3):
} elseif {[ishalfop $user $chan]} {
lappend halfops "%$user"
will_lean
04-15-2004, 10:07 AM
Hi i just installed this hack and im new to vb so maybe someone can help me :rolleyes:
My forum doesnt seem to show the block with the users online,
im familiar with eggdrop and the bot loaded the tcl file ok and both keys are set to same number.
ive never created a template before so maybe thats where im going wrong?
Is there a certain way i need to make the irc_loggedin template?
its shows this template under custom templates but not on the forum home?
if i call the irconline file i get a blank page?
any help would be great
Velocd
04-16-2004, 05:42 AM
You get a blank page if you access irconline.php because it is protected. Only $_POST access and the correct key will give you access. But, there is no reason for you to access that file anyway. It's meant only for the bot.
I suggest you review the instructions to make sure all has been done correctly. Make sure the channel is created in your AdminCP irc page.
will_lean
04-16-2004, 09:38 PM
hi ive followed the instructions exactly,i tried installing the irc manager hack first,but that didnt work so i upgraded to the eggdrop version.i dont get any errors but there is no info about the channel displayed,
the bot seems to be able to run the tcl script but it should show the footer block with the info?
why wouldnt the footer channel block be showing up?
Hi guys,
I'm trying to setup the EIM1.4 under vB 3.0.1 and Eggdrop 1.6.15, under linux.
I've followed the installation twice and performed correctly all the vB operation.
I can create #channel via admincp
The template is working well
The database access is working well (displaying 0 everywhere in template)
It seems that the eggdrop script can't update the channel status to the mysql via irconline.php ...
On the eggdrop part, I have correctly load up the scripts/_egghttp.tcl and scripts/_ircrefresh.tcl
When I'm trying to run manual command, nothings append
I got strange error message in logTcl error [check_part]: invalid command name "::http::cleanup"
Any Idea ? maybe my egghttp lib is not the good one ? (egghttp.tcl v1.0.5 - by strikelight)
How can I debug the app ?
Thanks in advance, RCK.
Velocd
04-22-2004, 04:13 PM
I don't know what this egghttp lib is, but I have:
http.tcl,v 1.43.2.3
http::cleanup is a valid command. Maybe you have disabled something in the configuration, or are not loading the library.
I use Windrop, and not currently on my Linux box, so I can't help too much.
Hi VeloCD !
do you know where I can download this version of http.tcl script ?
(I'm using latest version of Eggdrop, and http.tcl don't seems to be present)
I got all the http.tcl package from windrop, I'll try to make them work under eggdrop :)
Just to told you all that I got the script working correctly under eggdrop !
in fact the http.tcl package is integrated in TCL, but I was running one too much older TCL version (8.0, need 8.2)
daFish
04-30-2004, 05:41 AM
Ok i have tried nearly everything but i did not get this to work properly.
The script is in the scripts directory and called by the .conf.
All settings in the files are made but the bot dont refresh the sql table.
Tried the bot commands and nothing happens.
Really strange.
What is your version of eggdrop ? windrop ?
What version of TCL is installed - if you are under linux ?
Question for Velocd :
btw, what is the signification of {} around some nicks ?
daFish
04-30-2004, 07:59 AM
What is your version of eggdrop ? windrop ?
What version of TCL is installed - if you are under linux ?
Eggdrop v1.6.15
TCL v8.3
I'm also running Eggdrop 1.6.15 & TCL-8.3.3 and got no problem.
You should reinstall Eggdrop IRC Manager, and see if you don't forgot anything.
daFish
04-30-2004, 02:53 PM
I'm also running Eggdrop 1.6.15 & TCL-8.3.3 and got no problem.
You should reinstall Eggdrop IRC Manager, and see if you don't forgot anything.
I tried this too.
Double checked each setting, re-added the channel in admincp.
Which log could i check to see if theres trouble?
I tried this too.
Double checked each setting, re-added the channel in admincp.
Which log could i check to see if theres trouble?
Hum, did you recompile eggdrop since you switched to TCL-8.3 ?
about log, the only error message I get was
- when I was log into the partyline via telnet
- in the ./log/eggdrop.conf
(it was one error about missing TCL http command)
daFish
05-01-2004, 01:05 PM
Hum, did you recompile eggdrop since you switched to TCL-8.3 ?
about log, the only error message I get was
- when I was log into the partyline via telnet
- in the ./log/eggdrop.conf
(it was one error about missing TCL http command)
TCL was installed before i used the eggdrop.
daFish
05-08-2004, 12:26 PM
Funny.
I did nothing and its working now. :)
Hi !
Eggdrop IRC Manager is working very well here, except for the activity counter.
I tracked the problem and discovered EIM was using the same Time than on other script.
For the moment I have disable the other script, but it's not a final solution :ermm:
How can I make co-operate those both scripts which are using [utimers] ?
Here are the source of symantec.tcl
Velocd
05-10-2004, 08:04 PM
RCK, the eggdrop utimer function is as follows (from eggdrop documentation):
utimer <seconds> <tcl-command>
Description: executes the given Tcl command after a certain number of
seconds have passed
Returns: a timerID
Module: core
In my script, I didn't take into account that you might be using other scripts that use timers, sorry.
My script creates a utimer, then when a certain amount of seconds pass deletes all utimers, and creates another utimer.. repeating the process indefinitely.
An easy way to fix this is setting a global variable to the return value of the utimer command, which is the timerID, and then only deleting that utimer.
I don't have the time right now, but I'll try to over the weekend.
lifesourcerec
05-11-2004, 11:33 AM
Dunno if this is possible, but a friend runs a channel that already has an eggdrop bot. Is there a way I can pull the info from it? I can give him the .tcl file and then set things up on my end.
Velocd
05-11-2004, 12:43 PM
Yes, that is possible.
lifesourcerec
05-15-2004, 01:54 AM
Anyone know a way to put this at the top of forumhome in it's own table (separate from what's going on)?
Anyone know a way to put this at the top of forumhome in it's own table (separate from what's going on)?It's very easy !
edit template: "Forum Home Templates" > "FORUMHOME"
create one copy of <!-- what's going on box --> block just after $navbar
and keep only what you need:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
etc...
<!-- start logged in IRC -->
$irc_channels
<!-- end logged in IRC -->
etc...
</table>
<!-- end what's going on box -->
<br />
Maikeru
05-22-2004, 02:17 PM
I ran the query:
ALTER TABLE irc_channel DROP COLUMN halfops;
ALTER TABLE irc_channel MODIFY operators TEXT NOT NULL;
ALTER TABLE irc_channel MODIFY voiced TEXT NOT NULL;
ALTER TABLE irc_channel MODIFY users TEXT NOT NULL;
ALTER TABLE irc_channel MODIFY topic VARCHAR(255) NOT NULL;
And this is what happened:
Error
SQL-query :
ALTER TABLE irc_channel DROP COLUMN halfops
MySQL said:
#1091 - Can't DROP 'halfops'. Check that column/key exists
--
What can I do to fix this?
XrayHead
06-08-2004, 04:58 AM
Has anyone got this to work on VB 2.* ?
Velocd
06-12-2004, 01:38 AM
This hack isn't compatible for less than vB3, due to the discrepancies in syntax and functions of both versions.
XrayHead
06-12-2004, 03:51 AM
This hack isn't compatible for less than vB3, due to the discrepancies in syntax and functions of both versions.
That is a real shame as it looks like a A1 hack :disappointed:
Can anyone recomend a good one (that use's Eggdrop) for VB2 that is as good as this one?
Xrayhead
dookie
06-12-2004, 04:33 AM
Hi
Works fine till my server has done a reboot.
After the reboot and restarting my eggdrop the IRC manager doesn?t work anymore.
It still displays the IRC users who were in my channel before the reboot. So there is no refresh.
!startact and !refresh are not working.
dogbomb
06-18-2004, 04:13 PM
Works fine my end after installing http.tcl
Only problem I have encountered is that someone can put HTML into the /title, which can be pretty nasty if someone decided to put:
/title </table></html>
or somesuch.
Not a major problem, as only trusted people should be able to change the topic in the channel anyway, but something worth noting.
Highlander
07-14-2004, 07:36 AM
i also installed eggdrop and the script:
http://spieleplanet.com/board it is nearly everything working, but the activity does always show "IDLE" status.
i read all the hints what has to be chaged, i changged it .. the activity did not change to any active status ..
only this thing semms not working .. i dint know why .. anyone any idea?
greets
High
ChuanSE
07-15-2004, 06:12 AM
Hehehe, installed it many times love this hack dudez ;)
But one thing isn't clear to me? How to get rid of the unknown location on who's online?
Digitainment Spider Unknown Location
/irconline.php?eventid=refresh x.digitainment.org
Blackbeard
07-18-2004, 01:29 AM
This is a great hack we had it working great then upgraded to this eggdrop,(removing script & ircon_rm, ircon_al text files from mIRC directory). Now it will not refresh users, when I /refresh the only thing i see change is the topic.
any help here ?
*Installs*
http://www.learnall-forum.com/forums/index.php?
I am also getting these messages from bot
Database error in vBulletin 3.0.3:
Invalid SQL:
UPDATE `irc_channel`
SET online_max=3, dateline_max=1090145118, operators='@Blckbeard @E @Guardian',
halfops='',
voiced='',
users='',
online=3
WHERE handle='#learnall'
mysql error: Unknown column 'halfops' in 'field list'
mysql error number: 1054
I just noticed that I have 2 IRC Channel Managers in admin cp
Hialls
07-28-2004, 09:28 PM
Is there any reason for my topic not to be shown?
lifesourcerec
07-29-2004, 03:15 AM
IT use to work, now I get this:
[06:12] Tcl error in file 'eggdrop.conf':
[06:12] can't find package http
while executing
"package require http"
(file "scripts/ircrefresh.tcl" line 33)
invoked from within
"source scripts/ircrefresh.tcl"
(file "eggdrop.conf" line 1324)
[06:12] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
ChuanSE
07-29-2004, 05:22 AM
IT use to work, now I get this:
there is a error on line xxx of your config file
so OR you have a typo in the source scripts/egghttp.tcl
OR you have (re)moved the egghttp.tcl
Check that config file, if ya need help, lemme know
ChuanSE
07-29-2004, 05:23 AM
Is there any reason for my topic not to be shown?
which was...?
lifesourcerec
07-29-2004, 04:52 PM
there is a error on line xxx of your config file
so OR you have a typo in the source scripts/egghttp.tcl
OR you have (re)moved the egghttp.tcl
Check that config file, if ya need help, lemme know
there never have been an source egghttp.tcl . Installed it and still same problem. This is line 33
"package require http"
Blackbeard
07-29-2004, 09:48 PM
i did the upgrade for this but made the mistake in not removing it all first, sorted out my problems with database error with alot of help from chuanSE, but am now getting 2 who's in chat boxes, whats wrong here???
see attachment
Blackbeard
08-06-2004, 04:33 PM
i did the upgrade for this but made the mistake in not removing it all first, sorted out my problems with database error with alot of help from chuanSE, but am now getting 2 who's in chat boxes, whats wrong here???
see attachment
i have uninstalled the hack, gone into phpmyadmin and dropped irc_channel and started afresh, but iam still getting 2 chat bars any idea why?
lifesourcerec
08-09-2004, 04:34 PM
any way around getting "package require http" to work?
lifesourcerec
08-09-2004, 07:07 PM
Ok. I found out the problem (I think) which turns out to be a bug
5.3. wrapped application can't access Tcl library packages http1.0 or http2.0
Bug ID 399
The manifestation of this bug is that your wrapped application gets the error message, "can't find package http 2.0" when it calls the command:
package require http 2.0
Although the set of files in the "http" package are indeed wrapped as part of the Tcl 8.0 library script files, the package mechanism employs the "glob" command to locate packages in subdirectories of entries in the "auto_path" variable. And since "glob" command does not recognize wrapped files or directories (see Bug ID 348), any packages that may exist in directories listed in the "auto_path" variable are not found.
Work Around:
A simple workaround to this problem is to add the following argument to your prowrap command line:
-code "lappend auto_path lib/tcl8.0/http2.0"
But still don't know how to fix it.
StarBuG
08-19-2004, 07:04 AM
Hi
Just wanna ask if you still planing to release the timer version of your script cause I have a very busy channel and my bot has other functions too :D
StarBuG
Isaiah33
08-23-2004, 02:24 AM
i am getting the same error with windrop any fix yet
lifesourcerec
08-30-2004, 03:04 AM
Got it working, but it only pull the topic and nothing else. How can that be fixed?
lifesourcerec
08-30-2004, 03:38 AM
deleted the irc_channel table and re-installed it, now it's not picking up anything.
venomx
09-20-2004, 02:53 PM
Velcod seems to have given up on suporting all of his hacks.
Velocd
09-20-2004, 07:06 PM
Sorry, my schedule has been very busy, and as so I've had no time in the past month or so to attend modifcations on vB.org.
I didn't know I still had the "guarantee label" on my modifications. This has been made apparent, but I'll officially say I am no longer supporting any of my hacks, untill I have some free time on my daily agenda (which isn't going to be for awhile).
Have a good day. ;)
venomx
09-21-2004, 01:39 AM
Hey I understand the no time thing. Just nice to know you are too busy and just not ignoring us. :P
Great script, installed! ^^;
In this line:
<div style="white-space: nowrap">Most users in the chat was $channel[online_max] on $channel[date_max] at $channel[time_max].<br />
Topic: <i>$channel[topic]</i></div>
I found that if I removed the style="white-space: nowrap" from the DIV tag, it fixed a bug I had with topics braking the table if they where to long.
Just a friendly tip.
ChessMess
09-24-2004, 03:15 AM
Works, save the topic doesn't come across. No idea why it doesn't.
Borgs8472
10-07-2004, 01:09 AM
Hey everyone!
I installed all the board end componet sucessfully, and I -think- I set all my eggdrop (windrop) options correctly.
However the forumhome list hasn't been touched, and I've obviously overlooked something. :(
Does anyone have a bare-bones eggdrop config they could post for the likes of poor me? PLLLLLLLLLEASE :D :D :D
plauderer
11-07-2004, 04:04 AM
i am using coloured topics in irc channel , is there a way that the topic could be displayed correctly on the board because the board only printed out the irc colour commands not the colour itself on board !?
Hoffi
11-10-2004, 12:47 PM
We are running BS-Logger 1.6.16 and it seems that there is missing a http Package. Anybody Knows where we can get it?
plauderer
11-11-2004, 04:43 PM
here is you http.tcl you needed hf , hope you could help me with coloured topics to be shown in board
wcbryant
11-14-2004, 01:50 PM
Recently I discovered that only ops, halfops and voiced users were showing up on the "Who's Online" area.
So if there were 7 people chatting, two were ops, one was voiced, and the rest were regular users, it would look like this;
@Op-1, @Op2, +Voiced1, , , ,
I've looked over everything, and can't figure out what's gone wrong. It used to work fine, and I can only assume that maybe another hack is somehow interfering with $users/$user, but I don't know where or how.
Any thoughts? It's driving me nuts.
Does the eggdrop have to be on the same server that the forums are on?
wcbryant
11-17-2004, 04:55 PM
Does the eggdrop have to be on the same server that the forums are on?
No, it doesn't.
Anyone have any ideas on the blank usernames?
JohnBee
11-26-2004, 01:20 AM
I installed this hack. vB 3.0.3 ,WinXP SP2
I'm using the lates Win/Eggdrop v1.6.17 , configured the .tcl and added the call
in the .conf file as indicated.
built the tables did the mods as shown everything shows up, the bot loads the sript
the script does nothing. The irc tables are still empy.
anyone have any ideas?
my BBS is closed to public, if that means anything
Luciolle
11-26-2004, 03:49 PM
Ok I have a little newbie question, I read all message for this hack, but I still have a question:
If you have HTACCESS on your (adress of board/forums/) folder, you know the browser now don't accept the adresse like that (http://login:pass@adresse) you have solution for this kind of problem ?
Thanks for your help
Luciolle
11-28-2004, 08:16 PM
Nobody to help me on this ?
JohnBee
11-28-2004, 09:12 PM
this hack is dead.
apparently the coder decided to stop supporting it.
it doesnt look like it works with 3.0.3 either.
I use .htaccess on my site the .tcl script from eggdrop has no way
of getting http auth. to pass through the security and update the
tables (this is one problem) another is that if you don't have guest
browsing enabled I don't think the script can update the tables either.
I tried both hacks from this same maker and they both did the same
thing.
We need another person to take over the project and fix it.
wcbryant
12-07-2004, 12:12 AM
I'm still having this same problem. I'll keep checking the thread once a week or so to see if anyone has any ideas. I'm not in a huge rush, just want to be clear that this is an ongoing problem, even if someone reads this a month from now.
Recently I discovered that only ops, halfops and voiced users were showing up on the "Who's Online" area.
So if there were 7 people chatting, two were ops, one was voiced, and the rest were regular users, it would look like this;
@Op-1, @Op2, +Voiced1, , , ,
I've looked over everything, and can't figure out what's gone wrong. It used to work fine, and I can only assume that maybe another hack is somehow interfering with $users/$user, but I don't know where or how.
Any thoughts? It's driving me nuts.
TheShell
12-08-2004, 10:32 AM
Seas ..
Nice Hack but i have found some errors.
Take a look at the Whois Online when a User is named with this one -> "[ ]" like "[Clan]Username". That will be displayed like "{[Clan]Username}" ??
Greetings ...
TheShell
12-08-2004, 04:18 PM
Next Bug ->
HalfOps have to marked with "%" but they were displayed with "@" !? Why? :ermm:
Greetings ..
belinea
02-07-2005, 04:50 PM
FINALLY I understand the problem :)
when in the Board --> Unregistered / Not Logged In --> Can View Forum--> NO
the hack don't work :) because th file .php don't execute the query :)
Is there any chance to get EIM1.4 working with "Unregistered / Not Logged In --> Can View Forum--> NO" ???
ChuanSE
02-09-2005, 06:22 AM
You just gotta love this hack :D
lifesourcerec
02-09-2005, 05:23 PM
For some reason, the bot won't load anymore, so I have to revert back to mIRC version.
T3MEDIA
02-09-2005, 06:31 PM
this hack is dead.
apparently the coder decided to stop supporting it.
it doesnt look like it works with 3.0.3 either.
I use .htaccess on my site the .tcl script from eggdrop has no way
of getting http auth. to pass through the security and update the
tables (this is one problem) another is that if you don't have guest
browsing enabled I don't think the script can update the tables either.
I tried both hacks from this same maker and they both did the same
thing.
We need another person to take over the project and fix it.
Thank GOD I read before I installed.
lifesourcerec
02-09-2005, 06:37 PM
this hack is dead.
apparently the coder decided to stop supporting it.
it doesnt look like it works with 3.0.3 either.
I use .htaccess on my site the .tcl script from eggdrop has no way
of getting http auth. to pass through the security and update the
tables (this is one problem) another is that if you don't have guest
browsing enabled I don't think the script can update the tables either.
I tried both hacks from this same maker and they both did the same
thing.
We need another person to take over the project and fix it.
That's the problem I was having with the bot loading.
lebanon
02-18-2005, 04:36 PM
i installed this few hours ago , the bot is not posting appearantly , but i had no errors , and i have guests can view forum already , i tried removing htaccess files as well but nothing yet ! the board still has the tables empty !
I use 3.0.6 now (used it with 3.0.3 before) and it works perfectly. My botmaster says that the TCL script is bugged, he can't find it tough. But it does work. :P
lifesourcerec
02-18-2005, 09:04 PM
I just removed it and installed flashchat. Problem solved.
Hazzo
03-01-2005, 01:05 PM
Ok I have a little newbie question, I read all message for this hack, but I still have a question:
If you have HTACCESS on your (adress of board/forums/) folder, you know the browser now don't accept the adresse like that (http://login:pass@adresse) you have solution for this kind of problem ?
Thanks for your help
Simple solution to this problem..
/yoursite/forum/ << protected htaccess dir
/yoursite/irc_addon/ << unprotected htaccess dir
put the following files into the /yoursite/irc_addon/ dir
module_irc.tcl
module_irc.php
That should get you by the htaccess issue.
Hazzo
03-01-2005, 01:10 PM
I use 3.0.6 now (used it with 3.0.3 before) and it works perfectly. My botmaster says that the TCL script is bugged, he can't find it tough. But it does work. :P
Been using this script for awhile now.
only issues I have found:
channel ADMINS are not reconigized correctly
otherwise the script is working fine on vb3.03, vb 3.06 and vb 3.07 on some of those sites w/ htaccess
All I can say, you people having troubles--
make sure you got the password set in the files, make sure you are not trying to pass the info threw a htaccess folder and make sure the sql info is correct..
be sure and do the !startact / !refresh commands as well..
should work for you, unless I am a lucky one :)
hXc Radio
03-02-2005, 02:59 AM
change incr activity 1
to incr activity 2 :)
so I got it all installed but it does not show any info
both keys are the same.. but I get no info on forumhome
and on partyline when doing !refresh in the channel i see
[20:56] Tcl error [refresh_users]: invalid command name "p@ssie"
any help please?
Reimer
03-18-2005, 07:44 PM
A small note about security:
In the moment users, who have the permission to change the topic in the channel, can add their own JavaScript code to the website by changing the website. In the moment the results are not parsed through htmlspecialchars. In a few minutes our admin will be redirect to our *h4ck4d by* Website on a different server, but I guess that he will be shocked for a few seconds ;)
AxEsLoCkEd
03-19-2005, 09:25 AM
How can i add & and ~ modes for operators. and max users in chan :) and some random quotes actually i only need & and ~ right now :)
packzz
04-29-2005, 07:35 AM
so I got it all installed but it does not show any info
both keys are the same.. but I get no info on forumhome
and on partyline when doing !refresh in the channel i see
[20:56] Tcl error [refresh_users]: invalid command name "p@ssie"
any help please?
Make sure when you pasted the script to whever you pasted it you didn't leave any extra spaces. I did by accident, I had one line going over to a new line, i back spaced it and everything works fine now :)
khurt
05-03-2005, 12:29 AM
Recently I discovered that only ops, halfops and voiced users were showing up on the "Who's Online" area.
So if there were 7 people chatting, two were ops, one was voiced, and the rest were regular users, it would look like this;
@Op-1, @Op2, +Voiced1, , , ,
I've looked over everything, and can't figure out what's gone wrong. It used to work fine, and I can only assume that maybe another hack is somehow interfering with $users/$user, but I don't know where or how.
Any thoughts? It's driving me nuts.
I didn't notice a reply to this (my apologies if I missed it) and I'm not sure if people are still having this problem, but this is what I did:
You want to take a look at your vbulletin index file and the section of code that velocd told you to add. He has it setup to look at four different items: ops, half-ops, voiced and users. However, in the admincp, there isn't a place to indicate a style for half-ops. So, as the code in index.php tried to apply a style to each set of users, it has nothing to apply to the regular users (which is the last group in his setup).
Your options:
A) manually adjust the entry in your database to account for all 4 groups
or
B) remove all reference to half-ops in your vbulletin/index.php file and renumber the 2 lower groups (voiced = $nick_style[1], users = $nick_style[2])
Splinter77
05-04-2005, 07:39 PM
Hi boys I urgently have needs help, have I shaped everything but on my home the chat doesn't appear under as it had to appear how come that I have to still do?
A thing I don't understand in the guide where it says New Create template, irc_loggedin where I have to go to create on the db or on the panel of the forum?
Because I have created on the db in homeforum and it doesn't appear anything
From my site XBOX (http://www.xbox-inf.org/forum)
Mikal
05-24-2005, 04:56 PM
Hi boys I urgently have needs help, have I shaped everything but on my home the chat doesn't appear under as it had to appear how come that I have to still do?
A thing I don't understand in the guide where it says New Create template, irc_loggedin where I have to go to create on the db or on the panel of the forum?
Because I have created on the db in homeforum and it doesn't appear anything
From my site XBOX (http://www.xbox-inf.org/forum)
you have to create the template in your forum within you admin page. look under styles & templates :)
Mikal
05-24-2005, 05:00 PM
I have a question. I use vbportal and I would like to make this into a block, so that I can use it on the front page, instead of forumhome.......I'm not a coder or anything like that, so if there's someone here that can tell me if its possible to show this irc info in a block. and maybe tell me how to do it..
Thanks in advance. :)
Fusion.nl
05-26-2005, 10:47 PM
Sweet hack!
/me clicks install
Forum-Style
06-02-2005, 06:25 PM
for recognising oper'd users, you can do if{iso ..... (iso is the oper version of isop)
if that helps at all :) I ended up putting a line and manually inputting nicks (if($nick = me||$nick = him) etc.
Activity isn't being passed into my sql :( did just after installing. so dont know where to go from that. may just remove that idle image all together. Got a base tho so can modify for the next vb version. :)
my channel's not that active anyway but i thought it would read something atleast.
Snort_2005
06-05-2005, 02:07 AM
Nice.. The only thing I need is the ~ and & to show up for me. -_-
Exactly.... since i'm owner of the chan, I only show up as a normal user.
I'm also using one the latest versions of eggdrop, but i get the ishalfop command error in the party line. :/
Carnage
07-04-2005, 04:09 PM
unreal ircd's ~ and & modes aren't supported by most things at the moment. This is your problem. I at one point attempted to write some code of my own to deal with this problem based off the smart irc php class. Perhaps i should code that up to a releasable script package...
edit:
having spent the past 8hrs coding, i've finially got a working ircbot that handles unreal ircd correctly. Expect a full release of something when i've finnished the vb side of things. (nb my bot is NOT an eggdrop.)
Hi all !
Has any one got an solution for implementing this nice Hack into vBAdvanced Portal home ?
Thx 4 ideas
od3m
Vizionz
08-17-2005, 09:13 AM
Someone port this to 3.50
Yeah is there a 3.5 Port already :)
khurt
10-16-2005, 03:09 AM
Yeah is there a 3.5 Port already :)
In the part of this hack that modifies the forum index page, the original instructions tell you to add this...
$channels = $DB_site->query("
SELECT *
FROM `irc_channel`
");
while ($channel = $DB_site->fetch_array($channels))
For 3.5, it should be changed to this...
$channels = $db->query_read("
SELECT *
FROM `irc_channel`
");
while ($channel = $db->fetch_array($channels))
note: I just included the first couple of lines from the code he tells you to add to index.php because that's the only part that changes. Everything else seems to work fine.
Anti-Gremlin
10-19-2005, 01:23 AM
Here is a fix to get it work on 3.5.0
Make sure you compare to Velocd's version to know exactly where to place it./////////// Eggdrop IRC Manager - By Velocd ///////////
// Modified by Anti-Gremlin //
$channels = $db->query("SELECT * FROM `irc_channel`");
while ($channel = $db->fetch_array($channels))
{
$nick_style = explode('||', $channel['nick_style']);
$ops = explode(' ', $channel['operators']);
$halfops = explode(' ', $channel['halfops']);
$voiced = explode(' ', $channel['voiced']);
$users = explode(' ', $channel['users']);
if (!empty($ops[0]))
{
foreach ($ops AS $op)
{
$channel['nick_list'] .= str_replace('{nick}', $op, $nick_style[0] . ', ');
}
}
if (!empty($halfops[0]))
{
foreach ($halfops AS $halfop)
{
$channel['nick_list'] .= str_replace('{nick}', $halfop, $nick_style[1] . ', ');
}
}
if (!empty($voiced[0]))
{
foreach ($voiced AS $voice)
{
$channel['nick_list'] .= str_replace('{nick}', $voice, $nick_style[2]) . ', ';
}
}
if (!empty($users[0]))
{
foreach ($users AS $user)
{
$channel['nick_list'] .= str_replace('{nick}', $user, $nick_style[3]) . ', ';
}
}
$channel['nick_list'] = substr($channel['nick_list'], 0, -2);
if ($channel['activity'] > 100)
{
$channel['alevel'] = 5;
}
else if($channel['activity'] == 0)
{
$channel['alevel'] = 0;
}
else
{
$channel['activity'] *= .05;
$channel['alevel'] = round($channel['activity']);
if ($channel['alevel'] < 1)
{
$channel['alevel'] = 1;
}
}
$channel['aname'] = $channel["act$channel[alevel]"];
$channel['online_max'] = number_format($channel['online_max']);
$channel['online'] = number_format($channel['online']);
$channel['date_max'] = vbdate($vbulletin->options['dateformat'], $channel['dateline_max']);
$channel['time_max'] = vbdate($vbulletin->options['timeformat'], $channel['dateline_max']);
eval('$irc_channels .= "' . fetch_template('irc_loggedin') . '";');
unset($channel['nick_list']);
}
well unfortunatly it seems not working
maybe someone can make a working product out of it? :)
Man1c M0g
10-28-2005, 08:11 PM
Yeah is there a 3.5 Port already :)
Care to tell us where? Other people have posted code snippets, but nothing solid enough to make into a fully working hack...
lanc3lot
11-29-2005, 06:26 PM
Any update on this for 3.5.0?
Mikal
01-07-2006, 01:52 AM
I need some help on where to put the code in admincp/index.php for 3.5.0
as my index doesnt match the installation guide. can someone help me on where to put the code?
path/to/forums/admincp/index.php, find:
// *************************************************
$printhr = false;
if (can_administer('canadminusers'))
Above, paste the following:
construct_nav_spacer();
construct_nav_option('Manage', 'ircadmin.php?do=manage', '|');
construct_nav_group('IRC Channels');
construct_nav_spacer();
But I cant find it, so I tried after my best efforts to put the code in, but I get this error in admincp
Fatal error: Call to a member function on a non-object in /home/y-10147/www/forums/admincp/ircadmin.php on line 83
I have had installed with 3.0 which worked fine, but I would be nice if I could get it to work with 3.5.0
Thanks in advance! :)
neutek
01-26-2006, 05:21 AM
Call to a member function on a non-object in /// on line 239
how can i get this working
please :)
bubba01
02-19-2006, 04:45 PM
will try it out :)
ian@TS
03-09-2006, 04:46 PM
Call to a member function on a non-object in /// on line 239
Stick
global $db;
at the very beginning of the code, works for me :)
Nizam
03-14-2006, 10:44 AM
I would also like to know if there is a 3.5 port for this.
HondaATC
07-31-2006, 12:11 AM
any update on a 3.5 version?
ChuanSE
07-31-2006, 12:23 AM
i hope so
Floris
04-16-2008, 05:09 PM
Will there be an update for 3.6 and pref. 3.7 ?
sparkster666
07-31-2008, 11:06 PM
3.7 would be nice
tweakmonkey
08-18-2008, 06:51 PM
Will there be an update for 3.6 and pref. 3.7 ?
3.7 would be nice
Use this one for 3.7:
https://vborg.vbsupport.ru/showthread.php?t=110362
PaulSonny
08-20-2008, 05:33 AM
The developer was last online in 2005, how do this affect being able to port a modification over?
Thanks, Paul.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.