Im creating a Queue System in Node(SocketIO) + VueJS + MySQL, but after 5 people join it has to create a new chat room (I already got the component created and a main chat) that displays only those were in the queue, I cant find a way to create another chat component, i'd like to know if there is a way to do that?
I'm stuck around 2 weeks trying to figure out how to get this.
Any extra information just ask, please I really need to know how to get this
(Rep too low to post comment, would have done so instead otherwise).
I'd suggest to hide the existence of chat rooms from the frontend, and only tell it about one chat room. The backend would have a list of many rooms and each would have at most 5 people in it.
When the frontend connects with socket.io then you can tell it about the people who are in the chatroom with them.
This means the frontend code only knows about your 5-people chatroom and not about any others. That makes the frontend-side simpler because you only have to show a single chatroom.
The trick then is to manage this correctly in the backend.
I agree with the previous answer
Just display the chat component and fetch the right data depending on the current user (for example which room he's in, and what people are with in etc...)
Hope you'll figure it out ;)
Related
Online I allow customers to order, this causes an Order With Line Items to be uploaded and associated with a Transaction - that works great, exactly as I had hoped. The problem is that there is no notification on the Square App to let my operators know that there is a new order that has been paid.
As of right now, I have the workaround of texting the workers, but I feel like there should be an easy way to push this up to the app - what am I missing? Is this possible?
I am not using an online store, just the API. Thank you.
Unfortunately, sending order confirmation to the Point of Sale app from an API payment isn’t currently available for Square’s API.
We are constantly improving the product based on feedback like this, so I’ll be sure to share your thoughts with the API team.
Does anyone know how to access Contacts in Windows 8 Store apps?
I know that because of the sandboxed nature, Windows Store apps cannot access AddressBook from files such as Outlook Express contacts or Outlook, but since there is already an app called People that comes pre-installed, I figure why not let users make use of whatever Contacts the user has already allowed the app to see, rather than creating separate list of Contacts for my app. It seems silly to recreate the wheel by asking the user to re-import all the contacts again.
I have seen Contact Picker example but I still have no clues how to get list of Contacts/People as in that People app.
I have not developed for mobile phone, however if the device is a mobile phone, surely the app is expected to use local contacts rather than keeping separate list of contacts. So I am thinking there's got to be a way to do the same thing on a PC or any device really, rather than each app managing its own contacts. I have not seen any guidance on how to do this. What are your thoughts?
I asked a similar question a few days ago and, after a lot of research, it looks like it's just not possible to get that information from the people app outside of the contract. The reason that it works within calendar/mail/messenger is because they're all technically contained within the same app and are able to use each other's data and violate normal rules.
A lot of people have pointed me to look at the live SDK, but it still seems like it's not at all possible to get people information in your app, since the SDK doesn't support it anymore.
Look at the ContactPicker class :
http://msdn.microsoft.com/en-us/library/windows/apps/br224913.aspx
Another way is to share your resource or whatever you want to send and user will choose an app that will send or on any another way use your shared resource (url, image, whatever)
IMO the latter is preferred way since then user will have a choice of applications that can send mail or post that resource on facebook / twitter.
Check this sample on ContactPicker
This is a problem that every developer will face when building their apps: how to contact the reviewer of your app to notify them of an update, new release, help topics, etc?
Some things I am thinking:
Include an RSS feed in your app which you can update to notify the users of the app.
Include a twitter feed regarding your app. How to go about this?
Include a way for the users to subscribe to a mailing list. This way, I can send a mass-email to the users who opted-in? Any suggestions here?
Any other ways that you think this can/should be done? Any existing solutions you can point me to will be great. Thanks in advance.
One way, for contacting a specific user who created a review of an application is to go to Zune Social (at http://social.zune.net/home) and create a new message. You can then enter the Zune Tag of the user who created a review.
Personally, I'd try to do all three - have a web page/site, with an RSS feed, and a subscription link (so they can subscribe to the RSS feed via email) and then post any updates to your twitter account as well.
You can't really force a user to do any of these, but having the options available, and linked from inside your app on the about page is probably good practise.
You could also include some kind of "Update Available" feature inside the application. Try to make this as unobtrusive as possible obviously. Obviously if they've still got the app installed they'll get an update notification from the marketplace anyway.
Sam
Besides the suggestions made by samjudson, I'll also recommend having a support-page with a direct option to send a email to you. Here's a example of a support-page from one of my applications. I've received lot of emails with suggestions for improvements, or complains about bugs. And since it's by email, it gives you the option to respond directly to people.
Another thing about reviews. Don't take them to serious. Most people only rate negatively (since humans like to complain), and by such a lot of reviews are often misinformed, outdated, or the users just been plain ignorant.
I want to create a visualization where I see friends being added as time passes but I don't think the Facebook API tells me since how long I am friends with someone.
You can subscribe to Real-time Updates for friends, so facebook should notify your app when new friend is added (in theory, haven't tried it myself :) ).
You can get your most recent connections using
me?fields=posts.fields(status_type)
You can also manually look at the relationship you have with certain users at https://www.facebook.com/username1?and=username2
I have to make an application where a "sender" can send a message to a group of people and to a location. So when a member of the group reach this place (using location position with the cell phone), he receives all the messages for this location. I have thought to make the application using the twitter API, but I'm not really sure if that functionality is possible.
I thought using twitter would be nice to manage groups and login... the application is written in c++ in QT, so, any ideas for the service to be used to manage messages?
Thank you!
This sounds more like something you'd want to write independently; there's nothing using Twitter would really gain you here.
ok... Here are some points from me.
First of all the person should have enabled geo tagging for you to get the position of the location.
The person should send a Tweet only then you will know the location of the person.
I wouldn't say its not possible but may not work in all cases. I would look for developing a service where the person can join, activate geo tagging and then you can monitor each person's tweet and then send them this location based message.