• Resolved bananenkopf

    (@bananenkopf)


    Hey,

    I am using a post-popup plugin with this shortcode

    [fep_shortcode_new_message_form to="{current-post-author}" subject="{current-post-title}"]

    when the modal opens it says:

    You must login to contact

    Of course user is logged in….

    Popup-Plugin uses link to a static page where only the fep-shortcode is used.

    If i use

    href="<?php echo fep_query_url('newmessage', array('fep_to' => get_the_author_meta( 'user_nicename') ) ); ?>"

    directly as link for the popup it works fine, but i am missing the

    subject="{current-post-title}

    function for this… so i am trying with the shortcode solution and got in struggle now…

    You have a answer to this issue?

    Thanks

    • This topic was modified 6 years, 1 month ago by bananenkopf.
    • This topic was modified 6 years, 1 month ago by bananenkopf.
    • This topic was modified 6 years, 1 month ago by bananenkopf.
    • This topic was modified 6 years, 1 month ago by bananenkopf.
    • This topic was modified 6 years, 1 month ago by bananenkopf.
    • This topic was modified 6 years, 1 month ago by bananenkopf.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Shamim Hasan

    (@shamim51)

    Do you use any caching plugin? If yes, try to deactivate that plugin and test.
    If you are happy to show only link, you can use [fep_shortcode_message_to] shortcode

    Thread Starter bananenkopf

    (@bananenkopf)

    Hey,

    thanks for reply.

    No Cache plugin is used.

    If i use

    [fep_shortcode_message_to]

    like

    <div class="modal-link"><?php echo do_shortcode('[fep_shortcode_message_to to="{current-post-author}" subject="{current-post-title}"]'); ?></div>

    it results in a white modal screen.

    I am using WP Post Popup. Do you recommend a popup/modal plugin you know it definitely works for fep?

    Plugin Author Shamim Hasan

    (@shamim51)

    It should work with any popup plugin which support shortcode.
    I have randomly downloaded and tried some popup plugins which works every time.
    You can use https://www.ads-software.com/plugins/popups/ (or search popup plugins in wordpress, see if they supports shortcode, most of them supports shortcode)

    Thread Starter bananenkopf

    (@bananenkopf)

    Thank you! It now works perfect!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Login issue by shortcode usage’ is closed to new replies.