Instance of message box in popup


Home Forums Front End PM PRO Instance of message box in popup

This topic is: Not Resolved

This topic contains 15 replies, has 2 voices, and was last updated by  shamim 1 month, 3 weeks ago.

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #24538

    Alexandra
    Participant

    Hi, Can you please tell me if its possible to add multiple message boxes in a popup in one page. I tried that, but when i submit the message then it redirects me to an error page. Please see my attached design which I want to integrate.

    Best Regards

    Attachments:
    You must be logged in to view attached files.
    #24559

    shamim
    Keymaster

    Which shortcode/code you are using to show those “Message” buttons.

    #24566

    Alexandra
    Participant

    I tried to use this one fep_shortcode_new_message_form

    #24569

    Alexandra
    Participant

    What i am doing is, i add user ids on each message button, and on click of it, i load the shortcode based on that user id in popup, the form shows but with no styling and also it doesn’t work.

    #24596

    shamim
    Keymaster

    Is it possible for you to give me a link of that page?
    If yes, use https://www.shamimsplugins.com/sensitive-information/ (give me a test user credentials also so that i can login)

    #24786

    shamim
    Keymaster

    Thank you for url and credentials.
    How did you added those message buttons? What code you added there?

    #24807

    Alexandra
    Participant

    I am adding following code using ajax

    [fep_shortcode_message_to to=”[i add user’s nicename here]” subject=””]

    #24819

    shamim
    Keymaster

    It does not seems you have added it in right way. Nothing is outputted from this shortcode there. If you add Test Content instead of this shortcode, does that output there?
    Do your theme/plugin have any documentation how to add content there?

    Can you give me full code of that area (including ajax and table code)?

    #24899

    Alexandra
    Participant

    Okey now check please the form is being showed in popup but after submitting it, it redirects to a blank page with success message.

    #24902

    shamim
    Keymaster

    You are adding form via ajax. so no script is added. Show form model without ajax. or add wp_enqueue_script( 'fep-shortcode-newmessage' ); in that page somewhere.

    #25188

    Alexandra
    Participant

    That didn’t worked for me. But i managed a solution.

    Now my main and very important requirement is i want to also add admin as a recipient in this shortcode fep_shortcode_new_message_form how can i do that?

    #25199

    shamim
    Keymaster

    Please see https://www.shamimsplugins.com/docs/front-end-pm/shortcode/fep_shortcode_new_message_form/
    suppose your admin user_nicename is admin then add like following
    [fep_shortcode_new_message_form to="admin"]

    #25201

    Alexandra
    Participant

    No, that’s not what i am asking, I want to add multiple recipients, so I want something like this [fep_shortcode_new_message_form to=”admin,user1,user2″]

    #25223

    shamim
    Keymaster

    That shortcode does not support multiple recipients.
    If you want to add a user (eg admin) to all messages from that shortcode That is possible.

    But if you want to add different user to different messages then that need to be custom coded.

    #25236

    Alexandra
    Participant

    Yes please tell me that how i can add admin to all messages from this shortcode.

Viewing 15 posts - 1 through 15 (of 16 total)

You need to purchase ‘Front End PM PRO’ to reply in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.