Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 626 through 650 (of 3,880 total)
  • Author
    Search Results
  • Venutius
    Moderator

    The only other free profile search I know of is BP Search, but that is only for looking up names, it does not search the other fields.

    #271347
    Venutius
    Moderator

    Ok I’m in.

    You should change that password now I’ve had access.

    I can see what the problem is, your Base Profile field looks to be corrupt. It’s duplicated and does not have the required Name field. I added this field to one of the profile fields and it still did not show up.

    So basically your profile field settings are corrupt in your database. As I see it there are two ways forward:
    1. Delete wordpress entirely including the Database and start again.
    2. Try to recover your Database by manually editing it.

    Given it’s a test site and you are not experienced I suggest option 1 is the best way forward.

    It would be good to know exactly what happened to get this error, technically it should not happen.

    tapoulton2
    Participant

    Hi all,

    I’m new to BuddyPress but I’m quickly getting to grips with it. I am, however, having an issue with the registration and profile fields.

    Registration: it’s simply not doing anything when selecting “complete signup”. It sometimes redirects to the homepage and nothing shows up on the backend.

    Profile Fields: I’m getting duplications of the same field group, “Base (Primary)”. I’ve entered some new fields into the first of the duplicates, but nothing shows up on the registration page.

    Any support would be hugely appreciated.

    Cheers!

    #271302
    David Cavins
    Keymaster

    It would be better if you added your custom code to bp-custom.php rather than to a theme. (When the theme is updated, you’ll lose your changes.)

    About bp-custom.php: https://codex.buddypress.org/themes/bp-custom-php/

    To insert those fields, you’ll just have to change you code, replacing 'field=Location' with the name of your profile field. Here’s some more info: https://codex.buddypress.org/themes/guides/displaying-extended-profile-fields-on-member-profiles/

    #271294
    andreasnordengen
    Participant

    Well, I asked the developer behind the theme I´m using and got this code:

    function sq7_extra_fields_members_directory() {
     
        $location = bp_get_member_profile_data('field=Location');
        $specialization = bp_get_member_profile_data('field=Specialization');
     
        if ($specialization || $location) {
            echo '<div class="mdetcenter">'. 'Location : ' . $location . '</div>';
            echo '<div class="mdetcenter">'. 'Specialization : ' . $specialization . '</div>';
        }
     
    }
    add_action('bp_directory_members_item', 'sq7_extra_fields_members_directory');

    But, when I add the code and update, I get this message from WordPress:
    Could not communicate back with the site to check for faulty errors, so the PHP change was reset. You must upload your change to the PHP file in another way, for example, with SFTP.

    Could be related to my PHP version…

    kwavewd
    Participant

    I am using Buddypress and the BuddyBoss theme. I have 2 user types contributors and subscribers I made using BP Member Types and user profile fields. Everything is working except.

    When a contributor is logged in and goes to a tab say members/username/messages the subnav tabs show perfectly little grey boxes next to each other.

    But…

    when a subscriber goes to a tab say members/username/messages the css for the subnav tabs does not show as if it’s not pulling the css. I check and the file that controls this css section is buddyboss/css/buddypress-main.min.css and I checked this file is being used in the source code of this page. So for some reason the subscriber account is not pulling this style sheet even though it’s shown as included in the source. I tried to hard code the entire css into my page and it still didn’t show.

    the other thing I noticed was the code for the nav section was setup like this for contributor

    <div id=”buddypress”>
    <div id=”item-header” role=”complementary”>
    <div id=”item-nav”>
    <div id=”item-body”>

    but the subscriber one only shows like this

    <div id=”buddypress”>
    <div id=”item-nav”>
    <div id=”item-body”>

    why would the section <div id=”item-header” role=”complementary”> not be showing for subscribers? Could this be my problem

    Anyone have any ideas?

    #271142

    Also, telling me to get a registration profile plugin won’t help because I have to have the buddypress integration with Geodirectory which doesn’t translate profile fields with third party registration plugins.

    dro-i-de
    Participant

    Hi!

    Firstly, some info:
    WP: 4.9.4 Theme: Eonet (child theme)
    Buddypress: 2.9.3

    Domov

    I have a problem when saving xprofile data on the frontend. I have created a group and in it a bunch of required fields.
    When I try to save the fields on the frontend (Eonet theme) it doesn’t throw any errors. If I fill out all the required fields, the message appears saying the changes have been saved and sure enough, the database holds the correct values.
    I tried switching to a default Twenty Seventeen theme and deactivated all the plugins, but the problem still persists, with one crucial difference: the fields that are required and are empty, actually get saved as empty – which is not the correct behaviour.

    Can you confirm that required fields are actually required to be filled?

    Thank you for your help,

    Best regards,
    Domen

    #271054
    David Cavins
    Keymaster

    Boone wrote something that might be helpful: https://github.com/boonebgorges/bp-social-media-profiles/

    It automatically converts some social site links in extended profile fields into the right kind of link.

    #271053
    David Cavins
    Keymaster

    That depends on where you’re using it. You could use a bp_signup_validate filter to check that a username has certain characteristics. But for profile fields or other places, you’d have to enforce it some other way.

    Here’s an example of how you might disalloe long usernames:

    
    add_action('bp_signup_validate', function() {
    	if ( isset( $_POST[ 'signup_username' ] ) && strlen( $_POST[ 'signup_username' ] ) > 60 ) {
    		$bp = buddypress();
    		$bp->signup->errors['signup_username'] = 'Geez, your username is really long.';
    	}
    } );
    
    #270989
    redbananasander
    Participant

    Hmm… Maybe this is normal funcition from buddypress? I have 24 active plug-ins:
    – ACF Accordion
    – Advanced Custom Fields PRO
    – Advanced Custom Fields: Font Awesome
    – Advanced Custom Fields: Gravity Forms Field
    – Black Studio TinyMCE Widget
    – BuddyPress
    – BuddyPress Activity Plus
    – BuddyPress Admin Only Profile Fields
    – BuddyPress Edit Activity
    – BuddyPress Global Search
    – Colsensation Addons (own plugin)
    – Custom Post Type UI
    – Export User Data
    – Gravity Forms
    – Gravity Forms (nl)
    – Gravity Forms User Registration Add-On
    – GravityView – Gravity Forms Import Entries
    – Invite Anyone
    – Members Import
    – Pronamic Pay
    – Warpdrive
    – WP Pusher
    – WP Sync DB
    – Yoast SEO

    That’s all 😉

    amandafrench
    Participant

    Never mind! I’ve found a fabulous solution that has gotten me out of SQL query hell. Again, if anyone else is trying to sort a Members Directory, here’s what I did:

    1) Put it in a table, not a list (I had done this anyway, since I wanted a single-page directory that displayed xprofile fields horizontally) — make sure it has a <th> table header row;
    2) Install the plugin Table Sorter https://wordpress.org/plugins/table-sorter/ and add the class “tablesorter” to the table.

    Et voilà! I commented out the sort type dropdown in members/index.php starting with
    <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Members directory secondary navigation', 'buddypress' ); ?>" role="navigation">
    all the way through

    <?php
    /**
     * Fires inside the members directory member order options.
     *
     * @since 1.2.0
     */
    do_action( 'bp_members_directory_order_options' ); ?>
    </select>
    </li>
    </ul>
    </div>

    and I made sure that the default single page list showed all users alphabetically by default in members-loop.php

    <?php if ( bp_get_current_member_type() ) : ?>
    	<p class="current-member-type"><?php bp_current_member_type_message() ?></p>
    <?php endif; ?>
    
    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&per_page=500' . '&exclude=1,2,3,4,6' . '&type=alphabetical') ) : ?>

    And then all I had to do was add that tablesorter class to the table as required by the tablesorter plugin, and I got a nice dynamic table with sortable columns, which can also be sorted by multiple criteria by holding down the Shift key on the second column. I set the initial sort order with parameters that select the column by number, as described at http://tablesorter.com/docs/example-option-sort-list.html and elsewhere.

    <table id="members-list" class="tablesorter {sortlist:[[4,0], [3,0], [2,0], [1,0], [0,0]]}" aria-live="assertive" aria-relevant="all">

    Yay.

    amandafrench
    Participant

    I guess I’m never satisfied, but I do have an additional request / problem, if someone can help (cough @boonebgorges?). Our xprofile fields are geographical: City, State, Country. I’d like to do a sequential sort on them on the Members directory: first ASC by Country (which I’ve now got working, finally, thanks to this post), then second ASC by State, third ASC by City. I’ve mucked around with SQL statements and ORDER BY FIELD and CASE IF THEN, but I can’t get those subsequent sorts to work.

    xprofile field_id values: 1 = Name, 8 = Org, 9 = City, 10 = State, 11 = Country

    Members loop code:

    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&per_page=500' . '&populate_extras&type=alphabetical' . '&exclude=1,2,3,4,6') ) : ?>

    Below code in functions.php works – it sorts members by Country ASC
    custom_ids = $wpdb->get_col("SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 11 ORDER BY value ASC");

    Below code in functions.php doesn’t work to sort by Country, State, City ASC – returns an unsorted members list. I think it’s sorting randomly. It isn’t by user id, username, last active, or newest registered. When I apply the default member type sorts, though, with the members-order-select dropdown, that works.

    $custom_ids = $wpdb->get_col("SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id IN ('1', '8', '9', '10', '11') ORDER BY FIELD (field_id, '11', '10', '9', '8', '1')");

    Any advice for constructing that SQL query? Do I need to look more into bp_parse_args?

    #270850
    sonofara
    Participant

    Hi,
    is there any plugin or snippet for international country code prefix?
    i tried implementing Jquery-Intl-input it renders well but wont save country code prefix in xprofile fields neither retrieves.

    Any help???

    #270837
    Venutius
    Moderator

    Yep BuddyPress has it’s own registration page, it ususally automatically creates it – register though in reality buddypress does not use this pages content and just uses the pages slug as an anchor. You can go to Dashboard>>Users>>Profile Fields to add additional profile fields to the register page, you just add them to the Main field group. These are added to the right side of the registration page in the same order as viewed in the main profile group page.

    #270815

    In reply to: Select box value pairs

    Venutius
    Moderator

    I don’t think they work that way, I also looked at BuddyPress Xprofile Custom Fields but that did not allow for that, just a single field to enter the value. You might want to suggest it as a feature request on BuddyPress Trac:

    https://buddypress.trac.wordpress.org/

    #270785
    sasenzon
    Participant

    The site is members only so I can’t do that but the url basically saYs:
    https://members.institutechiro.com/members/?s=Sherman

    Now if I click on a field in the profile that is mandatory then the search function works. But this plugin was supposed to turn all fields in the profile to searchable. Thanks.

    yspeo
    Participant

    I found it. Thank you. But when I go to Profile>>Edit, there used to be a group just the same as Setting >> General with field that would allow me to change my password. I deleted that group. How can I get the change password fields back under Profile>>Edit?

    #270756
    Varun Dubey
    Participant

    @tom-corvus You can check codes at
    https://plugins.svn.wordpress.org/bp-default-data/tags/1.2.0/process.php with function name bpdd_import_users_profile()
    BP Default data plugin have created some fields and field group for BuddyPress.

    #270749
    fatimisprime
    Participant

    Hey all , basically I need some help , I have xprofile fields installed what I am trying to do is have a drop down box that when a person selections a field it adds a different css class based on the selection.

    Example:
    Gender field type with 2 options Male & Female

    When a person selects Male the color of the text would be blue and Female would be Pink

    Any help would be much appreciated

    Thanks

    #270744
    virajsonagra
    Participant

    I am running following plugins in my site.

    1. BuddyPress
    2. BuddyPress cover
    3. BuddyPress NoCaptcha Register Box
    4. Buddypress Xprofile Custom Fields Type
    5. BuddyPress xProfile Rich Text Field

    Wordpress version 4.5.1

    sasenzon
    Participant

    Custom Profile Filters for BuddyPress question

    I am trying to use this plugin. I put brackets around words in the fields.

    But when I to to “view” profile – and click the words I get a page not found.

    I don’t see any suggestions on the plugin help page.

    If I click on a profile item that was “mandatory” then it takes me to the proper member search page. But the optional profile items that the plugin is designed to turn into search terms – leads me to page not found.
    bbpress – 2.5 14-6684
    wp 4.9.4

    The site is members.institutechiro.com

    #270706
    Henry Wright
    Moderator

    Unfortunately, the fields are synchronized only when the profile is updated. I do not know how to start mass synchronization

    This is likely because you’re hooking to a hook fired at profile update. You’ll need to hook your code to something that gets fired at another point in time.

    Tom Corvus
    Participant

    Hi,

    I develop a plugin based on ACF Pro & BuddyPress. I would like to know if I can create profile fields and group fields with function or method?

    Like ACF Pro (acf_add_local_field_group), when the admin activate the plugin, I check if BuddyPress & ACF Pro are installed and activated. Then I create post types, ACF, and I would like to add Xprofile fields on the main profile tab and add a group fields with some fields inside.

    How can I do this?

    Thanks for your help.

    Tom

    #270408
    David Cavins
    Keymaster

    Hi there. If I’m understanding correctly, you’re wanting to modify URLs added to profile fields by your users. The profile fields are analyzed for search links and other links here:
    https://buddypress.trac.wordpress.org/browser/tags/2.9.3/src/bp-xprofile/bp-xprofile-filters.php#L326

    BP uses the WP function make_clickable() to make links clickable. It doesn’t look like that function is filterable at the moment (there’s a ticket: https://core.trac.wordpress.org/ticket/32787). I guess you could do something using the filter offered on the forum link you reference, but I’m not sure how you’d know which kind of links to modify (it’s not clear from your question what the goal is).

Viewing 25 results - 626 through 650 (of 3,880 total)
Skip to toolbar