yii-node-socket
yii-node-socket copied to clipboard
how can i get the online users on application?
Hello there oncesk, On a yii 1.1 project, I need to have a cron running daily checking the db if there are expiring contracts and if so, I need to...
 I have followed all the steps you have mentioned but when i try to run the server using console it throws this error can you please check it and...
проблема следующая нужно сделать что-то вроде var allClients = []; io.sockets.on('connection', function(socket) { allClients.push(socket); socket.on('disconnect', function() { console.log('Got disconnect!'); //отослать событие в на фронтенд. this.emit('test',{data:socket.getId()}) ``` var i = allClients.indexOf(socket);...
list users
может вы подскажите как получить id всех юзеров, что онлайн?
Как правильно добавить скрипты в Yii2? Прочитал Depricated in Yii 2.0 - The Asset Manager registers the files on demand. Но не совсем понятно на этом этапе. Имеется ввиду, что...
Hello, First off, excellent work on the extension, does exactly what i was looking for. But i am having trouble setting this up on my current app. It supports wildcard...
Hey guys, Has anyone worked out how to autostart ``` ./yii node-socket/start ``` I've installed Forever but not having much luck. Sorry if this is not the right place for...
Hi! The extension works good in my virtual machine. But there's a problem on the product server. When I emit an event in js, it works good, but events, which...
Привет! Спасибо за extension! Хотел попробовать его, но при установке столкнулся с проблемой. Сделал все как в описании, прописал все алиасы, прописал controllerMap, но при попытке выполнить yii node-socket -...