Replies
- Brajesh Singh on October 14, 2020 at 5:20 pm in reply to: [Resolved] Buddypress profile page 404 error #33927
Hi Tosin,
You have an issue with your tab settings(created by profile tabs pro).Please share a link to the screenshots showing all your custom tabs and their settings and I can quickly point out the issue.
Regards
Brajesh - Brajesh Singh on October 14, 2020 at 5:19 pm in reply to: EDIT MEMBER TYPE AVATARS – DIFFERENT FOR EACH MEMBER TYPE (not default avatar) #33926
Hi Adam,
You can target avatar based on the item list entry class instead of the avatar. The item list contains member type and you can use that as a parent select to scope/select avatars.Regards
BrajeshPS:- A polite reminder, Please avoid using all caps in the topic title in future. It creates bad experience for our forums and we appreciate not using it.
- Brajesh Singh on October 14, 2020 at 5:14 pm in reply to: [Resolved] Upload default image into Mediapress Uploader #33925
Hi jkk,
I am sorry but I am unable to offer you code due to the time it needs. It can be achieved in the following way though:-1. You save the file as a new WordPress attachment. Keep this attachment id for use.
2. Use mpp_add_media to add this attachment id to your preferred galleryIf you are not very comfortable with php, I will suggest hiring a developer to help you achieve it.
Regards
Brajesh - Brajesh Singh on October 14, 2020 at 5:11 pm in reply to: [Resolved] How to display the buddypress user's name, username, email, etc. #33924
Hi,
Thank you for using the plugin.You may use shortcodes to generate these details. Anyshortcode which works with user id can be used(You can specify #displayed_user_id# in place of user id and the plugin does the proper replacement).
If you are unable to find a plugin offering such shortcode, Please list me all the data you want to use and we can put a small plugin to offer shortcodes.
Regards
Brajesh - Brajesh Singh on October 14, 2020 at 4:54 pm in reply to: [Resolved] BuddyPress Profanity Filter #33923
Hi Tosin,
The code filters on post title and content filers. Will work for any plugin that uses them properly(while using custom post types).We may be able to add a few plugin specific integrations(which are popular plugins)in future, but if other plugins don’t use normal WordPress API, we won’t be able to add support. We can still provide some sample code for people who want to do it anyway.
Regards
Brajesh - Brajesh Singh on October 14, 2020 at 4:51 pm in reply to: [Resolved] Check via PHP if user have galleries Mediapress #33922
Hi Giacomo,
Please make sure to avoid the return statement. I have updated the code.1. Please clarify the question. I am not sure of the question.
2. The php code can be used in your ajax handler, I do not see any issue. If you want to implement a client side check using js, you can create an ajax andpoint for your own implementation that checks the status.Regards
Brajesh - Brajesh Singh on October 14, 2020 at 4:47 pm in reply to: Recent Visitors For BuddyPress Profile – BuG / error ? Visual page notifications #33920This reply has been marked as private.
- Brajesh Singh on October 14, 2020 at 4:47 pm in reply to: From/To Values Profile Field Type with two drop down select boxes #33919
Hi Carsten,
Thank you for the suggestion.This is not the intended purpose of this field. It is a free form field. What you are suggesting is a specific use case and we should be better off with a different field type. It will be nice if you can suggest a name for the new field type, I will be glad to have it.
Regards
Brajesh - Brajesh Singh on October 14, 2020 at 4:45 pm in reply to: create a directory of member types who are currently online? #33918
Hi Nick,
Sorry for the delaye.
@ravisharma checked the plugin today and found that you can usetype=onlinein the current shortcode to find the online members(BuddyPress considers user online if they have been active in last 15 minutes. This duration can be customized via a hook).
Regards
Brajesh - Brajesh Singh on October 14, 2020 at 2:46 am in reply to: [Resolved] Check via PHP if user have galleries Mediapress #33906
Hi,
You may use$count = mpp_get_gallery_count( array( 'component' => 'members', 'component_id' => $user_id, // replace with user id. 'type' => 'photo',// photo, video,audio,doc 'status' => 'public',// if empty, will check for all accessible galleries for the visitor ) );Regards
Brajesh- This reply was modified 5 years, 10 months ago by
Brajesh Singh. Reason: updated code
- This reply was modified 5 years, 10 months ago by