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: 25273

    Hi Brian,
    Checking for the gallery type is the right strategy and you are doing it correctly.

    All the best 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: Multisite Registration #7026

    Hi Jay,
    My apologies for this delayed reply.

    Here is what I think will suit your requirement.

    1. You provide a form to users to ask you for allowing site creation.
    2. Based on the data, you decide and assign the user some member types
    3. You can post about the member types here
    4. You will set the option on register setting that says logged in members can create site
    5. I will restrict the creation of the site to those specific member types and limit blog count.

    That way, I believe it can be semi automated.

    Hope that it helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: [Resolved] Mediapress breaking site #7025
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: Buddypress and hosting #7024

    Hi Celia,
    congratulations on starting the project.

    Since you are planning social network, I will suggest getting more storage. 10 GB may not be enough if you are going to allow local uploads.

    The good package to start with depends on how many users you expect in first few months(say 6 months) and what kind of activity.

    It all depends on the specific need and I believe you will have to do the calculations based on your assumptions.

    All the best.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: [Resolved] Single message thread per user? #7023

    I am sorry I could not help much. Glad that you did it 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25273

    Hi Brian,
    You are looking in the right direction.

    I suggest filtering on

    mpp_user_can_create_gallery to restrict gallery creation

    and

    mpp_user_can_upload' for restricting upload.
    
    In both the cases, you should check for the total uploaded media by the logged in user.
    

    $total_uploaded = mpp_get_media_count(array( ‘component_id’ => bp_loggedin_user_id(), ‘component’=> ‘members’ ) );

    `

    I believe that should allow you to do it. You can avoid the last function and do a query on posts table for attachment where post_author is logged in user id and that will work too.

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: Mediapress Galleries not showing up on Gallery page #7021

    Hi Zasa,
    The site is protected, so I could not check.

    Can you please open a new topic about the issue, I will be happy to help.

  • Keymaster
    (BuddyDev Team)
    Posts: 25273

    Hi Chris,
    I am sorry if I have skipped it somehow. I am looking into my mails and will get back to you today.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: Gallery on custom post type pages problem #7019

    Hi Olivier,
    I am sorry for the inconvenience.

    Can you please link me to the page? I am not sure why the permalinks are not working in this case. Can you please visit the Dashboard->MediaPress->All Galleries and see if the privacy, component, type is set properly for this gallery?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: [Resolved] Mediapress Upload Permissions #7018

    Hi Ian,
    My apologies for the delayed reply.,

    I have fixed it on the github repo.

    https://github.com/buddydev/mediapress/commit/4d0de6c2519a2d6775c69e9cd1b7c701b7c2cd6b

    If you want you can update from there, I will pus on wp.org too in next 1-2 days(Just need a few more enhancements to go in).

    Thank you
    Brajesh