Replies
- Brajesh Singh on March 24, 2016 at 5:44 am in reply to: [Resolved] Cannot simultaneously create group in 2 different of a network #3155
Hi Amy,
you are correct in your assumption that the users should go to the mnetwork_users table with the corresponding blog id as network id.Though this approach works, I would have done it using WP_User_Quey or get_users to make sure that we are fetching the users for the specific blog id.
I do not consider xprofile data field to be a reliable source for users on the subsite(unless they have added some data).
Marking it as resolved now.
Thank you
Brajesh - Brajesh Singh on March 24, 2016 at 5:18 am in reply to: Inviting Ideas for the best ever WordPress Gallery Plugin #3153
Hi Andrew,
Thank you for the bump.My priority is to get Remote URL working in 1.1. After that, we will go for allowing uploads on Forums as well as comments too.
These will need some thinking as whether to allow users embed their existing media or just upload new one etc. I have some apprehensions about models(not being very useful on mobile) but I am not 100% against it.
- Brajesh Singh on March 24, 2016 at 5:14 am in reply to: [Resolved] Cannot simultaneously create group in 2 different of a network #3152
Hi Amy,
Thank you. Since the number of Users are limited, It will be easy to import them. I will put some code here today to allow you import existing users. - Brajesh Singh on March 24, 2016 at 5:13 am in reply to: [Resolved] Searching and re-ordering within a gallery. #3151
Hi Paul,
I am sorry for the confusion. The parameters section explains the $args.In your case, you don’t need to write custom loop unless you are going for ajax search filters.
We can modify the main query( I favor it to avoid extra database queries in this case) to account for search .
1. Yes, you will need to modify the template and put a search form
2. After that, we can put the following codefunction mpp_custom_use_search_args( $args ) { //assuming your search form has input element 'search-terms' if ( isset( $_REQUEST['search-terms'] ) ) { $args['search-terms'] = $_REQUEST['search-terms']; } //Using 'search-terms' in args allows us to search usign MPP_media_Query //$args['search-terms'] return $args; } add_filter( 'mpp_main_media_query_args', 'mpp_custom_use_search_args' );This filters our main media query. So, It will list the filtered media.
Please do note that the approach to filter using the above filter will only work on standard MediaPress pages(which is the case for you).
Please give it a try and let me know.
Thank you
Brajesh - Brajesh Singh on March 24, 2016 at 4:54 am in reply to: [Resolved] Multiple conditional fields #3150
Hi Bob,
Thank you for posting and I am sorry for the confusion.
The problem is this plugin does not work with multi checkbox(where a person can check multiple values).Please allow me a day and let me see if I can manage to allow it.
Thank you
Brajesh - Brajesh Singh on March 23, 2016 at 5:54 am in reply to: BP Rate Limit Private Message – what does "NEW" messages mean? #3143
Thank you Lucas.
I am looking forward to hear your experiences.Regards
Brajesh - Brajesh Singh on March 23, 2016 at 1:07 am in reply to: BuddyPress Message Privacy – can default be set to Friends? #3141
Hi Lucas,
Putting this snippet in your bp-custom.php will set the default message privacy to friends onlyadd_filter( 'bpdmp_default_settings', 'buddydev_set_message_privacy_default'); function buddydev_set_message_privacy_default( $settings ) { $settings['privacy_type'] ='friends_only'; return $settings; }Hope that helps.
- Brajesh Singh on March 23, 2016 at 12:27 am in reply to: BP Rate Limit Private Message – what does "NEW" messages mean? #3140
Hi Lucas,
Thank you for the tests.
This plugin does not count or restrict recipient users. It only acts on threads/replies.I will get @ravi1987 to check the 2 plugins you have mentioned and update if necessary. I or Ravi will update the thread in the day with relevant information.
Thank you
Brajesh - Brajesh Singh on March 22, 2016 at 9:21 pm in reply to: How to change the media upload icons when uploading to galleries? #3137
Hi Again,
I have pushed the changes on github development repo. It will be available in MediaPress 1.0.5 coming this weekend(or next monday, depending on the remaining tasks) Hi Leo,
Thank you for posting here and sending the mail. I highly appreciate it.Regards
Brajesh