Live Cavechat chat room being tested

Please check this section for any important announcements regarding the NSS discussion board.

Moderator: Moderators

Postby bigalpha » Mar 6, 2007 7:53 pm

joe -- that's a nice link -- the first one.
User avatar
bigalpha
NSS Hall Of Fame Poster
 
Posts: 611
Joined: Sep 6, 2005 3:04 pm
Location: Central TN
  

Re: list users in chat

Postby Wayne Harrison » Mar 7, 2007 6:08 pm

joestewart wrote:This will list each user in the room:

http://client4.addonchat.com/scwho.pl?i ... rs+in+chat.

Something similar to this may work:

http://www.phpbb.com/phpBB/viewtopic.ph ... 82#2703282

Joe


Thanks for finding that, Joe. Looks like the most recent entry in the discussion was just a few days ago.

The first thing though looks like you are sending it the message there are no users when accessing the chat room. Changing "no" to "2" in your URL to see if that's true.
User avatar
Wayne Harrison
NSS Hall Of Fame Poster
 
Posts: 2382
Joined: Aug 30, 2005 5:29 pm
Location: Pine, Colorado
NSS #: 18689 FE
Primary Grotto Affiliation: unaffiliated
  

Postby Wayne Harrison » Mar 7, 2007 6:10 pm

Yep, got the message there are 2 users in the chat room when I changed it. So the first URL appears to be parroting what you are sending it in the first place, unless I missed something.

http://client4.addonchat.com/scwho.pl?i ... y+anything
User avatar
Wayne Harrison
NSS Hall Of Fame Poster
 
Posts: 2382
Joined: Aug 30, 2005 5:29 pm
Location: Pine, Colorado
NSS #: 18689 FE
Primary Grotto Affiliation: unaffiliated
  

Postby bigalpha » Mar 7, 2007 7:59 pm

Anyway to make that a permanent link so one doesn't have to come to this page when one wants to check out who is in there.
User avatar
bigalpha
NSS Hall Of Fame Poster
 
Posts: 611
Joined: Sep 6, 2005 3:04 pm
Location: Central TN
  

Postby Wayne Harrison » Mar 7, 2007 8:11 pm

Sure. How many people do you want it to say are in the chat room when you click on it? :tonguecheek:

http://client4.addonchat.com/scwho.pl?i ... rs+in+chat.
User avatar
Wayne Harrison
NSS Hall Of Fame Poster
 
Posts: 2382
Joined: Aug 30, 2005 5:29 pm
Location: Pine, Colorado
NSS #: 18689 FE
Primary Grotto Affiliation: unaffiliated
  

Postby bigalpha » Mar 7, 2007 11:03 pm

Wait. I don't care what the link says. If you click on the link, it tells you who is in the chatroom. That's the only part that I want. I don't think it'd be possible to get 243 cavers in the chatroom anyhow. :D
User avatar
bigalpha
NSS Hall Of Fame Poster
 
Posts: 611
Joined: Sep 6, 2005 3:04 pm
Location: Central TN
  

Postby Wayne Harrison » Mar 8, 2007 6:24 am

But it doesn't tell you how many are in the chat room, from what I can tell,using IE 6. The only thing it tellls you is what you telll it to tell you, as I showed.
User avatar
Wayne Harrison
NSS Hall Of Fame Poster
 
Posts: 2382
Joined: Aug 30, 2005 5:29 pm
Location: Pine, Colorado
NSS #: 18689 FE
Primary Grotto Affiliation: unaffiliated
  

number in room

Postby joestewart » Mar 8, 2007 9:27 am

Wayne Harrison wrote:But it doesn't tell you how many are in the chat room, from what I can tell,using IE 6. The only thing it tellls you is what you telll it to tell you, as I showed.


Change the "countonly" variable to 1.

http://client4.addonchat.com/scwho.pl?i ... rs+in+chat.

Yes, the "nousermsg" just spits out whatever you tell it when no one is in the room. Maybe easer than processing when nothing is returned.

Really to display something on the front page, you will have to combing with some scripting like in the second link I gave before. kinda depends on what is wanted - list of users or just the number of users in chat.

Joe
joestewart
Occasional Poster
 
Posts: 29
Joined: Jan 22, 2007 3:12 pm
Location: Middle TN
Name: Joe Stewart
NSS #: 58143
Primary Grotto Affiliation: Nashville Grotto
  

Postby bigalpha » Mar 8, 2007 10:31 am

Wayne Harrison wrote:But it doesn't tell you how many are in the chat room, from what I can tell,using IE 6. The only thing it tellls you is what you telll it to tell you, as I showed.



I don't think that I'm communicating very well. Sorry. Let me try again:

You can change the link wording to say anything you want it to say. But, if you actually click on the link, it opens a new page with a list of who is actually in the chatroom. At least, it does in my Browser.


Click here to See who is in the Chatroom


Did I clarify what I was talking about? Not trying to be a jerk, but I know my communication skills lack sometimes. :panic:
User avatar
bigalpha
NSS Hall Of Fame Poster
 
Posts: 611
Joined: Sep 6, 2005 3:04 pm
Location: Central TN
  

Postby Wayne Harrison » Mar 8, 2007 6:40 pm

Yeah, but I think it was me being slow on the uptake. The attached message to the URL that was posted threw me off.

Joe sent me some links for code to play around with that I'm going to look at this weekend.
User avatar
Wayne Harrison
NSS Hall Of Fame Poster
 
Posts: 2382
Joined: Aug 30, 2005 5:29 pm
Location: Pine, Colorado
NSS #: 18689 FE
Primary Grotto Affiliation: unaffiliated
  

Postby bigalpha » Mar 8, 2007 7:52 pm

Wayne Harrison wrote:Yeah, but I think it was me being slow on the uptake. The attached message to the URL that was posted threw me off.

Joe sent me some links for code to play around with that I'm going to look at this weekend.


Ah, no worries then!

Cool, I'll be interested in what you come up with.
User avatar
bigalpha
NSS Hall Of Fame Poster
 
Posts: 611
Joined: Sep 6, 2005 3:04 pm
Location: Central TN
  

Previous

Return to Please Read

Who is online

Users browsing this forum: No registered users