Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 1,276 through 1,300 (of 5,755 total)
  • Author
    Search Results
  • #253939
    Earl_D
    Participant

    I am running the lest version of Buddypress and WordPress on a VPS server NOT running multisite. Tiny framework is the theme I am using. However the first thing I did to trouble shoot was try to replicate problem without any plugin and using 2012 theme (which tiny frame is based on) and 2016 theme. The issues remained the same with but those thems and th social me theme.

    I will try to check the MYSQL question as I am familiar with that having done MYSQL database programming. However I have narrowed done the problem to something related to the extended profile fields component. Through trial and error and some research I surfaced the correlation which one other person seems to have referred as well. If extended profile fields are turned OFF the registration is completed and the activation email sent. If it is on the registration process is not completed. I tested this extensively turning on and off and it followed that pattern. I currently have the component turned off and users are able to register. When I turned on again I was unable to complete a registration.

    It may be unrelated but no registration spam protection plugins will work now either I have tried several with recaptcha and without and in every case the registration process short circuits.

    Thanks for any help in advance. I would like to get the extended field working again.
    EarlD

    #253932
    radair2002
    Participant

    Hi,

    I have been looking for a plugin or a way to allow the admin to either approve or dismiss changes that have been made to a profile by the user.

    In a good world this plugin would send an email to the adminitrator of the group or whatever email address has been entered with the old fields, the new fields and two links – one to approve and one to dismiss the changes.

    Is there anything arround sounding similar?

    Kind regards

    Rolf

    shanebp
    Moderator

    Have you tried using a standard theme like WP 2015?

    Are you running any membership plugins or code that affects profile fields?

    You may want to wipe the installation, including the database, and start over.

    bdaguy20
    Participant

    Hello I am having a serious problem with the “Extended Profiles” addon for BuddyPress. It is duplicating the “profile fields” and Profile Groups non stop. I have tried deleting the data tables in my SQL Database, deactivating the plugin and re-installing it with no sign’s of the problem ending. I have been at it for day’s trying to fix this problem.

    As it keeps duplicating the profile fields, I eventually receive an error from wordpress stating Fatal error memory limit exceeded and I can’t view the profile tab on the BuddyPress Profile. Please Help…..

    harpodjc
    Participant

    Hi Guys. Any possible help or info on this topic would be greatly appreciated.

    WordPress version – Latest Updated Version
    BuddyPress version – Latest Updated Verion

    Here is the what I am trying to achieve with the BuddyPress Plugin for my Users.

    To create a ‘Print Profile Data as PDF” as an option within the BP User Nav section. Please see images –

    I want the user’s Profile Data and custom fields to display as a Print / Save as PDF option when the user clicks and selects it.

    It will generate this dynamic data in a presentable layout.

    Any advice or alternative PHP options for this option creation would be most greatly welcome. My print.css style-sheet is currently blank. I’ve no idea of the coding that needs to go into it to finish this idea below and make it work.

    Please Help!!!

    =============================================================================================
    The Modification’s I have completed to date to get it this far!!!
    =============================================================================================

    Creating Profile Print Navigation

    Created a print.css file in the WP Theme Folder.

    > WP Theme Folder folder / functions.php file.
    Added this custom code:
    wp_enqueue_style( 'thrive-print', get_template_directory_uri() . '/print.css', array(), 'print' );

    > Next – Theme > inc folder and opened up extras.php & added this code below:

    function theme_print_nav() {
        global $bp;
        $args = array(
                'name' => __('Print PDF', 'buddypress'),
                'slug' => '#',
                'default_subnav_slug' => '#',
                'position' => 30,
                'show_for_displayed_user' => false,
                'item_css_id' => 'print-pdf'
        );
        bp_core_new_nav_item( $args );
    }
    add_action( 'bp_setup_nav', 'theme_print_nav', 99 );
    

    It added a Print PDF navigation in the Profile Menu.

    Lastly I went to Theme > js folder and open theme.js file.
    Added this line of code.

    $("#user-print-pdf").attr("href", "javascript:window.print()");

    The Print Feature was then added to site.

    =======================================================================================

    This is as far as I have got. Any suggestions guys on how to sync / finish this would be amazing 🙂

    Thanks a mill,

    David.

    Raindropcatcher
    Participant

    Hey guys,

    I design my websites with the Plugin ‘Live Composer’, which is pretty brilliant for somebody who knows comparably little about coding.

    Everything seems to work just fine so far, except for one thing:

    In order to create a page from scratch, Live Composer offers a blank theme to build on.
    To build the design, I need to be able to enter the pages. However, since I’m already signed in as the admin, Buddypress doesn’t show me the Register Page. Without being logged in, I can’t edit the Register Page. You see my problem…

    I’m now stuck with a super ugly Register Page.

    Do you guys have any idea how I could use the Live Composer plugin on this page after all? Maybe a way, to show the register page to the admin? I’m happy about any solution…

    I’ve looked for a solution for hours now and couldn’t find anything…

    Thanks so much!
    Robin

    #253795
    drumhead
    Participant

    Hello,

    I am new to WordPress and Buddypress and have been having trouble figuring this out.

    I want to search for users by their BP xProfile using the check box fields combined with their location. The goal is for a user to be able to select someone with a specific criteria (check boxes) and then by zip code or the name of the city state.

    I see location as an option when making new fields but really like xProfile Location Version 1.0 and how it autofills the location with either zip or city state. Can this be used in conjunction with the location fields?

    And can both of these (checkbox and location) be requested with one request?

    WordPress 4.5.2 running Athena Child theme
    BP Profile Search Version 4.5.2
    xProfile Location Version 1.0

    Thanks,
    Craig

    #253739
    mcpeanut
    Participant

    @insearchofasolution Just thought I would chime in on this.

    You would be able to do this but it depends on the approach you take, You could use buddypress for the social network side of things for the messaging between users etc and profile pages/groups etc whilst building a custom user interface for most of the other options you mentioned and tie them together for each user.

    Its good you are clear about what you are exactly wanting to build and its all down to research, You can most definitely create separate vendor pages and account pages using custom post types and fields and creating templates for these pages etc.

    If you don’t know how to do all of this you may struggle though, unless a specific plugin meets your requirements, I myself have been using an amazing suite of plugins over the past year or so that will help you do a lot of this yourself , they are brilliant for creating complex websites and layouts without having to write everything from scratch. You will have to have knowledge of html and css etc at the very least to use them efficiently though, they do come at a cost and you are looking at $300 for the complete set, these plugins are a little more advanced than other plugins to use as they are developer orientated and can be overwhelming at first if you are new to them, but if you stick with them you will start to realize the doors these plugins can open for you on wordpress and can help make your workflow loads faster and make your project come to life. do a search for TOOLSET PLUGINS by wp-types.

    I hope this helps a little bit, creating a complex website as you mentioned above will take patience and time if you are new to doing it, I am in the middle of a few complex builds myself and to be honest with you I now pre-fare to use these plugins for most of my projects now as I can easily create any type of custom post with custom fields and display them via content templates without having to create the templates from scratch on each project.

    The best thing about the custom fields you can create with these plugins is that you can create user specific fields and control access to everything with the access plugin, giving you full control over everything and you can create quite complex membership sites yourself.

    #253729
    danbp
    Participant

    Most of bp files are in php, so i can’t answer for YOUR php file.

    I you modify the register page, where xprofile fields are showing at first, the template file i’m talking about is in bp-templates/bp-legacy/buddypress/members/register.php.

    If you don’t know about template overload, read here first.

    Or if you use a custom function to fire your work via an action hook, perhaps you could try to use bp-custom.php

    ekko848
    Participant

    I am trying to create a function in bp-custom.php where if a user inputs data into a profile field, another field is automatically set to “Pending” (from empty).

    I know I have to use xprofile_get_field_data to determine the field I wish to determine is empty or not empty.
    Then use an if statement along with xprofile_set_field_data to input the word or option to insert if this field is not empty (!empty).

    function profile_stream ( $user_id ) {
        $streamid = xprofile_get_field_data( 10, $user_id );
        if (!empty($streamid)) {
            xprofile_set_field_data( 11, $user_id, "Pending");
        }
    }

    MySQL table numbers for wp_bp_xprofile_fields are ’10’ and ’11’ as reflected in the code.

    Any tips on how to get this working?

    #253639
    danbp
    Participant

    That’s unfortunately what i expected… GF is a third party premium plugin for which nobody can help you here, except if he/she use that plugin.

    If you read here, it’s somehow explained in details.

    What you already used (gform_field_value_linkuser), linkuser is a GF field name. If i’m right, see the advanced tab of that field and complete the name parameter.

    Here a snippet which let you see how to link a username to his profile, when you’re outside of the member_loop. It will output the current user name on the site wide activity header. For test only.

    Note that it use BuddyPress default Name field and that it comes from a BP form. As you use GF, you certainly need to find how to grab properly a GF field value.

    Function goes to bp-cutom, may also work in theme’s functions.php

    function bpfr_my_profile_link_on_SWA_header () {	
    	$user_id = get_current_user_id();
    	$profile_url = bp_loggedin_user_domain();
    
    	if( !is_user_logged_in() ) {
    		return;
    	}
    
    	echo '<br>Test userlink:&nbsp;'; 
    
    	if ( !$data = bp_get_profile_field_data( 'field=Name' ) ) : 
    
    		echo xprofile_get_field_data( 'Name', bp_get_member_user_id() ) .'<a href="'. $profile_url .'">'. bp_core_get_username( $user_id ).'</a><br>';
    
    	endif;		
    
    }
    add_action( 'bp_activity_type_tabs', 'bpfr_my_profile_link_on_SWA_header' ); 

    Sorry, I can’t help you more.

    #253565
    navyspitfire
    Participant

    Thank you. However, this only returns the value. How would I return the field name/label associated with that value?

    Updated block:

    $this->tabs_instance->fields_data[$name] = '<dt class="bp-field-name bp-field-id-' . bp_get_the_profile_field_id() . '">'. bp_get_the_profile_field_name().'</dt>';
    $this->tabs_instance->fields_data[$name] = '<dd class="bp-field-value bp-field-id-' . bp_get_the_profile_field_id() . '">'. xprofile_get_field_data( 'Eye Color', bp_displayed_user_id() ) .'</dd>';
    #253559
    navyspitfire
    Participant

    I have the code below which prints out every field+value that a member has filled in. I am trying to only display select field+value fields, but my first attempt failed and I’m not sure how to reference the fields.

    First attempt (182, aka field_182):
    bp_get_the_profile_field_name(182)
    bp_get_the_profile_field_value(182)

    Code block:

    $this->tabs_instance->has_data[$name] = true;
    $this->tabs_instance->fields_data[$name] .= '<dt class="bp-field-name bp-field-id-' . bp_get_the_profile_field_id() . '">'. bp_get_the_profile_field_name().'</dt>';
    $this->tabs_instance->fields_data[$name] .= '<dd class="bp-field-value bp-field-id-' . bp_get_the_profile_field_id() . '">'. bp_get_the_profile_field_value().'</dd>';
    GunnyRet
    Participant

    When users try to register they are seeing a field that shows “admin (required) on the signup.

    I have tried to go to users, profile fields to delete this Base Primary, but all I seem to have the ability to do is change the title. I also can’t change the visibility to no one instead of everyone.

    Thanks in advance for any help.

    Sorry WP 4.5.2
    BP 2.5.2

    #253525
    danbp
    Participant

    Perhaps this can help you to go further.

    For point 2, maybe this snippet can do the job. Give it a try ! Add it to bp-custom.php

    function custom_display_xprofile_fields() {
    
    // single field item
    if ( $data = bp_get_profile_field_data( 'field=Industry' ) ) : // change field name to yours
    	echo '<div class="industry">'. xprofile_get_field_data( 'Industry', bp_displayed_user_id() ) .'</div>';
    endif;
    }
    add_action( 'bp_after_profile_loop_content' , 'custom_display_xprofile_fields' );
    #253498

    In reply to: Import profile fields?

    sharmavishal
    Participant

    dont think so…just export the 4 xprofile fields rows form the db via phpmyadmin and import them back

    #253496
    markyeoj
    Participant

    Hello,

    I’m working on the visibility of my profile fields but I am not sure how it really works so I have some questions.

    1. I want some profile fields to be visible to some specific user role. But allow the users of that role to set the visibility of the value of the field.

    For example, a long text field visible only for editors and admins. But allow them to set the value’s visibility if they want to share it to their friends or public or private. Is this possible?

    2. I have a profile field only visible for admin meaning only admin can see that profile field, but I want the value of that field visible to all. Is this possible?

    Thanks.

    #253483
    nnyorker
    Participant

    Hi there – any way to import profile fields? I was using another member plugin and decided to switch to BP.
    Thanks!
    Anna

    #253421
    modemlooper
    Moderator

    any profile fields you add to the first field group get added to the registration form.

    #253403
    bennypowers
    Participant

    I’m using WPMUDEV’s Membership 2 Pro plugin. I’d like to add XProfile fields to the registration form. Here’s my attempt:

    <?php
    
    add_action('signup_extra_fields', 'igi_change_reg_fields');
    
    function igi_change_reg_fields() {
      if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile() ) : while ( bp_profile_groups() ) : bp_the_profile_group();
      echo '<input type="hidden" name="'.bp_the_profile_field_input_name().'" id="'. bp_the_profile_field_input_name().'" value="'. bp_the_profile_field_edit_value().'"';
    
       endwhile; endif; endif;
    
    }

    This produces:

    field_field_
    Warning: Creating default object from empty value in /home/bennyp5/public_html/israelguides.info/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-template.php on line 520

    Please help me to understand where I’m going wrong.

    Best,

    bennypowers
    Participant

    Hello
    I have a Multisite installation with BuddyPress. I’d like to display user’s extended profile fields in the site directory (blog loop)

    Based on the documentation, I’ve tried this:

    <?php
    
    add_action( 'bp_directory_blogs_item', 'display_user_xprofile' );
    function display_user_xprofile() {
        $args = array(
            'field'   => 'Phone', // Field name or ID.
            // 'field'   => 'Car', // Field name or ID.
            // 'field'   => 'Languages', // Field name or ID.
            );
        $phone_number = bp_get_profile_field_data( $args );
    
        if ($phone_number) {
            echo 'Phone Number: ' . $phone_number;
            // echo 'Car?: ' . $phone_number;
            // echo 'Languages: ' . $phone_number;
        }
    
    }

    Without success. Please advise how to display this info.

    prdufresne
    Participant

    I was able to override the offending settings by adding a few lines in the custom css file of my theme. Below are the changes I made to resolve the issue, in case anyone else runs into a similar problem

    #buddypress table.profile-fields td.label {
        color: #555555;
        display: table-cell;
    }
    justarandomuser
    Participant

    I just found a little problem on my website.
    As an admin I can edit directly on the Front-End the profiles of my users if there is bad data.

    I show the fields like this (I have only 1 group):

    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    // many things are going on here! but nothing special
    <?php enwhile; ?>

    The problem is… EMPTY fields are not in the output!

    I tried to put array('hide_empty_fields' => 0) into bp_the_profile_field() but this doesn’t work.

    I handle everything (display of the profile, editing of the profile fields etc) in <my-theme>/buddypress/members/single/cover-image-header.php

    Please help me 🙁

    prdufresne
    Participant

    We just installed BuddyPress on our website, and I’m having an issue with the color scheme that came up by default.

    On the member profile page, where it lists the field data, the column that is supposed to show field labels isn’t rendering correctly. It’s putting a border around the text (not the cell label, a separate text border offset from the cell), the text is being rendered in white and the background of the label is matching the background of the cell adjacent to it, but the cell itself remains white when the field data background is lightly shaded.

    By inspecting the element, I think I’ve figured out that the font color and border are being applied by bootstrap.min.css which appears to be part of the magee-shortcodes plugin and the funky text position is being applied by buddypress.min.css.

    Here’s the code from the bootstrap.min.css file:

    .label {
        display: inline;
        padding: .2em .6em .3em;
        font-size: 75%;
        font-weight: 700;
        line-height: 1;
        color: #fff;
        text-align: center;
        white-space: nowrap;
        vertical-align: baseline;
        border-radius: .25em;
    }

    Is there an easy way for me to override these? I just don’t know where to make the change.

    ThanX!

Viewing 25 results - 1,276 through 1,300 (of 5,755 total)
Skip to toolbar