![]() |
|
|
Mod Options |
IRCBrowse - no Eggdrop + no FTP!! Details »»
|
|||||||||||
|
IRCBrowse - no Eggdrop + no FTP!!
Developer Last Online: Sep 2012
This modification is in the archives.
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. *It adds 1,150 lines of code to your mIRC. *Requires 24/7 FTP access 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! I don't have a photo/snapshot because the PHP script runs "silent" and how the output looks all depends on your vB template. The PHP script provides the # of total chatters, the highest # of chatters ever, and a formatted (customizable in the PHP script) comma-delimited list of users in the chat which you can insert anywhere in your templates (an example template under forumhome is provided). The mIRC script opens a socket to your web server (HTTP) and does an "HTTP GET" to request the ircbrowse.php script. The secret is, it puts all the data in the Query line after the URL and then just ignores the page it gets back from the web server and closes the socket. This is all password-protected. This is my first hack posted here so please be gentle. ![]() This hack is operating on: SereneScreen Aquarium Forum Anime System Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
|||||||||||
Similar Mod
|
||||
| Mod | Developer | Type | Replies | Last Post |
| Eggdrop IRC Manager | Velocd | vBulletin 3.0 Full Releases | 163 | 20 Aug 2008 06:33 |
|
#16
|
||||
|
||||
|
Another point I must raise is that there are very real limits on the number of users this script can handle.
Because the list of users is being sent through a URL, you may slam into URL length problems if you have 60+ users in your chatroom. I am paraphrasing here... Although the RFC referring to URLs does not indicate a fixed length, Internet Explorer cannot handle more than 2083 characters in a URL and some proxy servers limit the # of characters to 255. I am 99% sure that the PHP script will simply truncate a lengthy URL and provide an incomplete nick list, even if a nick boundary falls on a + character. I am not sure, however, what mIRC will do. It might fail to send any part of the URL. I suppose some kind of buffering system could be created with "action=write" followed by a series of "action=append". Heaven help us if the appends arrive out of sequence. Still, I'm pretty darn happy with how this hack is working. VeloCD, you can imagine that adding the topic would be a huge stumbling block for URL length. A topic like this (from "A Fish Called Wanda"): "It's k-k-k-Ken and he's c-c-c-coming to k-k-k-kill me!" would expand to something like: %26It's%20k-k-k-Ken%20and%20he%25s%20c-c-c-coming%20to%20k-k-k-kill%20me!%26 Again, I can forsee this being handled with "action=topic&topic=...", etc. No members have liked this post.
Last edited by feldon23 : 10 Feb 2003 at 02:47. |
|
#17
|
||||
|
||||
|
Why do I get the feeling I'm going to be up all night writing 1.1. ?
![]() The appends would have to be tagged so they can be reassembled in the right order at the other end. Ugh this is going to get messy. ![]() Or I could take a crash course in MySQL and just append to the database, making sure that each of my append URLs finishes on a complete nickname. No members have liked this post.
Last edited by feldon23 : 10 Feb 2003 at 02:59. |
|
#18
|
||||
|
||||
|
Thanks! I have to take a look at this hack!
![]()
__________________
Julian D. Muñoz No members have liked this post.
|
|
#19
|
|||
|
|||
|
thanks for all your replies feldon!
So the chat u use can only be used for their network? cause i wanna be able to use it for Aniverse and have forum users click the chan name and it connect with the java applet u have. I've seen them before but I like the way yours looks the best. No members have liked this post.
|
|
#20
|
|||
|
|||
|
hey whats it mean when someone says run the file from AdminCP to install?
That was in the instructions of one of the hacks i'm trying to install and i have no clue how to do that. Also what is Query's and how do i do them. Will need step by step on this one cause have not a single clue what it is, what it does, how to do it, or where to do it at^_^ Thanks No members have liked this post.
|
|
#21
|
||||
|
||||
A query is how you get information FROM or write information TO the MySQL database your forum (or website) runs on. Queries can be incredibly complex, grabbing a ton of cross-linked information from various parts of the database and recombining it into a temporary array which is then merged with HTML to display a forum page or other such tasks. The reason why we talk about queries is that each MySQL query, no matter how simple or complex, adds to the load your server uses. But in many cases you do not have a choice. Each PHP page needs to do MySQL queries to get the information necessary to display the forum home, or a forum thread list, or to do a search, or to handle attachments, etc. If you want to know how many users registered on your forum today and a MySQL query has not already been done to grab this information and provide it to the PHP script that's running, you'll have to do a query for it. You can imagine that if someone comes out with a hack that does 5-10 queries and someone else does the same hack but it only does 1 query or even piggybacks on queries ALREADY being done on the page, then we'll probably favor that version of the hack! Take your time, there's no rush to learn this stuff. ![]() No members have liked this post.
Last edited by feldon23 : 11 Feb 2003 at 09:33. |
|
#22
|
||||
|
||||
|
// This is the key you send from mIRC and vBulletin to make sure this script is not
// called by outsiders What key? No members have liked this post.
|
|
#23
|
||||
|
||||
|
Make up a key number and put the same one in both places (mIRC and vBulletin), like 3049 or 2179.
No members have liked this post.
|
|
#24
|
||||
|
||||
Maybe there is a related function in the C language iRC uses that is similar to serialize?
__________________
My OpenSource (as in do with them what you want no need to ask for permission) Scripts: 7/25/04 » Article Bot 1.1, vB3 Member Album 2.0, BB Code Functions, Advanced Search w/Member Conditions, Eggdrop IRC Manager, IRC Manager for mIRC, Existing Topics Check http://www.mozilla.org/products/fire...efox_80x15.png No members have liked this post.
|
|
#25
|
||||
|
||||
|
Another possibility is to learn the protocols to do a POST method.
No members have liked this post.
|
|
#26
|
|||
|
|||
|
Hey feldon23, You ROCK!!! Great Hack
![]() No members have liked this post.
|
|
#27
|
||||
|
||||
|
My server is running php 4.0.6, I could not get this hack to work until I changed $_GET to $HTTP_GET_VARS and $_SERVER to $HTTP_SERVER_VARS, all it kept saying was "Nothing to do."
Works like a charm now.
__________________
Scripts: gTeamSpeak for vBulletin | TeamSpeak 2 Webpost Sites: Gryphon, LLC | The Hounds of Zeus | Allied Tribal Forces | PlanetSide Universe | Cosmos WoW UI No members have liked this post.
|
|
#28
|
||||
|
||||
|
Sorry bout that. $_GET was added in 4.1. I will make it compatible with PHP3 & 4 in the next version.
Also going to try to allow for unlimited chatters. No members have liked this post.
|
|
#29
|
||||
|
||||
|
I idle on about 15 channels across two servers, and the same channel that I wish to display exists on both servers. If someone joins or drops and such, it updates correctly; however after a few minutes it shows just my name. I assume this is displaying the channel from the other server of which I am the only one on it?
*(Edit added) I plan on running it on a bot that is in about three channels on one server, just thought it would be nice if it worked otherwise, thanks.
__________________
Scripts: gTeamSpeak for vBulletin | TeamSpeak 2 Webpost Sites: Gryphon, LLC | The Hounds of Zeus | Allied Tribal Forces | PlanetSide Universe | Cosmos WoW UI No members have liked this post.
Last edited by Gryphon : 12 Feb 2003 at 22:17. |
|
#30
|
||||
|
||||
|
Well no amount of huffing and puffing will make QUIT work on a specific channel. And specifying a channel won't help your situation.
At this time, my script does not work predictably if you are joined in the same chat channel name on multiple servers. I'll look into what's involved in abstracting my script such that you can specify which chat server's channel to respond to. Am I right to assume that you would never be joined to 2 different servers on the SAME chat network, such as having 2 joins to EFNet? You can tell what chat network each of your Server windows is connected to by typing //echo $network in each one and looking at the result. If you want, I can look at supporting this for 1.1. Already for 1.1, I hope to have: -unlimited chatters -passing the topic -support for PHP 3 + 4 I really don't want this script to get too complex. No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 12:55.








