Skip to:
Content
Pages
Categories
Search
Top
Bottom

Send all private messages to admin for approval

  • Avatar of imagine81
    imagine81
    Participant

    @imagine81

    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)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @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.

    @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

    Avatar of imagine81
    imagine81
    Participant

    @imagine81

    Hi Naijaping,

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

    Imagine

    Avatar of imagine81
    imagine81
    Participant

    @imagine81

    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

    @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)

You must be logged in to reply to this topic.