Ravi Sharma
Forum Replies Created
-
Forum: Plugins
In reply to: [MediaPress] Lightbox not working, Need front end upload without logged inHello,
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
In reply to: [BuddyPress Profile Completion] Execute only based on user RoleHello 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:
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
In reply to: [MediaPress] Mediapress Mediaupload wont show upHello,
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
In reply to: [BuddyPress Xprofile Custom Field Types] Child PluginThank you for the acknowledgement. I am glad that I could help.
Forum: Plugins
In reply to: [BuddyPress Xprofile Custom Field Types] Child PluginHello,
Use this code in your ‘bp-custom.php’ file.
Please try the following 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
In reply to: [BuddyPress Xprofile Custom Field Types] Child PluginHello,
You can not override plugin files through a child theme. Please let me know what you are trying to achieve so I can help.Thank you for the acknowledgement. I am glad that I could help.
Hello,
I have fixed the issue. Please upgrade your plugin to the latest version i.e. 1.2.7 and give it a try.
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
In reply to: [BuddyPress Profile Completion] Missing slash in urlHello,
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
In reply to: [BuddyPress Profile Completion] Missing slash in urlHello,
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
In reply to: [BuddyPress Xprofile Custom Field Types] Year picker no older than 1963Hello,
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
In reply to: [BuddyPress Featured Members] Featured = most popular members?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
RaviForum: Plugins
In reply to: [BuddyPress Featured Members] Featured = most popular members?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
RaviForum: Plugins
In reply to: [BuddyPress Xprofile Custom Field Types] About image upload and web fieldHello,
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/ will replace with example.com.Regards
Ravi