Replies
- Brajesh Singh on February 1, 2016 at 1:41 pm in reply to: [Resolved] Mediapress – Predefined User Galleries #2458
Thank you. That makes it clear. I will have some code in 30 mins to an hour.
Thank you
Brajesh - Brajesh Singh on February 1, 2016 at 1:31 pm in reply to: [Resolved] Mediapress – Predefined User Galleries #2456
Hi,
Thank you for asking. I have a few questions before I can put the sample code for you.1. Do you want users to be able to upload from activity or not?
2. Do you want to allow users to delete the predefined galleries or not?
3. Can you please explain what do you mean by
“Additionally, I need to split the images and videos into separate entities. Currently it’s all in one.”
MediaPress does not allow uploading video/photo to one gallery. It is the default behaviour to have separate galleries for each of the type.
Thank you
Brajesh Thank you.
I will put a copy for you to test a little bit late today. giving a final push for activity, if not, will disable that and push the copy.Hi ,
I am sorry to keep you waiting. How much important is gallery activity migration for your site?I have been working on it but the activity migration is not going in the right direction. I was even working on it in the day and was going to ask you the question.
Also, do you use add from web or not or your site?
If you can answer these two question, I may have something to showcase even today.
Hi Jan,
Can you please look into my suggestions and let me know if that worked for you or not?Thank you
BrajeshHi Jay,
Thank you for clarifying.There are a few solutions for this available.
You may want to look at these and see if it solves the issue
1. https://wordpress.org/plugins/media-vault/
2. https://wordpress.org/plugins/delightful-downloads/I will prefer the first one as that does not have any extra UI requirement and uses WordPress uploader.
Please give it a try and let me know how it goes.
Thank you
Brajesh- Brajesh Singh on January 29, 2016 at 12:54 am in reply to: [Resolved] Hide Members based on Member Type? #2442
Hi Kenny,
Marking this topic as resolved a per email. The code works.In future, if you are unable to post reply, please try refreshing the browser and you will be shown as properly logged in. It happens sometimes due to caching.
Thank you
Brajesh - Brajesh Singh on January 29, 2016 at 12:49 am in reply to: No 'All Galleries' page and no 'Wall Photos' gallery #2441
Hi Mike,
I just implemented the shortcode today. It still needs final touch but is available on github repo now.https://github.com/buddydev/mediapress
Here is a screenshot to show how it looks
http://i.imgur.com/uAiM7BB.pngI am not sure how to handle the case when a user does not have any gallery available, should we create one automatically when a user uploads for the first time?
The shortcode can currently handle single gallery uploads(if you provide gallery_id or can list galleries based on other parameters and user access(status,type,component,component_id) and let users select the gallery to upload to.
I still need some idea for what the real life needs are and will appreciate your suggestions here.
Thank you
Brajesh - Brajesh Singh on January 28, 2016 at 12:32 am in reply to: [Resolved] Hide Members based on Member Type? #2439
Hi Kenny,
Welcome to BuddyDev forums.Please use the following code
add_filter( 'bp_after_has_members_parse_args', 'buddydev_exclude_users_by_member_type' ); function buddydev_exclude_users_by_member_type( $args ) { //do not exclude in admin if ( is_admin() && ! defined( 'DOING_AJAX' ) ) { return $args; } $excluded_member_type = isset( $args['member_type__not_in'] )? $args['member_type__not_in'] : array(); if ( ! is_array( $excluded_member_type ) ) { $excluded_member_type = explode(',', $excluded_member_type ); } //member types to exclude, change it $types_to_exclude = array( 'student', 'teacher' );//add your own list $excluded_member_type = array_merge( $excluded_member_type, $types_to_exclude ); $args['member_type__not_in'] = $excluded_member_type; return $args; }You can specify one or more member type by their unique name in $types_to_exclude array.
Please let me know if that works or not?
Thank you
Brajesh - Brajesh Singh on January 27, 2016 at 8:52 am in reply to: BP Gallery – Add from web not working with Internet Explorer #2436
Hi George,
finally managed to check on IE. It is working for me. I took a screenshot, so please confirm that the IE versions are same.Or please send me a screenshot of yours(while uploading).
- This reply was modified 10 years ago by
Brajesh Singh.
- This reply was modified 10 years ago by