New
PeoplePress is here. Community building for WordPress, reimagined. Fast, modern, and built for the communities you've always wanted to run.
See it live

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: MediaPress db structure #23012

    Hi Simon,
    Thank you for the question.

    In MediaPress, we use
    ‘mpp-gallery’ post type for gallery.
    ‘mpp-type’, ‘mpp-component’ and ‘mpp-status’ taxonomies for type/component/status for each gallery and media.

    A media is a WordPress attachment(post type=attachment) that belongs to a gallery and has certain extra data.

    For each media and gallery, In addition to type/status/component, we store an extra field

    ‘_mpp_component_id’. It stores a numeric value which identifies the gallery/media association to an object.
    Depending on gallery/media component, It could be user id or group id.

    PS:- In MediaPress 2.0, we are migrating from the current taxonomy to a flat table.

    Hope that helps.

    Regards
    Brajesh_

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Hi,
    1. Can you please tell me what is a proper way in your view? For the client, we used random 8 digit number prefixed with some site specific code to generate the username.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: Email notification for registration #23010

    Hi Fabrice,
    Thank you. We will add this option to the plugin in our next update. We will release the update next week.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: BuddyPress Follow Restrictions Plugin #23008

    Hi Tosin,
    Thank you for the suggestion. I will be discussing it with our team and update you in next 2 days.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: Share from within site to Buddypress #23007

    Hi Vivek,
    Ravi has created a minor plugin for this

    https://github.com/buddydev/share-post-as-activity

    Please give it a try and let me know if it works for you or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Hi Vivek,
    Are you using any other plugin that provides activation redirect or login redirect(like our auto activate auto login plugin?)

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: [Resolved] Search Activity Meta #22996

    Hi Barry,
    You will need to use ‘meta_query’ for activity to search based on meta.

    Are you storing the category name in meta?(It seems you are storing name).

    The correct way to do it will be to hook to bp_after_has_activity_parse_args and set meta_query if your conditions are matched.

    I will be cleaning up your search form as you don’t need class/name for option and you can use a different field name for select to reliably detect if the search was for your category.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Hi,
    1. Auto generating username is feasible. Making it based on display name is a bad idea as there will be many people with similar names.

    2. Disabling editing of first name:- Yes, you can use our plugin BuddyPress Non Editable Profile field to mark a field as non editable and user can not change that.

    I had done the auto generation of the username for one of our clients . I will find the snippet and share.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: Email notification for registration #22988

    Hi Fabrice,
    Are you using any plugin for it?
    Regards
    Brajesh