We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Messages + IM Chat (Oxwall v1.7) - Mailbox | Forum

Emil
Emil Jun 8 '15
Hello. I suspect my site getting slow because of milbox chat plugin

If I enable "Mails only" and deactivate chat would that have any effect on speed?

Also, ho do i delete old chat messages that are flooding the database.

No one need messages from more than a week ago in their chat history.

Is there an option to make the chats expire after certain time?


And lastly, is there a way to increase chat refresh interval. I believe no it is set to every 3 seconds. I would like to increase that to 10 seconds. Thanks

The Forum post is edited by Emil Jun 8 '15
Oxwall Software
Oxwall Software Jun 9 '15
What is  your software version?
What is your plugin mailbox version?
How many active users you have on your website?
How many online concurrent users do you usually have?
Deactivating chat or mailbox could effect the site speed, you can try to do that.
You will need to delete the chat messages manually via database(if you need I can provide you with instructions)
To make chats expire is a custom code modification of the plugin. You will need to do that on your own or hire a programmer. You can do that here: http://www.oxwall.org/market/specialists
Or you can make a post in the custom code modification section of the forum, probably some community member will assist you there.
There's no such thing as chat refresh? If you mean the interval of message display time that it depends on the ping time
Emil
Emil Jun 10 '15
Hello, thank you very much for the reply.
Site is rather small. 12 users online at max. About 100 visitors active. Software version 1.7.4. plugin version - newest.

Yes I would like a tutorial on how to delete old chat history via DB.
Also I increased the ping time in mailbox.js  - this.pingInterval = params.pingInterval || 9000;

but it seems it keeps "refreshing" at 5 seconds. Is there any other way I can increase pingInterval?
Hybrid
Hybrid Jun 10 '15
Also, ho do i delete old chat messages that are flooding the database.

No one need messages from more than a week ago in their chat history.

Emil, I would be careful "deleting" old chat messages from users of your website - some would say this is an intrusion of privacy and you may get in trouble by law.  You state that no one needs messages from more than a week ago in their chat history - but some like to go back and view all history of chats/messages, and if you delete that, that is going against one of the main principles of having a social network.


As long as you state that this is the required standard of your website, you might be okay then in deleting messages after a certain time period - that way you are covering yourself so you do not get in trouble by law.


Either way, I highly recommend NOT deleting any messages/chats as that truly is invasion of privacy to your users.  And as the old saying goes, "If 1 person says something bad about your service, they tend to tell 5-10 of their friends about it.  On the other hand, if 1 person says something positive, they only tend to tell 1-3 people about it (if any)..." - And if you are deleting their messages, that will definitely send a bad vibe to your users - causing that chain of reaction.


Just food for thought.


Oxwall Software
Oxwall Software Jun 15 '15
As to the ping time you probably did not enabled dev mode for recompiling the static files. Please do enabled dev mode refresh your website and disable it.
As to the instructions - all you need to go to phpmyadmin->ow_mailbox_conversation table and delete the old records

By the way, what is your hosting plan?
Poh
Poh Jun 17 '15
Hello.

I´m having trouble with user credits + messages.

Messages plugins offers mailbox and webchat. In my site only webchat is active.

User credits allows charging X (in my case X = 1) credits when the user continue the conversation. But it charges 1 credit for each message sent. I would like to know if the is a way to setup a delay for charging. Example: charging 1 credit each 60 seconds instead every message.

By charging users by message sent I will have to sell packages with at least 1000 credits. This and discourage the user to use the site.

Is that possible to do? Is there other plugin rather than messages that allos me to do that?

Oxwall Software
Oxwall Software Jun 23 '15
Create a post in the User Credits plugin forum, as this should be done on the User Credits plugin side.
Pages: « 1 2
You do not have permission to reply this topic