The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#2
|
|||
|
|||
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 . |
#3
|
||||
|
||||
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.
|
#4
|
||||
|
||||
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 |
#5
|
||||
|
||||
Thankyou very much now i just got to work all this out..
|
#6
|
||||
|
||||
Quote:
EThan |
#7
|
|||
|
|||
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 |
#8
|
||||
|
||||
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 |
#9
|
|||
|
|||
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 |
#10
|
|||
|
|||
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 { $username=$loggedin['username']; } $location=$loggedin['location']; Code:
if ($location['forum']==105) { //chatuser hack $chatuser=$loggedin['username']; } 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! |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|