Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • @richdal

    Participant

    Thanks for the recommendation. I tried adding that to the child-theme’s functions.php file but didn’t have an affect. I experimented a little by trying to append text and replace the problem text, but could only get the append to work. I opened a ticket.

    @richdal

    Participant

    I was able to track it down to one of the class files. I followed the directions for making a custom class file and was able to get that to work with the format changes I needed.

    @richdal

    Participant

    Thanks! I was able to copy that to my child theme

    /wp-content/themes/genbu-child/buddypress/members/single/profile/edit.php

    and can do some basic edits. Not familliar with making these types of changes but how would I change up some of the form field information. As an example I wanted to add some description text next to the 3 date fields for the Birth Date. If looked like those were getting generated here…

    
    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
               <div<?php bp_field_css_class( 'editfield' ); ?>>
    
               <?php
                $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );
                $field_type->edit_field_html();
    

    but not sure how to change those up.

    @richdal

    Participant

    Had to also copy over a couple functions to my theme’s functions.php file, rename them and make a couple minor changes, but was successful for me.

    bp_xprofile_get_field_types()
    bp_xprofile_create_field_type()

    @richdal

    Participant

    Found an outside link where someone is trying to modify the same information that I am.

    http://stackoverflow.com/questions/25485299/how-to-add-placeholder-in-buddypress-registration-how-to-make-field-descriptio

    $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );
    $field_type->edit_field_html();

    Sounds like I might need to copy and rename the BP_XProfile_Field_Type_Textbox class and put that in my functions.php file. Hopefully I can edit that there.

    @richdal

    Participant

    Sorry, never mind. Just stumbled on it in the user menu

Viewing 6 replies - 1 through 6 (of 6 total)
Skip to toolbar