Replies
- Brajesh Singh on April 18, 2018 at 6:30 pm in reply to: BP Ajax Registration – Issue with registering with underscore_ #14599
Hi Brandon,
I am not sure if I replied to this other thread or missed it.If it is not working for underscore, it is most probably caused by some validation code. Ajax registration does not do anything to stop a user from using _. Is there any chance that you are using a plugin or code that puts restrictions on username/email or validates them and avoids underscore.
The ajax registration plugin is incapable of doing it as we simply use validate_username and is_email which are both WordPress provided validators.
Please check and let me know.
Thank you
Brajesh - Brajesh Singh on April 18, 2018 at 6:26 pm in reply to: [Resolved] BP Profile Tab Pro – Default Tab Error #14598
Hi Sujee,
You can use the following code/** * Conditionally update the landing tab. */ function buddydev_set_member_type_based_default_component() { if ( bp_is_user() && bp_has_member_type( bp_displayed_user_id(), 'admissions-counselor' ) ) { define( 'BP_DEFAULT_COMPONENT', 'groups' ); //change groups with the slug of the tab you want to be default. } } add_action( 'bp_init', 'buddydev_set_member_type_based_default_component',3 );Please make sure to change ‘groups’ with the slug of the tab you want to be default for the member type.
Hope this heleps.
Regards
Brajesh - Brajesh Singh on April 17, 2018 at 5:30 pm in reply to: [Resolved] “Write something to {displayed_user_name}” disabled #14585
Hi Julia,
Thank you for clarifying.The text is not part of BuddyPress.
is there a chance that you are using one of the following plugins?– BuddyPress Activity As Wire
– BuddyPress Wall
– Buddy WallMost probably one of these plugins have that code.
- Brajesh Singh on April 17, 2018 at 4:19 pm in reply to: Ajax registration – form has gone whacky #14581
Marking it resolved as the discussion is there on email. Please flee free to reopen in future.
Ragrds
Brajesh - Brajesh Singh on April 17, 2018 at 4:17 pm in reply to: [Resolved] Correct add class to Buddypress Register Popup #14578
Thank you for marking it resolved.
- Brajesh Singh on April 17, 2018 at 4:16 pm in reply to: [Resolved] BP Profile Tab Pro – Default Tab Error #14577
Hi Sujee,
Thank you. I will post the code today. - Brajesh Singh on April 17, 2018 at 4:06 pm in reply to: [Resolved] BuddyPress Simple Front End Post | 'Add Media' button not appearing. #14576
The problem might be related to upload capability.
The plugin does add the upload and edit_post cap to users(using user_has_cap filter) if it is a BuddyPress page.
For non BuddyPress age, you may want to filter on
bsfep_enable_upload_filtersand return true for your page.
For example,
add_filter( 'bsfep_enable_upload_filters', '__return_true' );Will do it in all cases(I will suggest avoiding that and enabling it specific to your cases).
Thank you
Brajesh - Brajesh Singh on April 17, 2018 at 3:57 pm in reply to: [Resolved] BuddyPress Simple Front End Post | 'Add Media' button not appearing. #14573
Hi Brendan,
Please add the option
allow_upload'=> true,to the above setting.
Hope that helps.
EDIT:- I see you already have it, I am looking further.
Regards
Brajesh- This reply was modified 8 years ago by
Brajesh Singh. Reason: noted that the setting was already there
- This reply was modified 8 years ago by
- Brajesh Singh on April 17, 2018 at 3:52 pm in reply to: [Resolved] "Links xprofile" & NEW PLUGIN #14570
You are welcome.
- Brajesh Singh on April 17, 2018 at 3:52 pm in reply to: to the connection of an existing member: change (role, plan) #14569
I am sorry but I am unable to be of much help with 3rd party plugins(specially if they are not BuddyPres, WooCommerce or the very popular ones).
If it is about changing roles, I can help but I will need you to rephrase the question and specify the goals.
Thank you
Brajesh