Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional XMPP Programming with JavaScript and jQuery
This is the forum to discuss the Wrox book Professional XMPP Programming with JavaScript and jQuery by Jack Moffitt; ISBN: 978-0-470-54071-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional XMPP Programming with JavaScript and jQuery section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 30th, 2011, 10:36 AM
Registered User
Points: 25, Level: 1
Points: 25, Level: 1 Points: 25, Level: 1 Points: 25, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating a room in MUC

Hi,
When i try to create a room in Multi User Chat, server responds 'This room is locked from entry until configuration is confirmed'. How can i overcome this
Reply With Quote
  #2 (permalink)  
Old February 5th, 2012, 07:53 PM
Wrox Author
Points: 702, Level: 10
Points: 702, Level: 10 Points: 702, Level: 10 Points: 702, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2010
Posts: 178
Thanks: 0
Thanked 15 Times in 14 Posts
Default

Configure the room. Examples are here:
http://xmpp.org/extensions/xep-0045.html#roomconfig
Reply With Quote
  #3 (permalink)  
Old April 13th, 2012, 11:52 AM
Registered User
Points: 15, Level: 1
Points: 15, Level: 1 Points: 15, Level: 1 Points: 15, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i have got some problems:

I maded MUC like in the book,but
1) when user tester@v000001 logins at testing@conference.v000001/TESTER twice, there is no any rename or error handle to warn about it.
TESTER - is a nickname of user tester@v000001 right?
Im going to rename, like TESTER2...TESTER{N}
Why ejabberd not returning code 210?

2) iv got online translation (not on jabber), and while translation exist there must be a chat room. Im going to do this via php on server side.
initiate creating room (like 'translation#1')
giving some configs to room
and there must a condition, if user is guest,he can just browse chat, if regisstered, than can post.
So:
2.1) is creation steps right?
2.2) can i make just browsing messages?
Reply With Quote
  #4 (permalink)  
Old April 16th, 2012, 06:06 PM
Wrox Author
Points: 702, Level: 10
Points: 702, Level: 10 Points: 702, Level: 10 Points: 702, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2010
Posts: 178
Thanks: 0
Thanked 15 Times in 14 Posts
Default

Quote:
1) when user tester@v000001 logins at testing@conference.v000001/TESTER twice, there is no any rename or error handle to warn about it.
TESTER - is a nickname of user tester@v000001 right?
Im going to rename, like TESTER2...TESTER{N}
Why ejabberd not returning code 210?
Without some wire traffic, I can't really say. This would be the first I've heard of such a bug though.

Are you sending presence to the room from the same JID both times? If so, the room is going to treat that as a presence update, not a room join (the first one is a join, the second one is an update). If two different JIDs were to send that presence, one of them would get a nick conflict.

Quote:
2) iv got online translation (not on jabber), and while translation exist there must be a chat room. Im going to do this via php on server side.
initiate creating room (like 'translation#1')
giving some configs to room
and there must a condition, if user is guest,he can just browse chat, if regisstered, than can post.
I'm not sure if ejabberd will allow you to control voice by affiliate out of the box. It's not something I've ever needed to use. One way to get around this if ejabberd lacks such functionality is to do what IRC channels have long done, and that's create a virtual participant that promotes and demotes people based on various properties.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MUC Issues jpeterson7755 BOOK: Professional XMPP Programming with JavaScript and jQuery 1 April 18th, 2011 08:39 PM
Chat Room aliusmankhan ASP.NET 2.0 Professional 2 August 23rd, 2008 08:51 AM
GUI chat room mralam Java GUI 4 October 30th, 2007 05:46 AM
Online Chat Room pro-logic .NET Web Services 0 October 20th, 2003 06:26 AM
Chat Room Creation HELP! nvillare Classic ASP Basics 2 August 28th, 2003 07:46 AM



All times are GMT -4. The time now is 01:14 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.