Search Results for 'profile fields'
-
Search Results
-
I’ve removed the “upload avatar” area from my registration page and instead am using the profile fields “upload photo” field. I’d like the single members page to use the photo uploaded as their avatar.
I’m using the Sweet Date theme and in the single members theme file is the hook
<?php bp_displayed_user_avatar( array('type' =>'full','width' => 580, 'height' => 580) ); ?>. Does anyone know the hook for me to use the image the user uploads via the “upload photo” field?Topic: Getresponse + Buddypress
Hi!, I try to integrate api in part registration with custom fields buddypress, but I can not make this save me the contact in the campaign that I need to give the fields to the API but seeing settings buddypress, I realized that if I have 2 textarea does not generate code 2 textarea, but one that I think is the array type, and throws.
<?php if ( 'number' == bp_get_the_profile_field_type() ) : ?> <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'vibe' ); ?><?php endif; ?></label> <?php do_action( bp_get_the_profile_field_errors_action() ); ?> <input type="number" name="<?php bp_the_profile_field_input_name(); ?>" class="form_field" id="<?php bp_the_profile_field_input_name(); ?>" value="<?php bp_the_profile_field_edit_value(); ?>" /> <?php endif; ?> <?php if ( 'textarea' == bp_get_the_profile_field_type() ) : ?> <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'vibe' ); ?><?php endif; ?></label> <?php do_action( bp_get_the_profile_field_errors_action() ); ?> <textarea rows="5" cols="40" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_edit_value(); ?></textarea> <?php endif; ?>And APIGETRESPONSE.php
$CAMPAIGN_ID = array_pop(array_keys($campaigns)); # add contact to the campaign $result = $client->add_contact( $api_key, array ( # identifier of 'test' campaign 'campaign' => $CAMPAIGN_ID, # basic info 'name' => 'Test', 'email' => 'test@test.test', # custom fields 'customs' => array( array( 'name' => 'field name', 'content' => 'field content' ), array( 'name' => 'field name', 'content' => 'field content' ) ) ) );I need to spend the fields manually to the api so you know you add each field
Regards
Hi Everyone
I’m looking for help with the following logic, if anyone can help it would be greatly appreciated. It is required in the registration and is based on a users selection of a school
If a user selects a school from the dropdown list ie. School 1, then by selecting that school
it sets pre-defined groups and assigns the school and the pre-defined groups to the users profile.My way of thinking (maybe way off)
//Input type = select
School 1
School 2
School 3//Input type = checkbox
Group 1
Group 2
Group 3
Group 4//Condition: if user selects an option from dropdown field
if(select id == option value(“School 1”)
{
// set these groups checkbox fields as selected
set group pre-defined-groups(“Group 1”, “Group2”, “Group 4”)// assign selected school option to user’s profile
??? (select field is only used to allow those groups pre-defined to be used by a new user registering to the site).// assign pre-defined-group checkbox field to user’s profile
??? (because these groups are set up through buddy press does that mean they should automatically be added)}
if(select id == option value(“School 3”)
{
// set these groups checkbox fields as selected
set group pre-defined-groups(“Group3”, “Group 4”)// assign selected school option to user’s profile
???// assign pre-defined-group checkbox field to user’s profile
???
}admins should be able to change school or groups anytime
Thanks
Topic: Birthday Notifications
Hi there,
I have extended profile (dashboard > User > Profile Fields) with birthday (day/month/year drop down menu).
How can a user receive notifications for his friends birthdays?Found something here: :https://codex.buddypress.org/developer/function-examples/bp_notifications_add_notification/
but I don’t know how to modify code.
Could you please assist?
when i added Xprofile Custom Fields Type, dropdowns for Custom Post Types and Custom Taxonomies are made available. Can anyone show me how I might call the list of editable roles to be included in these dropdown options?
Very Kind Regards,
GNHey guys,
Couldn’t find a definitive answer so I’m asking here:
I’m looking for a way to allow users to change their profile infos, including the WordPress core fields (name, email, bio, website, etc.) from their BuddyPress profile edit page.
I’ve overloaded the profile-loop.php template (I’m using Extended Profile) and the xprofile fields are showing correctly; just need to add the core ones.
Can anyone tell me if it’s possible and maybe even give me pointers please?
Thanks!Hello.
I want to create a registration page, but it looks like the following fields are the default: User Name, Email Address, Password, and Confirm Password.
Is there any way to remove the User Name field and add Re-Capcha box onto the Registration Form? And how do I remove the Profile Details verbiage?
My site is http://www.ymphony.com. Thanks!
Hi there – we’re using BuddyPress to display a list of our members (using WP Members). I have 2 questions
1. To change the default view of members:
The page here http://criticalphysio.net/for-members/find-a-network-member/members/ (it’s private so you wont see it) displays our members by default by last active.
– is there a way to change this to alphabetical by last name?
perhaps this is by changing the default search filter that displays?
Currently it displays in this order
– last active
– newest registered
– alphabeticalsee screenshot here
http://www.awesomescreenshot.com/image/1213436/090403f0cffa15368948681d9db0f375
2. To display members by first name, last name and country
Currently the default view for displaying members in the list is by just their username.
Is there a way to display the following fields instead?
First Name/Last Name
CountrySee screenshot here
http://www.awesomescreenshot.com/image/1213439/9305ae37f2e5943e9de49001537a25ff
we’re running a child theme of Genesis called Utility Pro – so can edit theme or plugin files and add them to the directory.
Cheers
Hey guys,
Couldn’t find a definitive answer so I’m asking here:
I’m looking for a way to allow users to change their profile infos, including the WordPress core fields (name, email, bio, website, etc.) from their BuddyPress profile edit page.
I’ve overloaded the profile-loop.php template (I’m using Extended Profile) and the xprofile fields are showing correctly; just need to add the core ones.
Can anyone tell me if it’s possible and maybe even give me pointers please?
Thanks!Hello,
I’m completely new to WordPress and I’ve just made my first website.
After hours upon hours of Google, Youtube and asking friends I managed to have a functional website.Now I’m at the part of tweaking and fine-tuning and I’m stuck on the zebra-striping in the profile page of Buddypress.
The profile fields of my visitors are alternating black and white, but since I use white fonts, half of it is unreadable.
I managed to change the font color with custom CSS, but that doesn’t do the trick. I need to get rid of the zebra-striping.
Please, a little help is very welcome!Theme: Pinnacle 1.3.7
Buddypress Version 2.5.2Hi everyone,
I’m looking to add the ability for links to open in a new tab from the register profile fields
Following on from the advice from a previous thread i’ve created a page for my ToA and have applied the link to that page and the checkbox to default. All works fine except the link opens in the same page. I’ve added the target = blank to the html but that part of the code disappears when i save it, meaning the link always opens in the same window. This means the user needs to hit the back button to continue registering for the site if they want to read the ToA.
Is there a way i can force the link for the terms to open in a new tab?
Topic: Diable Likes?
I have a chance to use a third-party plugin for allowing users to “Like” activity entries. I need to first disable or hide the existing “Like” functionality. Is there a setting for this?
Plugins:
Akismet (3.1.10) by Automattic
Awesome Support (3.2.9) by ThemeAvenue
bbPress (2.5.8) by The bbPress Community
BuddyBoss Inbox (1.0.4) by BuddyBoss
BuddyBoss Media (3.1.9) by BuddyBoss
BuddyBoss Reply by Email (1.0.2) by BuddyBoss
BuddyBoss Wall (1.2.7) by BuddyBoss
BuddyPress (2.5.2) by The BuddyPress Community
BuddyPress Edit Activity (1.0.7) by BuddyBoss
BuddyPress Xprofile Custom Fields Type (2.4.6) by donmik
Gravity Forms (1.9.18) by rocketgenius
Gravity Forms Help Scout Add-On (1.3) by rocketgenius
Gravity Forms Polls Add-On (3.0) by Rocketgenius
Gravity Forms Survey Add-On (3.0) by Rocketgenius
Gravity Forms Trello Add-On (1.0) by rocketgenius
Gravity Forms User Registration Add-On (3.3) by rocketgenius
Invite Anyone (1.3.10) by Boone Gorges
Like Button Voting & Rating (2.1.9) by LikeBtn
List Plugins (1.4.4) by SedLex
Maintenance (2.7.1) by fruitfulcode
Orbit (1.6) by TrueThemes
POWr Social Feed (1.4) by POWr.io
POWr Social Media Icons (1.4) by POWr.io
Remove Dashboard Access (1.1.3) by Drew Jaynes (DrewAPicture)
Subscribe To Comments (2.3) by Mark Jaquith
TinyMCE Advanced (4.3.8) by Andrew Ozz
User Role Editor (4.25.1) by Vladimir Garagulya
WordPress Social Stream (1.5.15) by Lee Chestnutt
WPBakery Visual Composer (4.11.2) by Michael M – WPBakery.comThanks!
I have created an extended profile field called “correspondence” with a checkbox data type, and the only option is “Subscribe to Free Newsletter.”
It is showing up properly on the registration form, so when users come in, if they select it, their extended profile is reflecting the data. I’m trying to create a form and function to update this setting, and I’m having difficulty.
My goal is to both understand the data storage and processes, as well as properly manipulate it. In PHPMyAdmin, in the table wp_bp_xprofile_fields, I see the fields:
ID 307 “Correspondence”
ID 315 “Subscribe to Free Newsletter”It appears BuddyPress is storing the user’s setting in the table wp_bp_xprofile_data. One user’s entry follows:
id, field_id, user_id, value
14828, 307, 15304, a:1:{i:0;s:28:”Subscribe to Free Newsletter”;}So I see the data has been serialized and stored as field_id 307. I can thus access this field with the following function:
$data = xprofile_get_field_data( 307, $userID ); echo var_dump($data) . "<br>\n"; // array(1) { // [0]=> // string(28) "Subscribe to Free Newsletter" // } echo "Setting is $data[0]<br>\n"; // "Subscribe to Free Newsletter"So far, so good – I can test for this field. But when I try to update it, I’m running into trouble:
xprofile_set_field_data( 307, $userID, "Subscribe to Newsletter Digest" );Contrary to expectations, this doesn’t seem to alter that field at all.
I tried updating the value with an array:
$new_value = array( 'Subscribe to Newsletter Digest' ); xprofile_set_field_data( 307, $userID, $new_value );No change. What am I doing wrong here?