View Full Version : Add-On Releases - vBShout Chat Stats
vBShout Chat Stats v1.1
Requirements
--------------
vBShout v5.2.3 (LITE or PRO) - www.dragonbyte-tech.com (http://www.dragonbyte-tech.com)
mIRCStats - www.mircstats.net (http://www.mircstats.net)
What's it do?
-------------
This mod creates a log file based off of your vbShout database that is consumable by the mIRCStats program. I can't take credit for the cool output that program does. =)
This runs on a vB cron, defaulted to run every hour.
Support
--------
Support is provided for this mod only, not for mIRCStats. If you'd like support for that, please use their support forums as they can much better support you than I ever could. =)
Live Demo Here (http://www.darkhandofvalor.com/pages.php?pageid=4)
INSTALLATION/UPGRADE INSTRUCTIONS
Installation
Copy .php file into your forum root folder.
Import product
Configure in vB Settings->Shout Stat Settings
You may need to CHMOD the folder you write the log to. In short, that folder needs to be writable. CHMOD 755 or & 775 should work.
Upgrade
Overwrite old .php file with the new one.
Reimport product, selecting overwrite option.
Configure in vB Settings->Shout Stat Settings
UPDATES
v1.1
-Fixed: Now supports shoutbox instances properly.
-Added: Support for including only specific chatrooms (or all of them)
-Added: Support for IRC style /me commands
http://www.darkhandofvalor.com/images/other/vbshoutstats_ss1.png
http://www.darkhandofvalor.com/images/other/vbshoutstats_ss2.png
http://www.darkhandofvalor.com/images/other/vbshoutstats_ss3.png
http://www.darkhandofvalor.com/images/other/vbshoutstats_ss4.png
ssslippy
06-14-2010, 06:24 PM
This is awesome!
Bouncer222
06-14-2010, 07:57 PM
I gotta say this is amazing, but the different colors in one bar make it really confusing. Still reading how this works exactly..
I gotta say this is amazing, but the different colors in one bar make it really confusing. Still reading how this works exactly..
The different colors in the bars represent different timeframes of a day. Also, all colors are fully configurable from the mIRCStats program. =)
In short, what this mod does is takes the data from vBShout and spits out a new file in the format that mIRCStats (where the real magic happens) can read. That then spits out a set of HTML files and CSS that produce the data such as in the screenshots.
Bouncer222
06-14-2010, 11:58 PM
So does this track ONLY those registered on your site? Or anyone in irc?
If not, could it be made to track only those registered on the site? Or better yet only those in specific usergroups?
Thanks.
So does this track ONLY those registered on your site? Or anyone in irc?
If not, could it be made to track only those registered on the site? Or better yet only those in specific usergroups?
Thanks.
Normally, mIRCStats is used only for IRC.
What I've done is adapt it to use vBShout's logs and then let it do it's stuff. So it's any vBShout instance and chatroom that it'll use. So anything said in that chatroom is included in the output file I generate.
I'll see about limiting it to specific usergroups, I know it can be done. I just need to work out the SQL query to do it. =) Normally though, these stats are much more fun and interesting the more people involved. But I suppose if whatever usergroup you'd want to use has enough active chatters in it, it'll probably work out well enough for you.
Bouncer222
06-15-2010, 03:10 PM
Thanks for the fast reply.
I am still in the process of reading about installing and configuring mircstats.
The same question goes for regular IRC. If memory serves me right, there are a couple irc mods on vbulletin.org that when you connect to irc, it uses your forum name, OR it only lets registered users on the site connect to it.
But then again, anyone on the internet can connect to an irc from another site (I don't know if irc's can use passwords, but I don't want to set one anyway).
So the question is, can it be made to track those registered on our site only as well for a regular IRC?
The reason being so, we have a bot that we're going to install on our irc, and it's going to spit out chat from all our gaming servers into the irc, that's going to be a lot of useless information that it will record in the mircstats system.
Thanks for the fast reply.
I am still in the process of reading about installing and configuring mircstats.
The same question goes for regular IRC. If memory serves me right, there are a couple irc mods on vbulletin.org that when you connect to irc, it uses your forum name, OR it only lets registered users on the site connect to it.
But then again, anyone on the internet can connect to an irc from another site (I don't know if irc's can use passwords, but I don't want to set one anyway).
So the question is, can it be made to track those registered on our site only as well for a regular IRC?
The reason being so, we have a bot that we're going to install on our irc, and it's going to spit out chat from all our gaming servers into the irc, that's going to be a lot of useless information that it will record in the mircstats system.
BTW, I'd check out mibbit if you're looking for vB->IRC integration. I used that on my website and it worked very well. Just not enough interest from my members in IRC so I removed it.
Most of your questions really revolve around mIRCStats and what it can do for you. I'll try and answer as best I can.
You'd need a way to signify someone as a member of your website or not. Since people can use any name they want in IRC, or change their name there, that's not really going to be easy. About all I can think of right now is making everyone that connects through the website auto voiced in IRC, then only include voiced people in your stats or something.
As for the bot spitting out all of the data, you can exclude specific nicks from being included in the stats through mIRCStats as well, so that won't be a problem for you at all (I used to have a bot doing the same sort of things you're talking about years ago).
Zombo
06-24-2010, 04:41 PM
you should mention you need to chmod the folder with the log
you should mention you need to chmod the folder with the log
I guess that depends on where you dump it, I used a tmp folder. But I'll make a note of it for those that might put it somewhere more secure.
Zombo
06-24-2010, 05:20 PM
also i have a problem with the main chatroom which is id 0.
if you decide to import id 0 chatroom it doesnt do anything
edit: NM, my instance id was 1, not 0 for some reason...
I'm totally unfamiliar with Mirc and Mircstats.
I know you said you can't support MircStats, but can you please instruct on how to set it up to use with the shoutbox?
I'm completely left out to dry trying to figure this out.
Thanks for any and all help
B
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.