Community

Forums » SEPHP Help and Tips

Private Messages - 10 user cap, can it be increased?

    • 84 posts
    June 30, 2019 4:23 PM EDT

    Hello all,

    I have a group of women who send a private message to each other daily, and the group is at about 13. We are migrating to our social engine platform and they are asking me if I can increase the limit on private messages to 15.

    I looked in the settings and wasn't able to find anywhere that I could do this. I am hoping I am missing something and one of you can steer me in the right directions.

    TIA for all the help I have received here in this community. Someday I may be able to helps someone myself!

    Nancy

    • 36 posts
    June 30, 2019 8:48 PM EDT

    ./applications/modules/Messages/controllers/MessagesController.php Search for: 

    $this->view->maxRecipients = $maxRecipients = 10;

    Change 10 to whatever value you need. Side note: sorry Donna, I'm using mobile version of the site right now and there's no option to wrap codes.


    This post was edited by Donna at July 1, 2019 5:56 AM EDT
    • 84 posts
    July 5, 2019 12:55 PM EDT

    ACK! I did that and then private messages stopped working altogether. I even had our hosting guys try it in case I did something wrong and it still broke. Fortunately they were able to restore it back and things are fine now. We'll keep it at 10 then.

    Thanks for your help!