Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

sending 2 private messages within one minute

11 years 1 week ago
  • lafemme's Avatar
    Topic Author
  • lafemme
  • Offline
  • Fresh Boarder
  • Posts: 72
  • Thank you received: 9
Licenses:
JomSocial Active

Hi...

I have very active members. However, when they send 2 messages within one minute, they get a notice. How can this be deleted?


Thank you

11 years 1 week ago
Licenses:

Hi, Lafemme.

1. Go to "ROOT/components/com_community/controllers/inbox.php" file.
(WARNING! Core file hack! Please, make safe copy of edited file. It means also that this file will be overwritten during upgrade, so please make a safe copy of customized file as well)
2. Find

if( ($dateNow->toUnix() - $lastSent->toUnix()) < $config->get( 'floodLimit' )
Here the 'floodLimit' is the time interval . You can change it like
if( ($dateNow->toUnix() - $lastSent->toUnix()) < $config->get( '1' )

You can find the if( ($dateNow->toUnix() - $lastSent->toUnix()) < $config->get( 'floodLimit' ) more than once in inbox.php file. One is for mail message and one is for Private message. So the change in the time limit can be limited to only one.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: lafemme
11 years 6 days ago
  • lafemme's Avatar
    Topic Author
  • lafemme
  • Offline
  • Fresh Boarder
  • Posts: 72
  • Thank you received: 9
Licenses:
JomSocial Active

Thank you very much!! You rock! :D

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW