Allow All Users to Add in Pms?

Started by Marina at Aug 08, 2020 at 3:36 pm
526 Views
2 Posts


Marina

Client

27Years Young
21 Posts

Heya!

I'd like to let any user be able to add more participants in PMs, not just power users and people who started the pm. Is this possible/How?



Arceus

codemancer

Admin

31Years Young
129 Posts

They don't think that I listen, oh but I know who they are.


In messages.template.php, find:

                  if($user->id == $starter || $user->power)
                  {
                        echo '
                        <div class="flex01">
                        <a class="btn primary btn-sm" href="#" data-toggle="modal" data-target="#newparticipant" title="',$text->button->add,'">
                              <span class="fas fa-plus" aria-hidden="true"></span>
                        </a>
                        </div>';
                  }

And then just remove the if statement around it.


Check out my writing blog!