![]() |
I have uploaded my index.php file.
here is the code I added: Quote:
Kyle EDIT: File removed by Boofo. vBulletin files cannot be posted here. Sorry. ;) |
Dont worry about it EvilLS1, I figured it out. I'm an idiot. Thank you for the help though!
Kyle |
Ok, glad ya got it sorted out. :)
|
I've just added this and it works well ... except if a member has elected to be hidden he/she is still showing as online in the chatroom.
Amy ideas? |
Quote:
|
My hidden users aren't worried about other members seeing them online.
They are more worried about showing online to non-members who have no access to chat. Is this easy to change? ... thanks |
Moonclamp,
I can give you a quick fix which will make it so that hidden users are never shown in chat (even to those who have permission to see invisible users). In chat.php find: Code:
$somestuff = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "chatters WHERE userid=$userid"); Code:
if ($bbuserinfo[invisible]!=1) { |
That'll do for me ~ I can always see who is there by going to online.php
Thank you |
except it didn't work ... and '$somestuff' should have been called '$some****' ;)
|
I had to use somestuff b/c the other is censored here. :p
Did you wait 60 seconds for the old session to expire before testing it? Strange.. It should work. |
My apologies ... it did work I was just being my usual impatient self
Many thanks for that :) |
n/p. Glad it worked for ya. :)
|
Will this work with PHP Mychat??
|
Quote:
|
Quote:
|
Quote:
|
I just upgraded my forums to vb3 from 2.2.8. Can anyone tell me the new code to make the chat.php only for certain usergroups?
|
Quote:
Code:
if (!$bbuserinfo['userid']) Code:
|
Thanks for bringing me up to speed!
|
Quote:
|
i installed this one and its working good, but for getting to see the online people in the whos online i have to go trough the link inside the "who's online in chat",
But i have a link in the top of the forum to go to that chat also. But if i go to the chat trough that link he wont show the online user. Can i solve that? |
Quote:
|
i tried to make it still stand alone from this hack, but without eggdrop that is not possible, so i did like what is normal (boooring :p) and putten my irc code in the template :)
so its working, thnx! |
Quote:
|
Here's a question... It says to place the code here to embed my chat... which code do I place there???
|
Quote:
Here's an example (jpilot).. Yours may be slightly different depending on what kind of IRC software you have, but it should start and end with < applet > tags. Code:
<applet archive="jirc_nss.zip" code=Chat.class |
I have VBXirc chat.... I'm still not sure exactly what to add but thanks for the reply
|
Quote:
|
Got everything installed and works fine, but it seems like some of my members aren't showing up when they are in the Chat room on the Who's In Chat. Not that people have gone in yet but me and the co-admin are showing up but not everyone, anything I need to do to fix it
|
GatorLCA,
I registered at your site to test it and it seems to be working fine for me. Keep in mind that if some users join your IRC channel via their own client that they will not show up as in chat on your forum home even though they're listed in the channel. In order for them to show up on your "Who's in Chat" list they must join the channel by using your web based chat client by visiting chat.php. If they're logged into your forum and logged in to chat through chat.php their name will be listed. Dewayne |
Will this hack work with Digichat?
|
I'm not familiar with digichat but this one works with all embedded IRC applets. If digichat can be embedded into a template then it should work.
|
I'm not familiar with the term: "irc applets"
Digichat is a java applet. It doesn't log onto IRC or use IRC servers from what I know of it. Here's a site that uses it: http://www.mswebpals.org/digi.htm I'm seriously considering whether I should get digichat, and the only thing that's holding me back are questions regarding its "Who's Chatting" flexibility. If a good-quality chat program can't do it as you've illustrated in your hack, then I don't want it. |
Quote:
Like I said, I'm not familiar with digichat but I do know that some of the high dollar chat softwares such as realchat do provide a way to show who's in chat on remote pages. This hack is geared more toward people who use web based IRC clients such as jpilot or pjirc. It could work with other types aswell but the only way to find out is to try it. Dewayne |
Quote:
I also use VBXirc which is in /forum/chat directory and I would like to know if I can make some modifications to use forum/chat/index.php instead of forum/chat.php and make it work. I guess it isn't easy because you need chat.php to make it work, right? I'm satisfied with VBXirc and it would be great to keep it and use this hack at the same time. |
Quote:
I think all you'd really need to do is copy this section of code from chat.php: Code:
if (!$bbuserinfo['userid']) Then you'd need to add this to the template that loads the chat applet: Code:
<iframe src="$vboptions[bburl]/chat.php?do=extendsession" width=0 height=0 frameborder=0></iframe> |
Thanks for the info, I will give it a try.
|
When you say : "add this to the template that loads the chat applet"
are you talking about the chat_chatbit template or the one which loads my chat (some template from vbxirc) ? don't I need to modify all lines with /chat.php to /chat/index.php also? |
Quote:
And yeah, you'd need to change all links that point to /chat.php to /chat/index.php. |
I also use vbxirc
I am very interested in getting this hack working with vbxirc, alot of users use it, your instructions are not very clear though. could someone please work throug it and post the code? |
All times are GMT. The time now is 10:18 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:
|