• Hello,

    Is it possible to do the following?

    1) Add a button on users’ profile page that once clicked initiates the contact with the user?

    I am using JetEngine a profile builder, so I have a template for user profile page, and I’d like to open message on click

    2) Disable contacting people based on roles. I.e. only role A can contact role B. Not vice versa

    3) Set rules that only way to contact someone is through #1. Not by name/username search

    4) Is it possible to moderate the messages, e.g. show a warning message when sending a specific phrase (let’s say phone numbers or email)?

    5) is it possible for admins to view the conversations between users? (for security purposes)

    6) Is it possible to manually turn on/off the PRO features, e.g. video chat, to specific users?

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author wordplus

    (@wordplus)

    Hi there!

    1. Yes, with shortcode or custom php
    2. yes, in plugin settings you can setup restrictions
    3. no idea what are you asking about.
    4. you can setup words black list in plugin settings
    5. yes
    6. possible by roles, but not to specific users yet. Probably in future will be possible

    Thanks!

    Thread Starter 001122334455

    (@dkanika)

    Hi,

    1) I used the shortcode given by default in plugin settings: [bp_better_messages_pm_button text=”Private Message” subject=”Have a question to you” message=”Lorem Ipsum is simply dummy text of the printing and typesetting industry.” target=”_self” class=”extra-class” fast_start=”0″ url_only=”0″]

    But nothing was shown so I assume the user ID was not found. How can I dynamically force the user ID (and not manually add each form to a profile page) for the form to work?

    2) Secondly, where / how in settings it’s possible to disable this: https://prnt.sc/in5vRm45QH9G

    To make sure that the only way a user can contact someone is NOT by typing their name or creating a message from their inbox, but by submitting a form on other user’s profile page, which will start a conversation in their inbox?

    Thanks

    Thanks

    • This reply was modified 2 years, 1 month ago by 001122334455.
    Plugin Author wordplus

    (@wordplus)

    Hi there!

    To force user_id add one more attribute to shortcode:

    user_id=”111″

    Thanks!

    Thread Starter 001122334455

    (@dkanika)

    Hi, 2 problems with this:

    1) Adding this to the shortcode still doesn’t display the shortcode in the front end, unfotunately

    2) If I simply add the user ID as 111 – wouldn’t it mean that the form is specific for user with ID 111?

    I need the shortcode to dynamically set the ID of the user where the shortcode is present.

    e.g. my URL structure is something lie this:

    https://www.domain.com/xxx/1/profile
    https://www.domain.com/xxx/2/profile
    https://www.domain.com/xxx/3/profile
    etc.

    And the number is WP user ID.

    I need the shortcode to automatically detect the user ID so the form will be sent to the user whose profile it is.

    Thanks

    Plugin Author wordplus

    (@wordplus)

    Hi there!

    Does user with ID 111 exists?

    You need to use PHP code to generate shortcode with proper user id dynamically.

    Thanks!

    Thread Starter 001122334455

    (@dkanika)

    Hello,

    Yes I understand that it probably needs to be done with php, can you help with this?

    That’s why I am reaching out to support because I need help with this.

    Thanks!

    Plugin Author wordplus

    (@wordplus)

    Hi there!

    Im not able to help you with PHP.

    I can suggest you to learn this way to dynamically generate shortcode.
    https://www.hostinger.com/tutorials/wordpress-do_shortcode

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Is this possible?’ is closed to new replies.