![]() |
Quote:
|
Quote:
|
Here is my crontab:
* * * * * root /path/to/file_to_run contents of file_to_run: /bin/cp /path/to/eggdrop/numchat.txt /path/to/yoursite.com/wherever Make sure to chmod 755 the file_to_run afterwards... I modified the peak eggdrop script (announces in channel whenever a new record is set for # of ppl in the channel) - I just added to line 31: Code:
set fid [open "numchat.txt" "WRONLY CREAT"] Then in your bot config file add: source scripts/peak1.5.tcl That's it :) Enjoy |
I followed the instructions for jPilot, added the include for displachatusers.php in my index.php the way explained and added the $chatters to my header, but nothing happens... Any idea why I can't see the people ?
|
Hm , is it possible that since 2.2.5 the $chatters wont work? I changed nothing, use the same templates, but the chatters are shown no more ... ??? I cant see any reason for this... but now noone is shown as chatting
|
Ok..so I'm working on a better integration with IRC.
Can I do the following: I want to pass a channel name as a parameter, and I want to know who is in that channel. This way, all the users are in "#ForumChat" will be displayed and there is also a "#ForumsAdmin" Channel, which will also be displayed. I DO NOT want to have one bot per channel, as the number of channels that I want to do this for can be infinite. So..it will show you who is in chat for all users, plus moderators can see who is in the #forumchat and if there is people in another channel, say #forumsadmin. Any thoughts? |
Just installed this hack, and I just can't get it working. I can get a chat section to come up on my forum's main page, but it's not listing any of the users in the chatroom at the time.
Help!!! Also, how would you get the number of users currently in the chat to display like the number of users online? |
Well whaddya know, I got it working! :)
Forgetting about displaychatusers.php I decided to go straight for index.php, into which I added this code... PHP Code:
PHP Code:
I managed to get the number of users currently in chat displayed as well. I just added this code to index.php: PHP Code:
Then added this to the bottom of the forumhome_loggedinusers template: Code:
<tr id="cat"> |
working quite well on 2.2.6 Thank you :)
Amy |
How do I make it so I can show the number of people in the chat? Fantastic hack btw!! :D
|
All times are GMT. The time now is 11:07 PM. |
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:
|