I needed this hack on my forum and I decided to share it with you
I didn't create any code, just modified it to suit vBulletin 3.5.x code, and added phrases to allow quick translation .
Description
A script which report your channel activity on you forum homepage. It give informations about ops, halfops, voice, normal users, topic, channel activity.
It will put theses infos under whosonline row in forumhome. You can see on the demo (bottom of this post), that the informations are under navbar (will put it in next version).
1 : Upload all files in forum root folder to your ftp (follow the folder hierarchy)
2 : Import the product in vBulletin (product-eggdrop_irc_manager.xml)
3 : Go to admincp > vBulletin Options > Eggdrop irc manager options and edit irckey.
4 : Edit ircrefresh.tcl, set the irckey (same as above), path of irconline.php, channel
5 : Upload ircrefresh.tcl to your eggdropt script forlder
For Eggdrop, usually "/home/{username}/eggdrop/scripts"
For Windrop, usually "c:\windrop\scripts"
6 : Modify your eggdrop conf, add "sources scripts/ircrefresh.tcl" at the bottom of the file
7 : Rehash your eggdrop (.rehash in dcc window in mirc)
8 : First things to do after installation :
First refresh your admincp , then go to irc channels menu and set a new channel.
Quote:
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.
Don't ask how to set up an irc channel (it's not the purpose of this topic)
Don't ask how to set up an eggdrop : http://www.egghelp.org/
Changelog
=============== 1.0.0.1 ===============
Adding of two options (Admincp > vBulletin Options > Eggdrop irc manager)
Irckey : Do not need to edit irconline.php anymore, just set the key in admincp
Irc informations position : You have now 4 diff?rent positions (Not sure it works if you edited FORUMHOME template) : Below navbar, above forum, below forum, below who's online.
Bug fix :
Template caching
Alteration of FORUMHOME template in plugin (forgot to put the code in ...) try to remove FORUMHOME modifcations you made with this script and test 'Irc informations position' option .
Ok I forgot to put in my first post the first things to do after install ...
I update it ...
Quote:
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.
My egg is working ok and it is sending information to the irconeline.php, so the IRC part whould be just fine. I just can't get this to show anything in the forum. It does not change the FORUMHOME template for whatever reason so I have been trying to add that $irc_channels in various places in the FORUMHOME, but nothing shows up. I don't get any errors either.
Any ideas??
----
Okey I got it working
Funny thing, I never logged out from admin after importing the product and stuff. So it never gave me the menu where to set the channel. So I had not done that and I realized it from looking at the screen shots. Perhaps it should say in the instructions, for us dummies, that you might need to logout and login to get all the new menus
My egg is working ok and it is sending information to the irconeline.php, so the IRC part whould be just fine. I just can't get this to show anything in the forum. It does not change the FORUMHOME template for whatever reason so I have been trying to add that $irc_channels in various places in the FORUMHOME, but nothing shows up. I don't get any errors either.
Any ideas??
----
Okey I got it working
Funny thing, I never logged out from admin after importing the product and stuff. So it never gave me the menu where to set the channel. So I had not done that and I realized it from looking at the screen shots. Perhaps it should say in the instructions, for us dummies, that you might need to logout and login to get all the new menus
You have to set : in ircrefresh.tcl : the url, the key also (has to be the same than the one defined in admincp/vBulletin Options/eggdrop irc manager options) ...