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
  #52  
Old 03-25-2006, 06:42 PM
Akex Akex is offline
 
Join Date: Jul 2003
Location: France
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you may mean "don't include the trailing ;" . I edit my instructions as I did not notice this mistake.


You didn't have to read the code to find this . As I said, if template auto edit doesn't work, edit forumhome template like said on this post :

https://vborg.vbsupport.ru/showpost....75&postcount=2
Reply With Quote
  #53  
Old 03-25-2006, 10:32 PM
XanTrax XanTrax is offline
 
Join Date: Aug 2005
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tried that...Still wont work.
Reply With Quote
  #54  
Old 03-25-2006, 10:42 PM
XanTrax XanTrax is offline
 
Join Date: Aug 2005
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok got it working. I guess it just needed to wait for it to refresh and get the info before it actually printed everything. Thanks for all your help.
Reply With Quote
  #55  
Old 05-08-2006, 08:12 PM
jancarlo jancarlo is offline
 
Join Date: Feb 2003
Location: Italia
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you! Installed.

A problem, if I close the usergrup not loged and not register, “Can View Forum” does not modernize the list to me user.

jancarlo
Reply With Quote
  #56  
Old 05-26-2006, 12:30 PM
dookie dookie is offline
 
Join Date: Jun 2003
Location: Germany
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice, *installed*

When a user has ] or/and [ in his nickname, it shows the brackets { }.
Any ideas?

Reply With Quote
  #57  
Old 05-26-2006, 12:47 PM
Royalridge Royalridge is offline
 
Join Date: Oct 2004
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dookie
Very nice, *installed*

When a user has ] or/and [ in his nickname, it shows the brackets { }.
Any ideas?

It's to do with the way TCL (the scripting eggdrop uses) handles escaping characters. Rather than doing something like \[ to show a bracket it wraps the whole string in braces {}
Reply With Quote
  #58  
Old 05-26-2006, 01:50 PM
dookie dookie is offline
 
Join Date: Jun 2003
Location: Germany
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it

Search
Code:
if {[onchan $user $chan]} {
			incr num_users

			if {[isop $user $chan]} {
				lappend ops "@$user"
			} elseif {[ishalfop $user $chan]} {
				lappend halfops "%$user"
			} elseif {[isvoice $user $chan]} {
				lappend voiced "+$user"
			} else {
				lappend normal $user
			}
		}
And replace it with:
Code:
if {[onchan $user $chan]} {
			incr num_users

			if {[isop $user $chan]} {
				append ops "@$user "
			} elseif {[ishalfop $user $chan]} {
				append halfops "%$user "
			} elseif {[isvoice $user $chan]} {
				append voiced "+$user "
			} else {
				append normal "$user "
			}
		}
Reply With Quote
  #59  
Old 11-08-2006, 04:02 PM
Snatch Snatch is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use eggdrop 1.6.18 since one day. Now he shows me on the Forum the Topic of the chan but not the Users.

Can U halp plz?
Reply With Quote
  #60  
Old 11-09-2006, 04:26 PM
Snatch Snatch is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this hack run in 3.6.2 ?
Reply With Quote
  #61  
Old 01-09-2007, 06:37 PM
Cocko Cocko is offline
 
Join Date: Oct 2006
Location: Germany
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Snatch View Post
Does this hack run in 3.6.2 ?
anybody tried for 3.6.x ?
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:13 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.04616 seconds
  • Memory Usage 2,312KB
  • 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
  • (2)bbcode_code
  • (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