![]() |
i have this installed on my site but would like to know if there is a way of telling people that some is in the chatroom, say like there username changes colour or something like that. or even the link to it on the main forum page adds the number or name of the people in there..
I think this would be a great hack. Thnx.. |
There are instructions for integrating jpilot chat here - http://www.vbulletin.com/forum/showt...5&pagenumber=2
Be warned, the full scale integration that you speak of is not for the faint of heart. It requires considerable resources and know-how. More than I posses anyway ;). |
I have it installed and use chat template it works great. But would like a way for other users to to see who or howmany users are in the room.
|
This is long and involved, but this is how I did it:
http://sourceforge.net/projects/phpegg/ This is a PHP program that creates a daemon in the chat room. Behind it lives a few MySQL tables. Basically after configuration (which when I have time I'll post, but its not hard to figure out), the bot logs all user in/out activity in a SQL Database. All it takes is this query to get who's in the room(s): Code:
select DISTINCT nick as username from chan_users where (chan_name = '#general_rem' or chan_name='#everything_else') and reason IS NULL AND nick !='murmurs_bot'; PHP Code:
But the key is the php_egg program. Also, I did a cron job that restarts the bot every half hour, just to make sure it stays alive. Right now our IRC server is in a different datacenter, so it died sometimes. You can see a demo of this at http://tony.murmurs.com EThan |
Thankyou very much:) now i just got to work all this out..
|
Quote:
EThan |
I have mine integrated as a forum in my boards as well. I don't have the resources or the knowledge to do the eggbot hack either.
I am wondering- is there a way to use this in conjunction with the Who's Online information? If someone is in the chat forum, I think they show up on the Who's Online Page since it's still a forum. I wonder if there is a way to take that info (those who are only in the chat forum) and place it in a Who's In Chat list beneath the Online Users on the main page. I know that was done with the eggbot, but is there a way to do it with the logged in user tables instead? TigerLily:) |
Quote:
The Eggbot hack requires a cron job, so you do need root access to use it. The cron job restarts the bot every hour or so just to make sure it keeps running. I could always program a watcher program to see if its running and restart it if it stops, but a cron job does it nicely with minimal fuss. But, on the bright side its worked like a charm this week and users really dig it. Ethan |
Thanks, Ethan! I am probably going to go with the location field method- I want to keep it as simple as possible. My members are pretty chatty- there is usually someone in there anyhow! Thanks for illustrating the eggbot method (ROFL- I think of egg drop soup everytime I hear "eggbot") If I get really adventurous, I'll give it a whirl!
TigerLily:) |
The JPilot integration has been going really nicely, and I'm getting ready to launch it publicly. The problem is still making the people in the chat room show up.
I want the chatters to show up in Who's In Chat just like the $activeusers do in Who's Online, pulling the info from the location field. I can install other hacks fine, and do small hacks with html and variables, but I'm lost on this one. I know the answer has to be fairly simple! I want to: determine if the user is on the chat forum, get the users name and stick it on the main page in Who's in Chat (like Who's Online. I've also added $chatusers to the forumhome_loggedinusers template. Here is what I have so far. I know it's wrong, perhaps someone can show me what I am missing and doing wrong! I edited index.php and right after this: Code:
} else { Code:
if ($location['forum']==105) { //chatuser hack Thanks, TigerLily:) PS If you are trying to integrate Jpilot and you're having trouble with the smilies showing up, put them in their own table. I don't know why it makes a difference, but it works! |
I decided to go with the hack already posted and see if I could alter it enough to get it to work. I am showing "Nobody in the chat room at this time" which is correct, but I am pretty sure I still have something messed up.
Under this line (around line 143): Code:
eval("\$activeusers .= \", ".gettemplate('forumhome_loggedinuser')."\";"); Code:
// CHAT HACK Code:
<BR><BR> Code:
<tr id="cat"> TigerLily:) |
I copied the template and changed things so it would make it connect to my server etc. Now when I try to connect I get this message
sometimes it gets ident response sometimes it doesnt but I always get ***User Not enough parameters any help would be appreciated thanks http://24.3.25.212/forums/forumdisplay.php?forumid=11 here is the link |
hello anyone know what I need to do to fix this problem?
|
Just fyi....if you are looking at jpilot, there is an add-on i just found and implemented on my site that ROCKS for jpilot....
http://jirc.webt.dk there is the site for downloading it, and Here is my implementation of it. It is an outstanding front end, plus gives you the required code to let your users auto generate code to add chat room access to your chat to their own sites (great traffic builder). Just thought i would throw that in, while everyone was discussing Jpilot :) |
All times are GMT. The time now is 12:12 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|