1
Mazarin
Limiting users to which it is possible to send PM's
  • 2010/9/24 14:18

  • Mazarin

  • Just can't stay away

  • Posts: 533

  • Since: 2008/12/10


What is the best way of limiting the users someone can send a PM too? Is there a module that supports this (haven't found one) or do I have to hack the underlying query/code?

The reason for asking is that I only want activated users available to send PM's to.

2
ghia
Re: Limiting users to which it is possible to send PM's
  • 2010/9/24 15:02

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


For this you need to add a criteria in /class/xoopsform/formselectuser.php selectable on an extra parameter eg $exclude_inactive = false
In /modules/pm/pmlite.php you have to call XoopsFormSelectUser with this parameter set to true.

Login

Who's Online

346 user(s) are online (219 user(s) are browsing Support Forums)


Members: 0


Guests: 346


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits