Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: User Email Login #24763
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: User Email Login #24762
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: User Email Login #24760
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: [Resolved] Reset Password #24757
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Hi John,
    You can use

    
    count_user_posts( $user_id, $post_type )
    

    to get the count of user posts.

    Please see this for example.

    https://codex.wordpress.org/Function_Reference/count_user_posts

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: +Add document via link #24755

    Hi Terry,
    Thank you for using MediaPress.

    If the above message is coming, there are 2 possible reasons.

    The easy one is most probably oembed is enabled but remote is not enabled. Can you please visit MediaPress->Settings->General and check that both oembed and remote files are enabled?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: User Email Login #24754

    Hi Trev,
    Welcome to BuddyDev.

    1. You do not need this plugin to allow users login via email or user name. It is available out of the box for WordPress now.

    2. Please delete the bp-custom.php file or put the following before anything else in this file to make it work

    
    <?php
    // the code goes here
    
    

    There should not be any space before it.

    3. The code and filter ‘bp_autoactivate_use_email_login’ was used specifically for a plugin that used email for login. You do not need it.

    Now, my question:-

    A. Do you want to allow users to login via email? If yes, you do not need to do anything. It is available out of the box. If it is not working, Please check your login related or security related plugins.

    B> Or do you want to force users to login via email instead of username? If that is the case, Please let me know. I can point to 1or 2 available plugin that allows it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    You are welcome.

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Hi Richard,
    I have found the issue. We are not saving media id with comment and that is leading to this issue. Please allow me 2 more days to put a solution.

    Thank you
    Brajesh