vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Eggdrop Irc Manager (https://vborg.vbsupport.ru/showthread.php?t=110362)

Akex 03-13-2006 10:00 PM

Eggdrop Irc Manager
 
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 ;)

Akex 03-14-2006 05:24 PM

No need of template modifications as I created a plugin which modifies the forumhome template.

If you can't manage to get the forumhome template edited do this :

Template forumhome :

Find :

Code:

<!-- end logged-in users -->
Below add :

Code:

<!-- start logged in IRC -->

$irc_channels

<!-- end logged in IRC -->'


Hoffi 03-14-2006 06:45 PM

Ah... So I do not need to release my Port I just wanted to do yet. ;)

bang 03-14-2006 07:52 PM

if your port has any additional features, please release it! :)

Akex 03-14-2006 08:19 PM

You can be sure I will do it.

XanTrax 03-15-2006 04:11 AM

Apparently dreamhost doesnt allow an eggdrop on their hosting. Can anyone else confirm this?

soulface 03-15-2006 05:08 AM

aaahhhhh, been waiting for this...

[high]* soulface installed & working gr8[/high]

Just need to fix this :p

Page generated in 0.53140 seconds with 44 queries (1 queries for uncached templates) [Server Loads: 0.15 0.15 : 0.10]
Uncached templates: irc_loggedin (1)

Code:

<plugins>
        <plugin active="1" product="vbulletin">
                <title>Cache irc_loggedin</title>
                <hookname>cache_templates</hookname>
                <phpcode><![CDATA[$globaltemplates = array_merge($globaltemplates, array('irc_loggedin'));]]></phpcode>
        </plugin>
</plugins>


PitchouneN64ngc 03-15-2006 06:40 AM

More simple to include this plugin in the style_fetch hook with this code:

PHP Code:

$globaltemplates[] = 'irc_loggedin'

Akex, I've put this modification on vbulletin-fr.org, you can get in from there :)

Akex 03-15-2006 08:28 AM

Well, I just forgot to put this :/, I wanted to but as lot of stuff do to, I forgot.

Will fix it in the next version :).

Akex 03-15-2006 09:44 AM

New version : 1.0.0.1 see the changelog above :).


All times are GMT. The time now is 05:38 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01253 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete