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: 25472
    Brajesh Singh on in reply to: Member type with paidmembership pro #14374

    That’s good then.

    If you are using latest BuddyPress Member Types pro, Please visit Dashboard->Users->Profile Fields and edit the Member type profile field.

    From the field options, please make sure to check No for Allow Users to change .

    That will do it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472

    Thank you Sujee.

    I will write back to you on mail about them since they are unrelated to this topic.

    marking it as resolved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472
    Brajesh Singh on in reply to: Member type with paidmembership pro #14369

    Hi Ahmed,
    Do you want to allow others(experts and entrepreneur) to change it? if you don’t want anyone to change it, It will be very easy. You can edit the field settings. Member Types Pro fields have the settings to disable changing.

    If you do want others to change, in that case, Please post the id of the member type field and I can provide a solution.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472
    Brajesh Singh on in reply to: [Resolved] Site Wide Activity Plugin #14366

    Hi Jill,
    Thank you for posting the reason.

    That makes sense. That class gets added by WP when the widget is rendered(based on the widget PHP class).

    I am not sure why it was not added but glad that the other developer found it.

    Glad it is resolved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472
    Brajesh Singh on in reply to: BP Activity Shortcode Enhancement? #14360

    Thank you for confirming George.

    I don’t think bbPress or BuddyPress activity supports that out of the box.
    As far as I found that BuddyPress does support filtering by your own topic and your own replies but I don’t see a way for otherwise.

    The activity stream shortcode is a layer above the Normal activity, It will not be able to support the forum/topic activities like above.
    Sorry about that.

  • Keymaster
    (BuddyDev Team)
    Posts: 25472
    Brajesh Singh on in reply to: BP Activity Shortcode Enhancement? #14358

    Hi George,
    No problem.

    In case of BuddyPress, friends/follower/groups will be scope for a user’s related activities.

    We have added an extra option ‘for’ to define a dynamic context(logged|displayed|author) user id.

    Can you please check if the above shortcode fetches the friends activities?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472
    Brajesh Singh on in reply to: BP Activity Shortcode Enhancement? #14356

    You are welcome.
    No, We use role strictly for WordPress roles and friends is not a role. We use scope for it.

    Here is the shortcode for showing the activity of friends of the logged user

    
    [activity-stream for=logged scope=friends]
    
    

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472
    Brajesh Singh on in reply to: [Resolved] Mediapress lighbox image size #14354

    Hi WPDev,
    Welcome to BuddyDev.

    1. Showing fullsize in the lightbox:- It is possible to do via settings but in the current version we have a bug. If you select original, it does not show. I have fixed it in our dev repo and the change will be available in the release next week.
    https://github.com/buddydev/mediapress/commit/dc015a578de4335eec84b8ac3d8b0f97e710f25b

    For non clickable lightbox, I guess, we can achieve via a bit of javascript or modifying the lightbox template. I am going to look into it and most probably add some filter to automate in next release.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472
    Brajesh Singh on in reply to: BP Activity Shortcode Enhancement? #14353

    Hi George,
    Thank you for the suggestion about my groups/my friends. You don’t need the my_friends and my_groups as those can be accessed by scope and user_id or ‘for’ combination.

    As for the roles, you don’t need to the change any code. user_id parameter accepts both an array of user ids as well as a single user id.

    In the current form, to list all posts of a user’s groups you can use the following

    
    [activity-stream user_id=1 scope=groups]
    

    If you want to do it for the logged in user, you don’t need the user_id and instead can use this

    
    [activity-stream for=logged scope=groups]
    

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472

    Hi Billy,
    Hope you are doing well.

    Here is the post.
    https://buddydev.com/buddypress/buddypress-send-private-message-button-shortcode/

    Hope it helps.

    Regards
    Brajesh