vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Eggdrop IRC Manager (https://vborg.vbsupport.ru/showthread.php?t=61570)

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:
Quote:

What is an eggdrop?
http://www.eggheads.org/
Eggdrop is for unix, while Windrop is better suited for Windows.

There is also this easier bot to install called Winbot, 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

Quote:

Originally Posted by Alien
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


All times are GMT. The time now is 03:36 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.01086 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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