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.