BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: [Resolved] Buddypress posts comment doesn't work #2551

    Hi Kyl,e
    I seem to have tracked down the issue but will need a confirmation before I push the update.

    1.AS I Tested, It appears that only posts displayed on the Group blog page have comments closed. The normal posts( which are not accessible from group blog screen) have no effect on the cmment status.

    Are ypou facing the same issue? If yes, we need to work around over enthusiastic BudyPress comment closing filter, I had done it for BuddyBlog earlier and the same appears for Blog categories.

    Can you please confirm and I will provide a quick update.

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: Restrict Email Domains #2550

    Hi Jay,
    I am sorry for the delayed reply.
    It will be like this

    
    
    add_user_to_blog( $blog_id, $user_id, 'subscriber' );
    
    

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25174

    Hi Christopher,
    Thank you for posting.
    It is not an exploit as it will never escalate the rights of the user but still it is a bad user experience. I will have an update today. We shomehow missed this in our test and I apologize for that.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: Restrict Email Domains #2546

    or even better instead of using default_role, you can just use the string ‘subscriber’

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: Restrict Email Domains #2545

    Login issue should be fixed. No, It will not cause any issue as users will be added as subscribers. Please do make sure that you have set the default role as subscriber.

  • Keymaster
    (BuddyDev Team)
    Posts: 25174

    Hi Leo,
    Thank you. I appreciate it. I will be looking at it a little bit late today and will keep you updated.

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: Restrict Email Domains #2540

    Hi Jay,
    I have a post related to this
    https://buddydev.com/buddypress/adding-users-to-the-blog-on-which-they-register-in-a-buddypress-wordpress-multisite-based-social-network/

    All you need to do is change this line

    
    $blog_id = get_current_blog_id();
    

    to

    
    
    $blog_id = 1;
    
    

    rest will remain same.

  • Keymaster
    (BuddyDev Team)
    Posts: 25174

    Hi Leo,
    I need some help here. It is very strange that I am not able to reproduce it.

    Can you please provide following details:-

    -Which version of WordPress?
    -Is it multisite?
    -Which version of BuddyPress, Is it network active?
    -Which version of BuddyBlog/Front end post plugin
    _is there anything else that you think might cause this? Are you using default theme(twentyfifteen/sixteen or something else?)

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25174

    Thank you. I will be looking at it and will get back to you soon.

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: Restrict Email Domains #2534

    Is there any resource constraint? Template not getting cloned seems to be a server resource issue.

    2nd issue is common in BuddyPress/Multisite. The user won’t get added to the man site. It still has nothing to do with the user login issue though.
    4th and 5th seems to be an issue with the way students are registering. If it was an issue it should have manifested for all users not for a few selected users.