Replies
- Brajesh Singh on January 18, 2017 at 3:07 am in reply to: [Resolved] Limit the Number of Media Uploads Per Gallery #7032
Hi Brian,
Checking for the gallery type is the right strategy and you are doing it correctly.All the best 🙂
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.
- Brajesh Singh on January 17, 2017 at 11:43 pm in reply to: [Resolved] Mediapress breaking site #7025This reply has been marked as private.
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- Brajesh Singh on January 17, 2017 at 11:36 pm in reply to: [Resolved] Single message thread per user? #7023
I am sorry I could not help much. Glad that you did it 🙂
- Brajesh Singh on January 17, 2017 at 11:35 pm in reply to: [Resolved] Limit the Number of Media Uploads Per Gallery #7022
Hi Brian,
You are looking in the right direction.I suggest filtering on
mpp_user_can_create_galleryto restrict gallery creationand
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.
- Brajesh Singh on January 17, 2017 at 11:28 pm 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.
- Brajesh Singh on January 17, 2017 at 11:27 pm in reply to: Feature Request – Attatch media files in group comments section #7020
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 - Brajesh Singh on January 17, 2017 at 11:26 pm 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 - Brajesh Singh on January 17, 2017 at 10:36 pm 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