Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact
You are here: Home

dimabuko

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 57 total)
← 1 2 3 4 →
  • Author
    Posts
  • April 23, 2016 at 8:20 am in reply to: Login Bug in Safari (iOS) #6593
    dimabuko
    Participant

    On desktop there is the same bug. Tested is Safari.

    1. Log in (remember me is unchecked)
    2. Close Safari, open Safari again
    3. Access the protected page (permitted for your level). It opens.
    4. In the comments area you see the message “Log in to comment”

    Additional info
    1. If you try to open /membership-login/membership-profile/ it opens.

    Problem:
    Authorised user with right permission for page can’t comment it. WordPress thinks that user isn’t logged in.

    Please help! For my project it’s now super critical issue.

    April 14, 2016 at 8:09 am in reply to: Bug: user without rights for protected post can add comment to this post #6474
    dimabuko
    Participant

    Yes, I can. I’ll do it soon.
    But it’s not about theme — it’s about Custom Messages add-on.

    April 14, 2016 at 7:59 am in reply to: Link with Username in Menu #6470
    dimabuko
    Participant

    Hello!

    Excuse me but I need help with that.

    My tasks:
    1. Show username to logged in user
    2. Show static link to non logged in user.
    Sounds easy and documentation is clear. So I write this code in my HEADER.PHP child theme:

    <?php
        if ( SwpmMemberUtils::is_member_logged_in() ) {
            global $current_user; get_currentuserinfo();
                echo('<a href="/membership-login/membership-profile/" title="Edit Profile"><div class="user_menu user_menu_registered">' . $current_user->user_login . '</div></a>&nbsp;<a href="/membership-login/?swpm-logout=true" class="logout_icon" title="Log Out"></a>');
        } 
        if ( !SwpmMemberUtils::is_member_logged_in() ) {
            echo '<a href="/membership-login/"><div class="user_menu">Sign In/Sign Up</div></a>';
        }
    ?>

    It works sometimes, but there is a bug sometimes.
    1. When I login first time it works.
    2. When I log out it works.
    3. When I login, then close the browser (ex. Safari on Mac OS), then open browser again, open site. There is a bug — username not showing, showing only Log Out icon.

    I understand that the problem in this part of code:
    $current_user->user_login

    I understand that it is ok to show that way username for WordPress but it’s not the same for SM Plugin.
    Unfortunately I can’t use shortcodes here and I don’t now how to get username. By the documentation I tried these:

    <?php
        if ( SwpmMemberUtils::is_member_logged_in() ) {
            $mp_username = SwpmMemberUtils::get_logged_in_members_user_name();
            echo('<a href="/membership-login/membership-profile/"><div class="user_menu user_menu_registered">' . $mp_username . '</div></a>&nbsp;<a href="/membership-login/?swpm-logout=true" class="logout_icon"></a>');
        } 
        if ( !SwpmMemberUtils::is_member_logged_in() ) {
            echo '<a href="/membership-login/"><div class="user_menu">Вход/Регистрация</div></a>';
        }
    ?>

    But it cause some parse errors and don’t work.
    Could you help me to get this username please :() and paste it to variable?
    $mp_username = SwpmMemberUtils::get_logged_in_members_user_name();

    April 14, 2016 at 7:00 am in reply to: Bug: user without rights for protected post can add comment to this post #6465
    dimabuko
    Participant

    Excuse me, I made a screenshot with comments in red.

    https://www.dropbox.com/s/8d1nqwsdaq9gxhg/screen.jpg?dl=0

    April 13, 2016 at 8:59 pm in reply to: Changes in .po files have no effect #6458
    dimabuko
    Participant

    Web servers use the MO files to display the translations. You should compile .po file to .mo and upload 2 files.

    April 13, 2016 at 2:43 pm in reply to: Adding any success message after Registration #6454
    dimabuko
    Participant

    Hi!

    I found that in HTML there is message I need:

    <div id="message" class="updated"><div class="swpm-registration-success-msg">Регистрация прошла успешно.Пожалуйста, <a href="http://lililove.me/membership-login/">Войдите</a></div><ul></ul></div>

    May be my css caused the problem but now I’ll fix it! Excuse me for disturb.

    April 13, 2016 at 1:24 pm in reply to: Open passwords in mail #6452
    dimabuko
    Participant

    Thank you so much! Sorry, feel really stupid now )

    April 13, 2016 at 1:01 pm in reply to: Remember Me function does save information on Mobile #6450
    dimabuko
    Participant

    Hi guys again!

    When I was working on my project I found that in produced HTML there is such code:
    <input type="checkbox" name="rememberme" value="checked='checked'">

    I’m not sure but looks there is mistake here: value="checked='checked'".

    April 13, 2016 at 10:34 am in reply to: Bug: user without rights for protected post can add comment to this post #6447
    dimabuko
    Participant

    Hi again guys!

    Now when my project is open for users this problem is looking crazy — link.

    In comments field there are form-form-form! Please help with any advice.

    April 13, 2016 at 8:29 am in reply to: Open passwords in mail #6438
    dimabuko
    Participant

    I think the simplest way is just to hide a password in email.

    April 12, 2016 at 2:27 pm in reply to: Problem with 3-d parties plugin (Contact Form 7) #6413
    dimabuko
    Participant

    I understand, thanks.

    April 11, 2016 at 1:39 pm in reply to: Bug: user without rights for protected post can add comment to this post #6354
    dimabuko
    Participant

    So I’m not sure if you are going to fix bug that I described.

    April 9, 2016 at 12:38 pm in reply to: Bug: user without rights for protected post can add comment to this post #6318
    dimabuko
    Participant

    I don’t understand.

    At the moment this is an intended behavior. WordPress has an option to enable comment posting for logged in users only. Our plugin will work with that option.

    Ok, in my case this option is enabled and there is bug with protected page. User without rights to see page and comments (but registered user, with free subscription) can add comment to that page.

    Also what about second bug I described? (Message added in custom messages add-on not showing in comments area)

    April 8, 2016 at 12:21 pm in reply to: Bug: user without rights for protected post can add comment to this post #6285
    dimabuko
    Participant

    It works as you described with Posts but not with Pages. I have no posts on website and I have only pages without any categories.

    April 8, 2016 at 10:04 am in reply to: Not getting membership e-mails / admin e-mails / membership confirmations. #6269
    dimabuko
    Participant

    hi @kwestfehling. And do you get any standard e-mails from wordpress or other plugins (ex. Contact Form 7)?

  • Author
    Posts
Viewing 15 posts - 31 through 45 (of 57 total)
← 1 2 3 4 →
« Previous Page

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy