Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases

Reply
 
Thread Tools
Users in IRC for vB3 - with eggdrop. html access Details »»
Users in IRC for vB3 - with eggdrop. html access
Version: 1.00, by StevenTN StevenTN is offline
Developer Last Online: May 2014 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-03-2004 Last Update: Never Installs: 6
Is in Beta Stage  
No support by the author.

Well, I got sick of waiting for someone else to come up with this, and because of the huge popularity among the members, I was compelled to modify Sasq's IRConline script. However, I did not want to modify files all the time.

The only configuration I tested was the "Bot local, no DB lookup" since I have to have that configuration (because of members with spaces in their names, the DB lookup would've been pointless as they wouldn't have been returned properly, and I really no pre-setup means for other configurations). I encourage help in testing other configurations as well as feedback.

I tested in vB 3.0.0 gamma, 3.0.0 RC1 and 3.0.0 RC2, so it will work in either. There is support offered for this hack. However, past betas and vB 2.x will not be supported. In addition, any attempts to modify vBulletin files for this hack will not be supported either. There is no longer a need to modify them because of the phpinclude_start template.

Templates Modified (You'll have to do this for each available template installed)...
PHP Include Code Templates --> phpinclude_start
Forum Home Templates --> FORUMHOME

Custom Templates Added...
NONE!!!

Files Modified...
NONE!!!

If you want it for vB 2.x, look here.

Attached is a screenshot from my site's forums (http://www.thrillnetwork.com/boards).

Show Your Support

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

Comments
  #2  
Old 01-07-2004, 02:54 AM
nighteyes's Avatar
nighteyes nighteyes is offline
 
Join Date: Oct 2001
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for releasing this for vb3. I'm sure I'll make use of it soon and provide feedback.
Reply With Quote
  #3  
Old 01-07-2004, 08:28 PM
jancarlo jancarlo is offline
 
Join Date: Feb 2003
Location: Italia
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the wonderful made job

I have a problem

I do not succeed to carry this list in the forum, like never?

http://www.pennyshell.net/~playanueva/chat.txt

use the files usc.tcl and nodblocal.txt beyond having like from
install.txt

thanks
jancarlo




Italian

grazie per lo stupendo lavoro fatto

ho un problema

non riesco a portare questa lista nel forum, come mai?

uso i files usc.tcl e nodblocal.txt oltre ad aver esugito come da install.txt

grazie
jancarlo
Reply With Quote
  #4  
Old 01-07-2004, 08:38 PM
StevenTN StevenTN is offline
 
Join Date: Mar 2002
Location: Nashville, TN
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

jancarlo: What do you mean that you are having problems using the file?

If that file is not hosted where you have the forum, you need to use the nodbremote.txt file that's included, since that code will get the chat.txt file from a remote location. It has not been tested (yet), but if you have any problems, let me know.
Reply With Quote
  #5  
Old 01-07-2004, 09:04 PM
jancarlo jancarlo is offline
 
Join Date: Feb 2003
Location: Italia
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excuse is mistaken to me.

I have put in phpinclude_start the script:

//Whois on line in irc code - remote http, no db access beta 2.0.0

//check the url exists to save crashing or end of the world

//main routine

$onlinefile = "http://www.pennyshell.net/~playanueva/chat.txt"; //path to online users file

$killname = array("PlayaBoT", "PlayaBoT_"); //kill name array to hide users online - all users name with 'bot' and '_' at the end wont display

$httpfaulttime = 5; //number of seconds before vB decides the bots web server has died

function urlExists($url)

{

$url = ereg_replace("http://", "", $url);

list($domain, $file) = explode("/", $url, 2);

// change the last number below to the timeout you prefer for contacting the server

$fid=fsockopen($domain,80, $errno1, $errstr1,$httpfaulttime);

@fputs($fid,"GET /$file HTTP/1.0\r\nHost: $domain\r\n\r\n");

@$gets = fgets($fid, 1024);

@fclose($fid);

if (ereg("HTTP/1.1 200 OK", $gets)) return TRUE;

else return FALSE;

}

//main routine

if (!urlExists($onlinefile)) {

$chatterson ="IRC Server Fault.\n";

$onlineirc="0";

}

else {

$file = fopen($onlinefile, "r");

while (!feof($file)) {

$buffer .= fgets($file, 4096);

}

fclose($file);

$buffer = strip_tags ($buffer); //get rid of any php or html tags etc

$buffer = chop($buffer); //get rid of the white space

$chatterson ="";

/// routine for placeing the user details into an array and getting online numbers

$temparray = explode ("%20", $buffer);

$temparraysize = sizeof ($temparray);

$k = 0;

for ($i = 0; $i < $temparraysize; $i+=3) {

$bufferarray[handle1][$k] = ($temparray[$i]);

$bufferarray[host][$k] = ($temparray[$i+1]);

$bufferarray[nick][$k] = ($temparray[$i+2]);

$k+=1;

}

$bufferarraysize = (sizeof ($temparray)/3);

$onlineirc = ($bufferarraysize);

$buffercount=0;

//setting the user modes according to the flags set in the nick

for ($buffercount=0; $buffercount < $bufferarraysize; $buffercount++) {

$tempbuff=$bufferarray[nick][$buffercount];

foreach ($killname as $kilvalue) {

if (eregi($kilvalue, $tempbuff)) {

$onlineirc=$onlineirc-1;

$bufferarray[nick][$buffercount] = "";

continue ;

} } }

unset($chatterson);

for ($i = 0; $i < $bufferarraysize; $i++) {

if (!$bufferarray[nick][$i] == "") {

if (!$chatterson == "") {

$chatterson = $chatterson.", ".$bufferarray[nick][$i];

}

else { $chatterson = $bufferarray[nick][$i]; }

}}

}

but nothing to make in the window does not appear the user of
the chat.txt

thanks
jancarlo

Italian

scusa mi sono sbagliato.

ho messo in phpinclude_start lo script:

*****************************

ma niente da fare nella finestra non compaiono gli user del chat.txt

grazie
jancarlo
Reply With Quote
  #6  
Old 01-07-2004, 10:25 PM
StevenTN StevenTN is offline
 
Join Date: Mar 2002
Location: Nashville, TN
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the future... can you please include code snippets in a text file or at least snip it out?

Anyway...

http://beta.thrillnetwork.net/boards....php?styleid=5

That is using the URL you provided above.

Attached is the nodbremote.txt file that has now been tested with both yours (and mine) text file.
Reply With Quote
  #7  
Old 01-07-2004, 10:44 PM
jancarlo jancarlo is offline
 
Join Date: Feb 2003
Location: Italia
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excuse for the list.

I see that from you it goes.

to me they give: IRC Serveur Fault.

perhaps it is an allowed problem of of the serveur I will see like
making

thanks of all jancarlo

Italian

scusa per la list.

vedo che da te va.

a me da: IRC Server Fault.

forse è un problema di permessi del server vedrò come fare

grazie di tutto
jancarlo
Reply With Quote
  #8  
Old 01-07-2004, 11:34 PM
StevenTN StevenTN is offline
 
Join Date: Mar 2002
Location: Nashville, TN
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It could simply be that connection problem between your server and where you're getting the text file.

Also, I've been having problems with the DB Local and DB Remote configurations. If anyone who is willing to help me fix these please let me know.
Reply With Quote
  #9  
Old 01-11-2004, 10:51 PM
jancarlo jancarlo is offline
 
Join Date: Feb 2003
Location: Italia
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if it can make it only appeal to for these rows I have resolved the
problem.

hello
jancarlo

Italian

se può fare piacere solo per questo file ho risolto il problema.

ciao
jancarlo
Reply With Quote
  #10  
Old 01-12-2004, 08:50 PM
nighteyes's Avatar
nighteyes nighteyes is offline
 
Join Date: Oct 2001
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Which eggdrop version are you running this off of btw?
Reply With Quote
Reply

Thread Tools

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 04:31 PM.


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.08123 seconds
  • Memory Usage 2,292KB
  • Queries Executed 23 (?)
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)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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