Search Results for 'questions'
-
Search Results
-
Topic: Profile Fields
I have 2 questions regarding BuddyPress profile fields.
1. is it possible to remove the required name field? I want to remove this and add First and Last name as 2 separate fields instead.
2. I have a field set as Phone Number type but I am able to put anything into the field. It does not validate as a phone number. How do change this so users can only put #’s in this format: (area) xxx-xxxx?
Hi. I’m writing a webhook that’s intended to create a user and register them in BP. After examining function bp_core_screen_signup() in buddypress/bp-members/screens/register.php, I thought I could just stuff values I receive into the correct $_POST variables and call the function, but it immediately returns after this statement near the top:
if ( ! bp_is_current_component( 'register' ) || bp_current_action() ) {So I have two questions:
- Am I going in the right direction by emulating a post and calling bp_core_screen_signup() directly? And if so…
- What is the correct/proper/best way to set the current component and action?
Thank you.
Topic: Add subject title in URL
Im building a Apartment rental site.
And on the single apartment page I have a “Send a private message” button where people can send a private message to the person who owns the apartment and ask a questions.So therefor I need to automaticly add the Apartment name in the Subject of the message.
Is it possible to make the subject within the URL something link “https://domain.com/members/user1/messages/compose/?r=user2?subject=xxxxxxxx” So the Subject is automaticly filled when people clicks the “Send a private message”