Title: Ravi Sharma's Replies | WordPress.org

---

# Ravi Sharma

  [  ](https://wordpress.org/support/users/raviousprime/)

 *   [Profile](https://wordpress.org/support/users/raviousprime/)
 *   [Topics Started](https://wordpress.org/support/users/raviousprime/topics/)
 *   [Replies Created](https://wordpress.org/support/users/raviousprime/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/raviousprime/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/raviousprime/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/raviousprime/engagements/)
 *   [Favorites](https://wordpress.org/support/users/raviousprime/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/users/raviousprime/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/raviousprime/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MediaPress] Lightbox not working, Need front end upload without logged in](https://wordpress.org/support/topic/lightbox-not-working-need-front-end-upload-without-logged-in/)
 *  Plugin Author [Ravi Sharma](https://wordpress.org/support/users/raviousprime/)
 * (@raviousprime)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/lightbox-not-working-need-front-end-upload-without-logged-in/#post-17928749)
 * Hello,
 * Sorry for the delayed reply.
 * // Lightbox not working this should work. and here should option to disable to
   goes to single page. only gallery should visible.
 * 1. Are you using BuddyPress or BuddyBoss Platform.
    2. If BuddyPress which version
   and template pack you are using. 3. Which theme you are using? 4. Are you using
   the BP Classic plugin or not? 5. Please share the screenshots of the issue
 * // I need option to upload images and videos throw front end without logged in.
   It means anyone can upload images and videos to gallery
    The plugin requires 
   the user to be logged in to upload media, which is why we are not handling media
   uploads from guest users.
 * Regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Profile Completion] Execute only based on user Role](https://wordpress.org/support/topic/execute-only-based-on-user-role/)
 *  Plugin Author [Ravi Sharma](https://wordpress.org/support/users/raviousprime/)
 * (@raviousprime)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/execute-only-based-on-user-role/#post-17491645)
 * Hello Steven,
 * Thank you for using the plugin. There is a filter which allows us to tweak the
   profile completion check. Please use the following code:
 *     ```wp-block-code
       add_filter( 'bp_force_profile_completion_skip_check', function ( $skip ) {
   
       	// Only checking for loggedin users.
       	if ( is_user_logged_in() ) {
       		$user = wp_get_current_user();
   
       		// Will skip if user has subscriber role or Users with multiple roles with in which subscriber role is present.
       		$skip = in_array( 'subscriber', (array) $user->roles, true );
       	}
   
       	return $skip;
       } );
       ```
   
 * Please try this code and let me know if it helps or not.
 * Regards
 * Ravi
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MediaPress] Mediapress Mediaupload wont show up](https://wordpress.org/support/topic/mediapress-mediaupload-wont-show-up/)
 *  Plugin Author [Ravi Sharma](https://wordpress.org/support/users/raviousprime/)
 * (@raviousprime)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/mediapress-mediaupload-wont-show-up/#post-17434070)
 * Hello,
 * Sorry for the inconvenience. Please let me know which version of BuddyPress you
   are using if you are using a version greater than BP 12.0. Then it might cause
   this issue in that case you must install the BP Classic plugin as MediaPress 
   is not fully compatible with BP 12.0. Also, Please let me know if you are using
   Youzify or not.
 * Regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Xprofile Custom Field Types] Child Plugin](https://wordpress.org/support/topic/child-plugin-4/)
 *  Plugin Author [Ravi Sharma](https://wordpress.org/support/users/raviousprime/)
 * (@raviousprime)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/child-plugin-4/#post-17426509)
 * Thank you for the acknowledgement. I am glad that I could help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Xprofile Custom Field Types] Child Plugin](https://wordpress.org/support/topic/child-plugin-4/)
 *  Plugin Author [Ravi Sharma](https://wordpress.org/support/users/raviousprime/)
 * (@raviousprime)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/child-plugin-4/#post-17415516)
 * Hello,
   Use this code in your ‘bp-custom.php’ file.Please try the following code:
 *     ```wp-block-code
       add_filter( 'bp_get_the_profile_field_value', function ( $value, $field_type, $field_id ) {
   
       	if ( 'fromto' === $field_type ) {
       		$user_id = bp_is_user() ? bp_displayed_user_id() : bp_get_member_user_id();
   
       		if ( ! $user_id ) {
       			return $value;
       		}
   
       		$separator = bp_xprofile_get_meta( $field_id, 'field', 'separator_token', true );
       		$separator = empty( $separator ) ? ' - ' : " $separator ";
   
       		$field_value = explode( ',', xprofile_get_field_data( $field_id, $user_id, 'comma' ) );
       		$field_value = array_map( 'trim', $field_value );
   
       		if ( count( $field_value ) !== 2 ) {
       			return $value;
       		}
   
       		$value = sprintf( '<span class="bpxcftr-fromto-from-value">%1$s</span>%3$s<span class="bpxcftr-fromto-to-value">%2$s</span>', $field_value[0], $field_value[1], $separator );
       	}
   
       	return $value;
       }, 10, 3 );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Xprofile Custom Field Types] Child Plugin](https://wordpress.org/support/topic/child-plugin-4/)
 *  Plugin Author [Ravi Sharma](https://wordpress.org/support/users/raviousprime/)
 * (@raviousprime)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/child-plugin-4/#post-17412775)
 * Hello,
   You can not override plugin files through a child theme. Please let me
   know what you are trying to achieve so I can help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Xprofile Custom Field Types] Compatibility issue with BP XProfile Field Types](https://wordpress.org/support/topic/compatibility-issue-with-bp-xprofile-field-types/)
 *  Plugin Author [Ravi Sharma](https://wordpress.org/support/users/raviousprime/)
 * (@raviousprime)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/compatibility-issue-with-bp-xprofile-field-types/#post-17405034)
 * Thank you for the acknowledgement. I am glad that I could help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Xprofile Custom Field Types] Compatibility issue with BP XProfile Field Types](https://wordpress.org/support/topic/compatibility-issue-with-bp-xprofile-field-types/)
 *  Plugin Author [Ravi Sharma](https://wordpress.org/support/users/raviousprime/)
 * (@raviousprime)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/compatibility-issue-with-bp-xprofile-field-types/#post-17404240)
 * Hello,
 * I have fixed the issue. Please upgrade your plugin to the latest version i.e.
   1.2.7 and give it a try.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Xprofile Custom Field Types] Compatibility issue with BP XProfile Field Types](https://wordpress.org/support/topic/compatibility-issue-with-bp-xprofile-field-types/)
 *  Plugin Author [Ravi Sharma](https://wordpress.org/support/users/raviousprime/)
 * (@raviousprime)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/compatibility-issue-with-bp-xprofile-field-types/#post-17395051)
 * Hello,
 * Sorry for the inconvenience. I have checked and Yes, it seems the issue is with
   the birthday field provided by the plugin. I will look into it further and will
   update you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Profile Completion] Missing slash in url](https://wordpress.org/support/topic/missing-slash-in-url-2/)
 *  Plugin Author [Ravi Sharma](https://wordpress.org/support/users/raviousprime/)
 * (@raviousprime)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/missing-slash-in-url-2/#post-17354775)
 * Hello,
 * Thank you for the acknowledgement. I have checked it on my local server and found
   that the permalink structure causing this issue. Please try with a different 
   permalink structure that ends with ‘/’ and let me know if the issue persists 
   or not.
 * Regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Profile Completion] Missing slash in url](https://wordpress.org/support/topic/missing-slash-in-url-2/)
 *  Plugin Author [Ravi Sharma](https://wordpress.org/support/users/raviousprime/)
 * (@raviousprime)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/missing-slash-in-url-2/#post-17352262)
 * Hello,
 * Sorry for the inconvenience. You do not need to add a slash at the end of the
   redirect URL as it already adds ‘/’ at the URL’s end of URL. Please let me know
   which version of BuddyPress you are using.
 * PS: Direct modification of the plugin code is not a good way as it will vanish
   on plugin updates.
 * Regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Xprofile Custom Field Types] Year picker no older than 1963](https://wordpress.org/support/topic/year-picker-no-older-than-1963/)
 *  Plugin Author [Ravi Sharma](https://wordpress.org/support/users/raviousprime/)
 * (@raviousprime)
 * [3 years ago](https://wordpress.org/support/topic/year-picker-no-older-than-1963/#post-17058648)
 * Hello,
 * Sorry for the inconvenience. Please go to the edit profile field screen in the
   dashboard. You can navigate to Users > Profile Fields look for the date field
   and click on the edit button. On edit field screen go to the ‘Type’ section look
   for ‘Range’ from here you can update the start year for your field.
 * Please give it a try.
 * Reagards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Featured Members] Featured = most popular members?](https://wordpress.org/support/topic/featured-most-popular-members/)
 *  Plugin Author [Ravi Sharma](https://wordpress.org/support/users/raviousprime/)
 * (@raviousprime)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/featured-most-popular-members/#post-15753845)
 * Hello,
 * Thank you for the acknowledgement. In order to set featured members, This plugin
   needs some events(WordPress Action) to fire. BuddyPress shows popular users using
   their friend’s count and there is no event available here to determine when a
   user is deemed popular. So, there is no reliable way to keep the sync.
 * For the time being, please use the button available on user profiles to mark 
   the user featured.
 * Regards
    Ravi
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Featured Members] Featured = most popular members?](https://wordpress.org/support/topic/featured-most-popular-members/)
 *  Plugin Author [Ravi Sharma](https://wordpress.org/support/users/raviousprime/)
 * (@raviousprime)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/featured-most-popular-members/#post-15752565)
 * Hello,
 * Thank you for posting. The current plugin version does not have such kind of 
   functionality to mark members as a feature. But it does allow API to mark a user
   as featured or unfeatured. Please let me know how you are checking members as
   most popular so that I can help you.
 * Regards
    Ravi
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Xprofile Custom Field Types] About image upload and web field](https://wordpress.org/support/topic/about-image-upload-and-web-field/)
 *  Plugin Author [Ravi Sharma](https://wordpress.org/support/users/raviousprime/)
 * (@raviousprime)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/about-image-upload-and-web-field/#post-14252224)
 * Hello,
 * Thank you for using the.
 * 1. Please do let me know are you using the image field on the registration page?.
   
   2. I have tested a custom URL field on my development server and it is working
   as expected by stripping https or http part from the URL i.e. [https://example.com/](https://example.com/)
   will replace with example.com.
 * Regards
    Ravi

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/users/raviousprime/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/raviousprime/replies/page/2/?output_format=md)