Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 701 through 725 (of 3,593 total)
  • Author
    Search Results
  • David Cavins
    Keymaster

    Hi r083r7-

    Within the same site, you could write a short code that would render the profile. Outputting profile data is pretty straightforward: https://codex.buddypress.org/themes/guides/displaying-extended-profile-fields-on-member-profiles/

    One another site, I’m less sure. You’d need BP API or similar, which we’re just now writing.

    Check our Bowe Codes for some other useful short codes and examples for your own: https://wordpress.org/plugins/bowe-codes/screenshots/

    #258313
    danbp
    Participant

    Hi @shughesd,

    for clarification, the first topic author mentionned Trying to find where to edit the text above the fields.
    Are you looking for the exact same thing ?
    Is register.php in the right folder ? /child/buddypress/members/register.php ?

    The only text above the fields when registration is allowed is
    Registering for this site is easy. Just fill in the fields below, and we\’ll get a new account set up for you in no time.

    You have 2 options to edit/modify this string:
    – using the language file if you only want to change the text.
    – modify it in register.php if you want to change the HTML tag (by default it’s <p>)

    Other text above fields is the field title.
    This can be changed in fields admin. Dashboard > Users > Profile Fields. Edit the field and change the title to your need.

    And finally, which doesn’t need any alteration of a template or language file, you can use one of the 30 action hooks existing in register.php

    You can write a function and hook it to the placeholder of your choice. To do this, you add the below functions to bp-custom.php

    Example
    Add a welcome message at the top of the registration page, above Registering for this site.
    And another one below it.

    function my_custom_register_msg_title() {
    echo '<h2>Welcome on my site !</h2>';
    }
    add_action( 'bp_before_register_page', 'my_custom_register_msg_title' );
    
    function my_custom_register_message() {
    echo '<p>Thank you for registering.</p>';
    }
    add_action( 'bp_before_account_details_fields', 'my_custom_register_message' );

    In hope it helps you to understand the principle of operation on templates.

    #258295
    buddycore
    Participant

    You could put all your fields as xProfile and group them in sections.

    On top of that you could write some jQuery.

    I struggle going into BuddyPress code but I’m sure you could target this with client side validation via jQuery.

    It’s not perfect but it could be done.

    #258278
    danbp
    Participant

    i can’t replicate your issue. My snippet works as expected and when TOS box is not checked, the registration is aborded.
    You can test the error messages appearing for required fields by going to register page. Don’t fill any field and click on regiter. Does this work ?

    Also do you use any kind of plugin on registration page or for xprofile fileds ? Or other custom code ?

    The description field is stripped by default. But you should be able to add an href by using single cotes. But that’s all. If you insert a target to href, it will be removed.

    #258230
    bcanr2d2
    Participant

    Have you checked out Buddypress Conditional Profile Fields ?

    danbp
    Participant
    #258046
    danbp
    Participant

    That’s a Firebug question, but not important anyway. Also, there is no need to use all rules, as they are handled by the original CSS. You declare only the part you want to modify for .label

    Open /child-theme/style.css and add only this: (#xyz123 is the color hex you want to use)

    #buddypress table.profile-fields tr td.label,{
       background-color: #xyz123!important;
       color: #xyz123!important;
    }
    #258036
    danbp
    Participant

    Hi,

    this feature is currently handled field by field when you’re on the field creation page.
    dashboard > Users > Profile Fields
    Edit an existing field and see in the right column the box named Autolink. From there you can choose to enable/disable it.

    For more details about the concerned fields and autolinking, read comments in bp-xprofile/bp-xprofile-filters.php:322

    #258025
    ekko848
    Participant

    Well, I was able to do this by going into wp_bp_xprofile_fields in phpmyadmin, finding my Profile Field Label… and changing the value to include the HTML.

    Also it seems, for some, since there is a 150 character limit, I may have to increase the character limit size to meet my html length.

    Thing is, I’m not sure if this is the best way to do something like this?
    Editing straight from the database seems a little iffy, I don’t want to potentially break anything.

    Any comments? Re-assurance?

    idichoo
    Participant
    idichoo
    Participant

    Hi,

    WEll.. i have the same problem as this person posted.

    i have a similar problem as the above link.
    i tired to understand install child theme but it does not work.
    Thru this link

    Building a Child Theme of the BP Default Theme


    But i have quite complicated is there any video you can provide me.
    Btw I am not using FTP, I am using cloudways to bulid the site.

    #257812

    In reply to: Register LABEL

    danbp
    Participant

    Hi,
    have you done this ?

    – create a new field
    – enter Birthday as title
    – give a description
    – Under Type section, select date selector
    – save

    When you’re on a profile’s edit page, you should see
    – title
    – date selector (day, mounth, year)
    – This field can be seen by:….
    – the field description

    If you highlight the whole and check his source code, you would see something like:

    <fieldset class="datebox">
    
    	<legend>Birthday</legend>
    
    	<div class="input-options datebox-selects">		
    		<label for="field_xx_day" class="bp-screen-reader-text">Select day</label>
    		<select id="field_xx_day" name="field_xx_day">
    			<option value="">----</option>
    		<label for="field_xx_month" class="bp-screen-reader-text">Select month</label>
    		<select id="field_xx_month" name="field_xx_month">
    			<option value="">----</option>
    		<label for="field_xx_year" class="bp-screen-reader-text">Select year</label>
    		<select id="field_xx_year" name="field_xx_year">
    			<option value="">----</option>
    	</div>
    </fieldset>

    If you can read this code but don’t see it’s ouput on your theme, you have to find which CSS rule is handling the labels.

    Could be a simple contrast issue or something omitted somewhere.
    To get sure of this, try first with one of Twenty’s theme.

    And if possible, answer the questions you already received from Paul and give some details about your install: used theme and plugins at least.

    #257809

    In reply to: Register LABEL

    junglejim620
    Participant

    Hi Paul,

    The field is for BIRTHDAY.

    From the admin where the Users (menu), click the PROFILE FIELDS to create just like any other fields. just this particular label is not showing but every label are all good? Freaky Freaky!

    I try not to use extra plugin which I already using 30. Is there’s some kind of file that I can go download and overwrite it?

    Please advise, thanks

    #257772

    In reply to: Register LABEL

    Paul Wong-Gibbs
    Keymaster

    Ah, what’s the profile field type for that? Is it a date field type or a “Birthday” field type?

    Are you using the https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/ plugin ?

    #257766
    Paul Wong-Gibbs
    Keymaster

    BuddyPress will try to sync the value of a user’s “Name” field to the First and Last Name fields in their wp-admin user profile.

    To disable this, go to wp-admin Settings > BuddyPress, and disable Profile Syncing.

    #257753
    danbp
    Participant

    @mugwumpman,
    first and last_name fields don’t belong to BuddyPress, but to WP profiles.

    BP use only a field called Name at first install. User can enter their first AND last name in that field. Is this what you’re talking about ?

    After reading your topic on wp.org, it seems that you use those fields to enter datas which are not first and last names, but more for company and company activity or such.

    As you use BP, i would suggest you use the power of xprofile and offer to your user a much better experience by adding a field for a company and another for company activity (or something like that). So you can forget WP’s profile fields and use BP’s xprofile fields.

    WP’s profile field used when BP is activated are: username, email and password.
    And BP adds his mandatory Name field, which can be first, lastname, username or whatever other unique name belonging to a subscriber (which can be a human, a pet, a company….).

    And yo can as many fields you want to the registery or for later on profiles.

    The other problem related to font case is a mistery so far. Can be related to many things such as plugins or theme or custom function. This can be determined by debuging and using one of WP’s default theme and all plugins deactivated.

    No matter to know if you fill a wp or a bp field for this. Both use a textarea, so it’s probably more a css thing somewhere.

    #257653
    sharmavishal
    Participant

    “WP was finding it difficult to distinguish users on our current system with users of Buddypress”

    correct cause bp adds additional profile fields…xprofile fields like name for example. rest gets stored in the wp_users database.

    maybe u can try setting up different subdomains…bp on community.yoursite.com and forums on forums.yoursite.com

    anonymousse2
    Participant

    Actually @danbp I knew that there was a difference between an site admin and an average user. To be certain of it, I have just created an account specially to test the plugin but that does not still work. I can always modify the at will profile fields. What’s to be done?

    danbp
    Participant
    anonymousse2
    Participant

    Thank you very much @danbp.
    I shall have another small question for you if him you are willing:
    Do you know how can prevent the users from modifying one profile fields of type “Dropdown selector” ? That is they can fill this field while their registration, and then that it is not modifiable any more, but that he remains at least shown on the profile.

    Thank you in advance for your help

    #257581
    danbp
    Participant

    @earl_d, this “issue” is mentionned in plugin’s FAQ. Have you done the recommended changes ?

    jbboro3
    Participant

    Hello,

    It’s be great if someone can suggest me how to get custom text before outputting the xprofile field contents. For eg., I’d want to output like “Lives in ($Loction)”, “Studied at ($school)” etc.. How do I output those custom text as “Lives in” “studied at” before the actual content output of fields. The reason being I’m using this on the sidebar widget.. Though I tried with something like:

    <?php echo ‘Lives in’, xprofile_get_field_data( ‘Location’, bp_displayed_user_id(), $multi_format = ‘comma’ ) ?>

    It outputs the “Lives in” custom text irrespective of whether the field is empty or filled.. I want to show both custom text and field content only when the field is filled..

    Thank you.

    #257330
    r-a-y
    Keymaster

    There was no change to the Extended Profiles component in BP 2.6.2.

    Also i created about 11 profile groups but when i checked extended profile for my users from the admin panel i found all the created profile groups plus one more group with no content to it called “Social” which i didn’t create and i can’t even find it under Profile fields tab.

    Sounds like a plugin conflict. Did you also install or upgrade some BuddyPress plugins during your BP 2.6.2 upgrade? If so, deactivate those plugins and try to replicate your issue again. Also, try a different theme like twentysixteen since some themes try to add some of their own BuddyPress customizations, which may not work properly.

    shanebp
    Moderator

    You should set up a test site so that you can do a proper evaluation.

    Answers:

    1. The reg form will include any profile fields you place in the ‘Base’ profile group.

    2. Each member has a page that includes profile editing.

    3. All active members are shown on the ‘Members’ page. That page can include profile details.

    jbboro3
    Participant

    Hello,

    I’ve been trying to remove the strips on images on xprofile textarea fields (as I set the add media button on tinymce editor). I can upload, position and everything but it simply doesn’t save it.. There must be somewhere it’s not allowing to save images and other scripts for security purposes. But I need this feature must as for my current project..

    If someone can point me the core files where I can look for that is not allowing to save images or stripping the images and other tags, that would be very much helpful.. I totally want to remove the entire strip tags that will support all the tags including image and iframes etc.,

    Somewhat tried with: remove_filter( ‘xprofile_get_field_data’, ‘wp_filter_kses’, 1 );

    but still it’s not saving the data.. can someone help me to better implement the above code?

    I’m in desperate need of solution as possibly as I could get.

    Thanks

Viewing 25 results - 701 through 725 (of 3,593 total)
Skip to toolbar