vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   IRCBrowse - no Eggdrop + no FTP!! (https://vborg.vbsupport.ru/showthread.php?t=48734)

supreemball 02-12-2003 11:42 PM

Quote:

Originally posted by feldon23
I looked at the "IRCUsers" hack written by eyeball (aka supreemball) using the ftp mirc script coded by Rich@home.nl and I thought wow this is cool. Then I looked at what's involved.

*It modifies global.php, meaning that EVERY PAGE of your forum loads this information even though only index.php uses it.

heh.. i appreciate the alternate method of my own hack, and this might be at least *somewhat* better as far as not needing an ftp script.. i put it in global.php because i wanted to put my # of chatters on my vbhome(lite) page as well as forumhome (and anywhere else i might want to add in the future).

Quote:

*It adds 1,150 lines of code to your mIRC.
nice exaggeration :) yours does the same thing :)

Quote:

*Won't work if mIRC is in C:\Program Files\mIRC
add quotes to the local directory (ie. "C:\Program Files\mIRC" instead of just C:\Program Files\mIRC), and change the $mircdir variable in the mirc code to "C:\Program Files\mIRC" (with quotes) and it's fixed.

Quote:

*Requires 24/7 FTP access
heh, i don't know of any hosts whatsoever that DON'T allow ftp access to your own site 24/7.

Quote:

So I thought, why not have vBulletin AND mIRC interface with a PHP file?
Thank you eyeball and Rich for the inspiration to write this!
but at least you gave me props. thanks :)

feldon23 02-13-2003 12:16 AM

Quote:

supreemball said:
heh.. i appreciate the alternate method of my own hack, and this might be at least *somewhat* better as far as not needing an ftp script.. i put it in global.php because i wanted to put my # of chatters on my vbhome(lite) page as well as forumhome (and anywhere else i might want to add in the future).
I would not request this kind of information in my global.php. In your case, I'd have it in index.php and the index.php for your vbHome Lite.

Then again, your PHP script does not query a file when called. The next version of my script will possibly be completely integrated with vBulletin and write the info straight into the database. I'm still pondering this.

Quote:

I said:
*It adds 1,150 lines of code to your mIRC.
Quote:

supreemball said:
nice exaggeration :) yours does the same thing :)

Ok, I exaggerated the length of ftp.mrc by including the comments. Here's the actual numbers:

Number of lines added to vBulletin:
IRCBrowse 6
IRCUsers 2

Total number of lines added to mIRC:
IRCBrowse 51
IRCUsers 930 (900 by mIRC FTP client, 30 by IRCUsers)

Quote:

supreemball said:
add quotes to the local directory (ie. "C:\Program Files\mIRC" instead of just C:\Program Files\mIRC), and change the $mircdir variable in the mirc code to "C:\Program Files\mIRC" (with quotes) and it's fixed.
Good to know.
Quote:

supreemball said:
heh, i don't know of any hosts whatsoever that DON'T allow ftp access to your own site 24/7.
My point is that negotiating an FTP session every 5 minutes or maintaining an open FTP session 24/7 is not something I wish to do.

In an unscientific test, I shut off all my internet apps except mIRC and CuteFTP and made a comparison.

Connect to FTP, upload a file, disconnect
58 packets sent
51 packets received

IRCBrowse update
6 packets sent
5 packets received

I wrote this because I felt there was a better mousetrap. I didn't write it to rain on your or anyone else's parade. Work begins on 1.1 tonight.

Gryphon 02-13-2003 03:10 PM

Quote:

Originally posted by feldon23
The next version of my script will possibly be completely integrated with vBulletin and write the info straight into the database. I'm still pondering this.
I, personally, would prefer it did not. It is pretty light now and easily added to non-vB pages.

TheEDIGuy 02-26-2003 05:04 PM

Feldon, this is a great hack. I've had it installed for about a week now, and it works wonderfully. No problems whatsoever.

feldon23 02-26-2003 05:15 PM

Ok, I'm finally working on the next version of this.

It will remove the # of nicks limitation, support half-ops, add the ability to pass the topic, and let you pick which chat network you want it to respond to.

For instance if you are on #help on efnet and on dalnet, you can "marry" ircbrowse to efnet's #help.

Is there a big demand to run 2 copies of ircbrowse in the same mIRC?

feldon23 02-27-2003 09:26 AM

I'm sure you've heard it before. The dog ate my homework, etc.

IRCBrowse 2 was *finished*.

I did a final test which broke up the message into sections since mIRC craps out at over 999 chars in 1 string.

BLUE SCREEN OF ******* DEATH

Had to pull the plug to shut down.

Came back and aliases.ini is EMPTY. Stuff I have been writing for years which I have never gotten around to backing up or anything.

I have IRCBrowse 1 backed up of course, but 2 is gone like a fart in the wind.

I'll possibly re-create it, but not if it takes another 10 hours.

Anyone else seen a PC that craps out when large quantities of text are being passed around? I have uptimes of 45 days on this PC (windows 2000, SP2, Asus A7V133 w/ latest VIA 4-in-1, 1.4 GHz Athlon, 640MB RAM, plenty of HD space, GeForce 2 MX400 w/ 41.09).

I run Photoshop like a dog all the time, opening and closing huge documents constantly.

Then I go to telnet in a DOS window and paste an instruction that's 120 chars long and the computer BSODs.

I know my computer used to BSOD when sending large or complex e-mails out of Eudora. This turned out to be a driver prob with my Linksys ethernet card.

And I'm sure a forum moderator will be along to tell me this is off-topic. I'm a bit pissed so plz gimme some space just this once. This IS my first hack you know.

Highlander 03-08-2003 07:11 AM

it dont works.. there is nothing showing up.. i edited all variables.. correctly and tested it muuch times..

go to

www.spieleplanet.org/forum

TheEDIGuy 03-09-2003 04:58 PM

Feldon, if you *do* get around to re-creating version 2 (bummer, by the way), can you have the option to remove the IRCBrowse user out of the "in chat' list? I use "FORTbot" as my user, and obviously, it sits in the chatroom all day, reporting itself as being in chat. :)

feldon23 03-09-2003 07:41 PM

Quote:

TheEDIGuy said:
Feldon, if you *do* get around to re-creating version 2 (bummer, by the way), can you have the option to remove the IRCBrowse user out of the "in chat' list? I use "FORTbot" as my user, and obviously, it sits in the chatroom all day, reporting itself as being in chat.
I've been fiddling with mIRC scripts for about 4 years. I've been doing PHP for about 12 weeks. Sad isn't it, that I'd probably recommend fixing this in PHP instead of mIRC. :rolleyes:

In your index.php, I'd change...

PHP Code:

$ircbrowsetotal $ircbrowse['0'];
$ircbrowsehighest $ircbrowse['1'];
$ircbrowsenicks $ircbrowse['2'];
fclose ($tempfil); 

to

PHP Code:

$ircbrowsetotal $ircbrowse['0'];
$ircbrowsehighest $ircbrowse['1'];
$ircbrowsenicks str_replace("FORTbot, """$ircbrowse['2']);
fclose ($tempfil); 


feldon23 03-09-2003 07:55 PM

Quote:

Highlander said:
it dont works.. there is nothing showing up.. i edited all variables.. correctly and tested it muuch times..

go to

www.spieleplanet.org/forum

If you are not running PHP4, please search-and-replace in ircbrowse.php for:

$_GET

and replace it with

$HTTP_GET_VARS

IRCBrowse 2 fixes(d) this.


All times are GMT. The time now is 07:15 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.01392 seconds
  • Memory Usage 1,760KB
  • 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_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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