Home Forums Plugin Support WP User Frontend Pro Messages showing twice

This topic is: not resolved

This topic contains 16 replies, has 2 voices, and was last updated by  Nayem 3 years, 10 months ago.

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #44624

    Vayu
    Member
    Post count: 17

    Hi. I cannot find a reason why the messages are showing twice. Please go to this page for an example.
    http://bjergene.org/?action=lostpassword

    It's like that for all feedback messages.

    Do you have any idea?

    #44661

    Nayem
    Moderator
    Post count: 6480

    Hello,

    Please switch to a default theme of WordPress. After switching to a default theme if the problem remain then let me know.

    Thanks.

    #44664

    Vayu
    Member
    Post count: 17

    Hi Nayem,
    Okay, I have now done this. The problem still exists. ๐Ÿ™‚
    Please see screenshot.
    http://note.io/1F1oBq9

    #44670

    Nayem
    Moderator
    Post count: 6480

    Please also disable all of your plugin except Wp user frontend pro.

    #44674

    Vayu
    Member
    Post count: 17

    Okay, so have tested with disabling all plugins and then activating them one after another. When all were deactivated the problem disappeared. When activating the WordPress SEO plugin by Yoast, then problem appeared.
    Do you have any input on this? Obviously we must use this plugin.

    #44676

    Nayem
    Moderator
    Post count: 6480

    Hello Vayu,

    If there is any issue in our plugin then we can fix it easily. Though it is a third party plugin so it is not easy to provide support for that. We do not provide support for any third party plugin. But we can try to solve this. If this take little bit of code then we will do that for you. but if this need huge customizing then we will inform about it.

    Please provide your login details and admin by using this form: http://wedevs.com/provide-login-details/. I will have a look what is going wrong.

    Thank you ๐Ÿ™‚

    #44679

    Vayu
    Member
    Post count: 17

    So I assume that you have not encountered this issue before? On the live site it will not be possible to disable any themes or plugins, as it will not function as intended. Will you be able to debug anything under these circumstances?

    #44682

    Nayem
    Moderator
    Post count: 6480

    Hello Vayu,

    We did not get any conflict like this. I did not tell you to disable your plugin. Please read my post clearly. We do not provide support for third party plugin. But i also said you can provide us the details. We will check and if we can then we will fix this ( if there is no major issue).

    Thanks.

    #44685

    Vayu
    Member
    Post count: 17

    Thanks Nayem, but I did read you post clearly, I am just informing you and letting you know the situation. I did not ask you to fix third party plugins. I just need to make clear that we are on the same page before giving you any login to the admin. ๐Ÿ™‚

    #44716

    Vayu
    Member
    Post count: 17

    I have now found some information about this issue. I don't think it's the WordPress SEO plugin that is the root cause of the problem.

    I have used this bit of code to add the wpuf-login shortcut like this:

    add_filter( 'the_content', 'filter_the_content_on_profile', 10 );
    function filter_the_content_on_profile( $content ) {
    	if( is_front_page() && ! is_user_logged_in() ) {
    		$content = do_shortcode( '[wpuf-login]' );
    	}
    	return $content;
    }

    I have then removed the shortcode from the content edit area under pages. I have done this, so I can place other content in that page, that is shown when the user is logged in.

    Do you know why it display all messages twice based off of this information?

    #44826

    Nayem
    Moderator
    Post count: 6480

    Your code seems like ok. Did you insert that shortcode anywhere in the front page twice?. Actually you have customized our plugin. So we can not provide support for this. We only provide support for our built in feature, installation and configuration.

    #44828

    Vayu
    Member
    Post count: 17

    Hi, no did not add it twice, but maybe WordPress SEO plugin does something, so it adds it twice?

    If I cannot do it this way, how can I then display only the login form on the page, but when I am logged in, then display other content?
    Please see screenshot for further explanation: http://note.io/1HvBfAJ

    #44831

    Nayem
    Moderator
    Post count: 6480

    Hello Vayu,

    In the page just write the content and the shortcode then the content will appear in the login page. I think there is no need to insert any code to show the content in the login page of WPUF.

    #44834

    Vayu
    Member
    Post count: 17

    Thanks, but I don' know if you saw my screenshot? I want the body text to be shown only when the user is logged in. So for instance in your example. The text you wrote “your content here”, should only be shown when the user is logged in. How can I do this?

    #44839

    Nayem
    Moderator
    Post count: 6480

    Hello Vayu,

    I think you can use this plugin to show content after login and more function- https://wordpress.org/plugins/restrict-content/.

    Thanks.

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

The topic ‘Messages showing twice’ is closed to new replies.