The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Users in IRC for vB3 - with eggdrop. html access Details »» | |||||||||||||||||||||||||||
Users in IRC for vB3 - with eggdrop. html access
Developer Last Online: May 2014
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
|
Comments |
#2
|
||||
|
||||
Thanks for releasing this for vb3. I'm sure I'll make use of it soon and provide feedback.
|
#3
|
|||
|
|||
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 |
#4
|
|||
|
|||
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. |
#5
|
|||
|
|||
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 |
#6
|
|||
|
|||
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. |
#7
|
|||
|
|||
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 |
#8
|
|||
|
|||
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. |
#9
|
|||
|
|||
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 |
#10
|
||||
|
||||
Which eggdrop version are you running this off of btw?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|