[stopped] mx_chatbox re-write in progress...
 
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.   printer-friendly view    phpMiX.org Forum Index -> mxBB Modules -> mxBB Module: mx_chatbox
View previous topic :: View next topic  
Author Message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Sat Aug 16, 2003 11:09 am    Post subject: [stopped] mx_chatbox re-write in progress... Reply with quote

Arrow sometimes I use this site to play around and bug test the progress of my new codings...

...but this task can suddenly be stopped at any time (leaving something unstable) ...since I was father of twins last 23rd July (oh yes they are wonderfull Smile Smile ) ...but my wife only has two hands... :new_scatter: :new_Eyecrazy:

...so, I believe I'm going to use this thread to inform about such situations here.

I apologize for any inconvenients about this method, but I find interesting that you may see for yourself what I'm working on. Maybe I'm wrong, though.

Please, be patient. Anything else wrong or unstable you may encounter on this site, it would be great if you can loose a couple of minutes to inform me about it. Please, don't use PM, though. Is fine to post any comments in the proper forum, so any other visitor may see if anything is already reported.

Thanks in advance Smile

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Sat Aug 16, 2003 11:16 am    Post subject: Re: Anything unstable here? Reply with quote

I'm working for mx_chatbox, reorganizing the frame layout (to add more user/admin commands and other things) and, also on a new method to avoid users from opening the messenger view frame (or any other frame), which was a bug in original chatbox's code allowing a hidden user to spy the chat calling a frame directly:
http://www.example.com/modules/mx_chatbox/frame_viewer.php

ATM, such users trying to hack the chat, a system message will be displayed to inform such user is on chat now... or if the user is not logged in, he/she will only see that "Please login to chat" message.

...actually, as templates are being implemented for mx_chatbox pages, such attempts will be redirected to the main window frame, where a single point of control will avoid them.

Please, if anyone encounters any security hole, please inform me through PM, since until a patch could released it may affect other mx_chatbox users.

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Sat Aug 16, 2003 3:02 pm    Post subject: Re: Anything unstable here? Reply with quote

The new method to avoid hidden users from reading chat messages seems to work:
http://www.example.com/modules/mx_chatbox/frame_title.php Smile

...it will be implemented for all the other frames, as they are migrated to the new template system, currently in progress...

Next step, maybe:
a) redessign of the UserList frame (left to the message viewer) along with the new Buttons frame (bottom left), adding user/admin commands here.
b) rewrite from scratch all chat logic, making it part of the chatbox class.

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Sun Aug 17, 2003 5:54 pm    Post subject: Re: Anything unstable here? Reply with quote

The mx_chatbox demo is unavailable due to major re-writte in progress.

I'm trying server push methods and the like to improve the whole performance...

...more info very soon.

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Wed Aug 27, 2003 11:13 am    Post subject: Re: Anything unstable here? Reply with quote

markus_petrux wrote:
The new method to avoid hidden users from reading chat messages seems to work:
http://www.example.com/modules/mx_chatbox/frame_title.php Smile

Well, ATM, this security thing has been broken since I decided to rewrite all the code from scratch... Shocked

markus_petrux wrote:
Next step, maybe:
a) redessign of the UserList frame (left to the message viewer) along with the new Buttons frame (bottom left), adding user/admin commands here.
b) rewrite from scratch all chat logic, making it part of the chatbox class.

ok, we are going to option b. Then, it will much easier to go further...

Why option b? Well, basically because all the stuff related to user status (online/away/offline) should be redessigned, simplified, reorganized...

...also, the way new messages are populated to current users on chat, needs another approach...

So, the mx_chatbox module it will be completely re-written... hope to add enough tools to make it worth... Confused there are a lot of chats out there...

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Mon Sep 01, 2003 2:59 pm    Post subject: Re: Major re-write of mx_chatbox in progress... Reply with quote

Just updating this report...
  • Still re-writting all mx_chatbox stuff.
  • ChatBox Front & ChatBox Online blocks have been mixed. Now there's only one block that may be customized to show Who's Online information, Chatters Information or Both (through block parameters).
  • Database dessign has been changed to simplify a couple of new functions. ie. how to show user profile, user status, etc.
  • Offline, Away user status have been changed, almost removed. Now, a user logs into chat when openning the ChatBox window, and leaves the Chat when closing that window. Just as simple as this. In case a ghost is left, it will be automatically removed after a couple of Refresh intervals, since the Chat server is monitoring connections at Client pops (operation to retrieve more messages)...
  • To solve the flickering effect when refreshing the message viewer frame... I'm trying to make it work with new DHTML code. It should be cross-browser ( I hate NS4 Sad, but its still there )... minimal browser features will be javascript and frames support (ie. version 4 browsers) Confused

More to come...

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Tue Sep 02, 2003 4:03 pm    Post subject: Re: mx_chatbox re-write in progress... Reply with quote

I'm happy, today.

This DHTML thing to dynamically update the message viewer is working great. Smile

...as a result, bandwidth usage will be reduced to the minimal expression. It will only transfer new messages, based on timestamp.

You have to see it to believe... LOL ...I'm happy.

However, still there are more things to do... Confused

I expect to enable public access to the Chat here in a day or two.

More to come...

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Thu Sep 04, 2003 10:55 pm    Post subject: Re: mx_chatbox re-write in progress... Reply with quote

markus_petrux wrote:
... in a day or two.


...or three. Rolling Eyes

While I have been working it...

Next release of mx_chatbox will be 2.0.0 and completely new. However, I have been spending much more time than expected... and I need to work in some other projects... so I'm going to have a break with this thingy for a while...

In the meantime, I hope you may enjoy current version, which is 1.1.1 and available in download section. Also, it has been reinstalled here in this site...

Well, it seems is stable enough.

Thanks for your understanding.

Markus

Thread Locked

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.   printer-friendly view    phpMiX.org Forum Index -> mxBB Modules -> mxBB Module: mx_chatbox All times are GMT + 1 Hour
 
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum