Previous Thread
Next Thread
Print Thread
Rate Thread
#224257 09/07/2002 3:27 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
My users are once again asking for "Instant Messages" in addition to the Private Messages.

Anyone ever do anything with something like this.

I remember once upon a time on here (can't find it now) it was discussed an option to send a PM but have it pop open in a new window on the recipitient end....
Don't know if anyone ever ended up doing anything with that.

:)

I never stop working to give 'em what they want.

Sponsored Links
Daine #224258 09/07/2002 3:36 PM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
They still wouldn't be truely "instant" as they won't be seen till the recipient enters the page. Would it be a seperate "popup" for each message? If not it would have to be a list of newly recieved messages so each one could be replied to seperately.

I got an idea that may suffice. I'll try and put it together and see what everyone thinks.

I still have 2 mods I need to put to text and get posted... lol never enough time...


Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I'd love to borrow your brain for a few days. I think it's just chok full of good stuff.

What the members like is a new beta feature at Community Zero's forums.

When you go to Community Zero's forums... there is a who's online button which show's you who's online. No big deal. We've got that.

From there, you can enter their chatroom... or you can click on a user and Instant message. It's a java aplet and opens right up for back and fourth IM on the screen.

But everyone is "on" when they are on the site. I guess you can probably choose not to show online...but it's like being in a chatroom all the time... where you can private chat.

Daine #224260 09/07/2002 3:55 PM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
I think jabber?.org has something for websites... I'll look around.

Daine #224261 09/07/2002 4:08 PM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
This would entail an applet and a server for it to connect to. Have a look here:

http://jabberapplet.sourceforge.net/

You will also need to be able to run the applet's server on the same machine as your webserver provided your host allows background processes to be used.


I've never seen this in use though.

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Very cool.

Looks along the lines of what I would need....
But will probably take alot of playing to get it working and integrated.

A project for my list.

Thanks Dave!

Daine #224263 09/08/2002 12:24 AM
Joined: Jun 2002
Posts: 375
Enthusiast
Enthusiast
Offline
Joined: Jun 2002
Posts: 375
One way to do it on a website is with a server side push, or with a refreshing javascript popup, but the server load can get to be quite a bit this way. Some of the html chatrooms I have seen have used a refreshing page every 10-15 seconds like this. Faster than the current system on UBBT though.

neuron #224264 09/08/2002 12:31 AM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
I just don't care to advocate such a setup. An automaticly refreshing page pulling 3 or 4 queries every 15 seconds by 20 people is well over 200 queries a minute. The applet/server route lessons the load on the webserver and the database so it is the best solution. IMHO

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
L_K has a instant message mod over at UbbDev for UBB. Might be useful to try and port this to Threads.

Joined: Apr 2002
Posts: 610
Code Monkey
Code Monkey
Joined: Apr 2002
Posts: 610
wouldn't it make a difference if you had your own chat server, isn't of using irc like most are doing? I'm really clueless, you all know that, but I was thinking if you had chat software, like I do, that uses threads db, it would be like they are already logged in. If you choose to message someone on, it pops up, if not, then it comes to a leave a message window, kind of like an instant helper or live assistance thing?

I don't make any sense... []https://www.ubbdev.com/images/panels/9641-1142.png[/]

Sponsored Links
Joined: Mar 2002
Posts: 305
Enthusiast
Enthusiast
Offline
Joined: Mar 2002
Posts: 305
If I understand correctly, the reason they are saying it will really increase server load is this -- under your scenario, I'm online, you see that, then you send me a message. In order for my computer to know you've sent me a message, it has to reload the page to see if there are any messages. Reloading the page queries the mysql. If you had it set to only refresh every minute or two it really wouldn't provide anything much beyond what private messages already do, since it would be too slow for a real chat like type conversation. Reloading the page at quicker intervals would be rough on the server. (Those times are just made up, I have no idea at what point it would drag the server down -- with 400 people online it would probably bring ours to a grinding halt. )


[:"red"]Lisa[/]
JacquiL #224268 01/12/2003 1:43 AM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, the chat software only works if you visit the chat page and download and run the java applet.

I've thought of ways to do a popping up private message sort of thing. You could have the popup display the "chat" of the 2 people involved.... but it would have to refresh to show the content.

Community Zero had a really neat chat/private chat ability built into their site. But it had to load a java applet on your first visit to the page, which adds issues for alot of people.... depending on their browsers. I wouldn't want to jam an applet down their throat when the visited.

Daine #224269 01/12/2003 5:51 AM
Joined: Apr 2002
Posts: 610
Code Monkey
Code Monkey
Joined: Apr 2002
Posts: 610
what about like a push feature, like on instant helper software where you can push the visitor to any page that you choose? Could you make it to open a new page to them using something like that? Like pushing them to a chat popup, rather than redirecting the actual page they are on?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Not sure, but I think all of that requires a java applet to be loaded first as well.

The nature of web pages doesn't let you push information out normally.

It seems there ought to be some sort of IM ability. Maybe Allen or someone with Classic can tell us how LK does his.

Daine #224271 01/12/2003 9:15 AM
Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
on classic you get the message when you open any page on the forum.

it doesn't popup just like that

glad you asked


Do you believe in love at first sight,
or should I walk by again?
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Okay there is a major difference between instant messaging and chat.

Okay take Joshpet and myself in this thread. Now if we were in the chat room we could talk realtime that we know. But we would both have to be in the chat room. I would have to email him ahead of time etc to set up a meeting.

Now with instant messaging if I wanted to say talk to Josh all I would have to do if he was here is click on his name and send an IM. See the difference. I have this installed back a year ago when I had UBB. It was great.

egor #224273 01/12/2003 9:33 AM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
That's true. I had a popup mod for private messages. I could check with each page load using ubbt.inc.php.

So as long as the user kept going. They just can't stop and instant message, because nothing reloads. Right?

Daine #224274 01/12/2003 9:38 AM
Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
yeah, if they don't load a page they won't get the IM, then you could always force a page reload


Do you believe in love at first sight,
or should I walk by again?
egor #224275 01/13/2003 12:58 AM
Joined: Apr 2002
Posts: 610
Code Monkey
Code Monkey
Joined: Apr 2002
Posts: 610
I think on ubb when someone messages you it is just sitting there until you open up a new page and then it pops up.



Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)