The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Users in IRC - with eggdrop. html access Details »» | |||||||||||||||||||||||||
################################################## #########
Users in IRC - with eggdrop. html access Tested on vB 2.2.5 and 2.2.9 Hack Verson: 2.0.2 Beta ################################################## ######### This hack is an enhanced version of the one by sas1911 - details of which can be found here https://vborg.vbsupport.ru/showthrea...threadid=40855 This hack uses an eggdrop bot to provide information to vB about who is online. NEW IN BETA 2 This hack now comes in two main flavours on the bot side. 1) writes the user list to a local file, vB then can access it local (if the bot is on the vB server) or the file can be access remotely via http 2) This is the new bit, the bot now has the ability to contact the server directly via http (using the http tcl library) - more on the vB side later - it updates when someone joins the channel, changes nick and after a set period of time On the vB side the two main choices are... 1) simple display of user names with the ability to hide certain users, ie the bot. also allows a '_' or whatever at the end of a nick to show the user is offline 2) Accesses the user DB to try to match the user 1st by bot handle, then nick, user name (host) and link them the same way as online forum users. it will also hide users if their forum invisible setting is turned on. it provides the same overides as the first script as well as additional flags of [me] (overide the db lookup) and [on](override the invisible flag) The callhome script needs an access code that you set in both the bot and the script as well as the ip range for the bot. if the access code and the ip range don't the script will give the user a 404 error - see instructions The script for index.php has the two subsets for either a local file or remote file. each different flavor for the index file i have placed in seperate files, so please read that file for install instructions All files are included as well as the old ver 1 of this hack. Known bugs: None at the moment Known quirks: With using the db, online users number may display higher then the list of users displayed, but vB works the same way, if this really bugs people I'll tweak it. Sometimes the the script just doesn't get the user right - again db lookup, my solve for this is regular users I add to the bot, if there is enough interest I'll do a user cp hack or something to either get vB to contact the bot and add the user, (and handle to the bot) or hack a way around so that the user can register their nick and/or user name (host) into the db TODO: anything anyone suggests thats reasonable Fixed Bugs: Resolved the Excess db queries, now its only 1 query 2.0.1 Fixed a bug where it would hang if the server went offline or refused to answer, now set at a 7 second time out. Fixed a small glitch where the script showed a warning if the file was unreachable. - refixed this glitch should all be working now. 1.1.2 Multiple instances of the timer bug resolved. 1.1.1 Added functions: See above for main changes to ver 2 Now strips all php and html tags from the file - just to be on the safe side. Added commas after names Modified files 2.0.2 index.php only 2.0.1 Both db access scripts have been updated 2.0.0 All files need to be updated 1.2.0 index.php only 1.1.2 index.php only 1.1.1 index.php only 1.1 usc.tcl only You can see this hack in action at MURC Thanks for you time, any questions/ideas/sugestions please don't hesitate to contact me via pm or email (email is in the file). Dan Show Your Support
|
Comments |
#22
|
|||
|
|||
Thnx m8! nice hack! Works great over here!
|
#23
|
||||
|
||||
Ok, after much slaveing, swearing and doing much more then i planned to do, go back and read the first post
Lots added, the db lookup can be a little quirky but give it a go. I'm open to idea's on how to make it more stable, either via vB adding users to the bot, or something maybe in the user cp for them to store their irc info in... of course the easy way is just to add them to the bot so they can identify. screen shot, of db lookup included here Dan off for a beer now :glasses: |
#24
|
||||
|
||||
I like this hack! I have installed it and it works perfect!!
But the only thing i don?t like, are the query-count. If the chatroom is empty i have no querys, but if there 15 or 20 Chatters in the Room i get 20 Querys or more on index...thats not so good i think. Is there a way to reduce the querys?? |
#25
|
||||
|
||||
I think there probably should be
Just let me get the hack I'm working on outa the way - or at least released and I'll get on this Dan |
#26
|
||||
|
||||
Cool, thank you sasq...
|
#27
|
||||
|
||||
All updated and working here at least.
reduced it to one query should all be happy now. Only change is in the index.php file. Let me know how it goes, if all is well, I'll see about moving this over to Full release Dan |
#28
|
||||
|
||||
Cool Thanks!!
Will test it this evening!! |
#29
|
|||
|
|||
Awesome hack.. installed beautifully..
However, I think I found a bug... For some reason if the irc server adds a ~ to the beginning of rh member Ident it shows up something like this on the the vb page... Tech-Max|b~Tech-Max@WonderNu-User-25863.ka.g.xxxxx.xx INSTEAD OF just Tech-Max|b... this happens with every user where the irc server puts a ~ in front of the members name. Can this be fixed? Awesome work! Greetz! Streamzone |
#30
|
||||
|
||||
The Bot script is ment to strip the ~ before it sends..
I'll get to it tonight. Dan |
#31
|
|||
|
|||
This is just a thought...
But most irc servers have the "/NAMES" command to look up who and how many folks are in a channel.. it's used like this => /NAMES #channelname it then spits out a list of all the members in that channel with their status before their name (i.e. @, %, or +)... and WITHOUT their Ident information. It has been my experience that when using the "/NAMES #channelname" command, the information is displayed in the "Server" window, NOT the "Channel" windows in mIRC. My question is... in theory.. would it not be easier to invoke the "/NAMES #channelname" command instead of trying to strip off all the Ident info for the users? Just a thought. Thanks for you help. Greetz! StreamZone |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|