Sponsored Content
The Lounge What is on Your Mind? PubNub Live Chat Beta Testing Post 303034889 by Neo on Wednesday 8th of May 2019 11:17:48 PM
Old 05-09-2019
Hi Craig,

Here is the pubnub dependency in the node project:

Code:
 "pubnub": "^4.23.0",

The PHP version of the SDK (used for server side messages) was provided to me by your team, and of course that it is a different project and I don't have that information handy.

I have no idea why the pubnode SDK has tokens that shows JS v3.16.3, but I just started this project a few weeks ago and only installed "pubnub": "^4.23.0",

I assume there is legacy code in your SDK and that is why you are setting what you are seeing.

I did install "pubnub-vue": "^1.0.1", initially, but I abandoned that code rather quickly. I probably should remove the that unused package from my project file, which I just did:

Code:
npm uninstall pubnub-vue --save

and rebuilt the project without this unused code in version 0.7604, which I just built and installed on the server.

Maybe removing that pubnub-vue repo, which I thought was unused, will get rid of the JS v3.16.3 code you were seeing?

Also, when I have time, I'll rebuild the project and test:

Code:
  pubnub.subscribe({
      channels: ["ch1", "control"],
      withPresence: true
    });

right now, it is still running:

Code:
  pubnub.subscribe({
      channels: ["ch1", "control"],
      withPresence: false
    });



I will test this again soon, with the changes you made to our pubnub config and report back!

Thanks for all your great help and interest in this little project
 

4 More Discussions You Might Find Interesting

1. Solaris

Live Chat For Solaris?

Does anyone know of any online live chat discussion groups for Solaris? If so, please let me know... Thanks! Rob Sandifer (3 Replies)
Discussion started by: RobSand
3 Replies

2. What is on Your Mind?

A Quick Video Overview of PubNub Live Chat @UNIX.com (version 0.7614)

A number of people have asked me to make some videos, so I just got my first condenser microphone and so I can make some amateurish screen casts. I will try to do better in the future. A quick overview of PubNub Live Chat @unix.com The video is best is you set the Quality to HD 1080. The... (0 Replies)
Discussion started by: Neo
0 Replies

3. What is on Your Mind?

Live Chat (Alpha) in UserCP SF 0.7517

Interesting.... I am still working on the kinks for Live Chat here at unix.com using a publish-subscribe API from PubNub. Two days ago while working on it, a new user joined the live chat and asked about how to post a new thread in the forum. Then today, one of the members of the PubNub team... (23 Replies)
Discussion started by: Neo
23 Replies

4. What is on Your Mind?

Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates

Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates In this version of the UserCP, I have changed "Live Chat" to "Live Updates" by disabling the ability to post in the "live chat" area and changed the name to "Live Updates" The reason for this change is that experienced... (6 Replies)
Discussion started by: Neo
6 Replies
bntext(5)							File Formats Manual							 bntext(5)

NAME
bnmotd.txt, bnnews.txt bnissue.txt - messages for the Unix Battle.net daemon DESCRIPTION
The file bnmotd.txt contains text displayed by bnetd(1), when users first log into the server. The file bnnews.txt contains text displayed when the user uses the /news chat command. The files consist of raw text with printf-style formatting escapes. Each line of a file can contain a type formatter from the following list: %B Use the broadcast attribute (???). %C Execute the line as if the user entered it as a command. %E Use the error attribute (red). %I Use the info attribute (yellow). This is the same was %W. %M Normal chat message (white). This will appear as if the user said it. %T Emote chat message (???). This will appear as if the user said it. %W Use the warning attribute (yellow). This is the same was %I. Within a line, any of the following format formatters may be used: %% Expand to a literal percent sign (%). %a Expand to the number of accounts on the server. %c Expand to the number of channels on the server. This includes all permanent and current temporary channels. %g Expand to the number of games on the server. This includes both public and private (passworded) games. %h Expand to the hostname of the server (as returned by gethostname(2)). %i Expand to this user's account ID number, formatted with a leading pound (#) sign and leading zeros. %l Expand to this user's current chat name which is usually the same %r Expand to the IP of the remote machine (the client). %t Expand to four character client tag. %u Expand to the number of users logged into the server. %v Expand to the version number of the server. SEE ALSO
bnetd(1) AUTHOR
Ross Combs (ross@bnetd.org) 2 August, 2001 bntext(5)
All times are GMT -4. The time now is 04:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy