Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Eggdrop Irc Manager Details »»
Eggdrop Irc Manager
Version: 1.0.0.1, by Akex Akex is offline
Developer Last Online: Jan 2008 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-13-2006 Last Update: 03-14-2006 Installs: 55
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

Informations

Port of Velocd hacks here : https://vborg.vbsupport.ru/showthrea...threadid=61570

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).

All you need is an eggdrop : http://www.egghelp.org/ and a channel to scan .

Installation

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.

Demos

http://forum.vbulletin-fr.org/

Support

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 .
** Don't forget to click install

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 03-19-2006, 02:37 PM
mikeylikesitz's Avatar
mikeylikesitz mikeylikesitz is offline
 
Join Date: Apr 2002
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, they are all set and everything matches
Reply With Quote
  #33  
Old 03-19-2006, 03:34 PM
El_Muerte's Avatar
El_Muerte El_Muerte is offline
 
Join Date: Nov 2001
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[feature request]
Add an irc channel setting to ignore a set of usernames.
Reply With Quote
  #34  
Old 03-19-2006, 06:57 PM
Akex Akex is offline
 
Join Date: Jul 2003
Location: France
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mikeylikesitz
yes, they are all set and everything matches
Maybe the http module is not loaded ... which version of eggdrop do you use ?


Quote:
Originally Posted by El_Muerte
[feature request]
Add an irc channel setting to ignore a set of usernames.

I was thinking about it , as I don't want my eggdrop username to be displayed.
Reply With Quote
  #35  
Old 03-19-2006, 07:05 PM
mikeylikesitz's Avatar
mikeylikesitz mikeylikesitz is offline
 
Join Date: Apr 2002
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

eggdrop v1.6.17: I havent thought to look to make sure the http module isnt loaded, ill look thru the config and check.

Edit: i dont have the http module, do you have a link to one to use?
Reply With Quote
  #36  
Old 03-19-2006, 07:47 PM
Akex Akex is offline
 
Join Date: Jul 2003
Location: France
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

eggdrop v1.6.17, http is loaded with the eggdrop, so it's not the problem .


In irconline.php

under

PHP Code:
require_once('./global.php'); 
Add this :

Code:
$tmp = fopen("ircdebug.txt", "a");
fwrite($tmp, $_POST['activity']);
fclose($tmp);
It's just for debug purpose.


Then write !startact, and live your channel. This action will make the eggdrop call the irconline.php.

Then look at ircdebug.txt on your ftp and see if it exists and something written in it .
Reply With Quote
  #37  
Old 03-19-2006, 08:00 PM
mikeylikesitz's Avatar
mikeylikesitz mikeylikesitz is offline
 
Join Date: Apr 2002
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

are we sure it loads with eggdrop? any other ideas?
Reply With Quote
  #38  
Old 03-19-2006, 08:16 PM
Akex Akex is offline
 
Join Date: Jul 2003
Location: France
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try the file modification I put above and say me if something is created (it should take some minutes to refresh and write in the file).
Reply With Quote
  #39  
Old 03-19-2006, 08:33 PM
mikeylikesitz's Avatar
mikeylikesitz mikeylikesitz is offline
 
Join Date: Apr 2002
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i dont see that it created a debug file anywhere. I have the irconline.php file in my forum root dir and the ircrefresh.tcl in my bot scripts dir just to give you an idea of where im at
Reply With Quote
  #40  
Old 03-19-2006, 08:52 PM
Akex Akex is offline
 
Join Date: Jul 2003
Location: France
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems ircrefresh.tcl can't call irconline.php . Can't do anything about that.
Reply With Quote
  #41  
Old 03-19-2006, 09:12 PM
mikeylikesitz's Avatar
mikeylikesitz mikeylikesitz is offline
 
Join Date: Apr 2002
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, i dont see any reason it cant. its a dedicated server with the bot runing from my /home and the www running from apache on same machine, there isnt any blocking that im aware of.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:47 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06443 seconds
  • Memory Usage 2,316KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete