Skip to:
Content
Pages
Categories
Search
Top
Bottom

Send all private messages to admin for approval

  • @imagine81

    Participant

    Hi,

    I’m using Buddypress for a site for a client, who needs a pretty specific set-up:

    – Messages can only be sent by paying members
    – Messages go to admin for approval and possible editing before being sent on to members (this is just to remove personal information, such as email addresses so that members have to go through site admin for contact. All members will be aware of this before they sign up.)

    I’ve implemented the functionality to restrict messaging to private members, however I’m having a huge amount of trouble trying to edit the message function to send to admin first. I’m envisioning some sort of holding system, where the message recipient gets stored but not triggered until approval.

    Any help would be hugely appreciated!

    -imagine

Viewing 5 replies - 1 through 5 (of 5 total)
  • @mercime

    Participant

    @imagine81 The functions you want would require some custom plugin which is not available at this time. You could hire a developer to do this for you or wait till someone creates one and release it to the public.

    @naijaping

    Participant

    @imagine81, You can use a function to remove email contact from private message:

    http://pastebin.com/jZeThNEv

    Note: You can amend it to remove other contact aswell

    Naijaping

    @imagine81

    Participant

    Hi Naijaping,

    Thanks for that, I will try out your function and let you know how it goes 🙂

    Imagine

    @imagine81

    Participant

    Hi Naijaping,

    Your code works great for removing email addresses, however my client still wants to be able to check for phone numbers and mailing addresses. But thankyou!

    Imagine

    @naijaping

    Participant

    @imagine81, what you can do is create a function using ban array to ban some words e.g:”Phone Number”, “My address” etc…and check for the ban words in private messages.

    Naijaping

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Send all private messages to admin for approval’ is closed to new replies.
Skip to toolbar