Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 776 through 800 (of 3,608 total)
  • Author
    Search Results
  • #254074
    r-a-y
    Keymaster

    that worked!!

    Glad to hear you’re up and running!

    But should I now see 5 tabs of Field Groups that all say “Base (Primary)” when I go to Profile Fields under Users?

    No, you shouldn’t.

    You should leave the first “Base (Primary)” tab alone, but do delete the rest of them.

    Do the same for the “Name (Primary)” field in the “Base” group. Keep the first one, but delete the rest.

    Note that this is a new install. I’ve never used BuddyPress before

    This does sound like a bug. It would be great to retrace your steps so we can duplicate this problem. Did you activate / deactivate / activate the plugin multiple times?

    Same goes for the components list under “Settings > BuddyPress > Components” in the WP admin dashboard. Did you uncheck / check / submit certain components multiple times?

    #254073
    AngelaQ
    Participant

    that worked!! But should I now see 5 tabs of Field Groups that all say “Base (Primary)” when I go to Profile Fields under Users? Each of these have 5 fields called “Name (Primary) (Required)”.

    Note that this is a new install. I’ve never used BuddyPress before and tried using xTended Profiles and gave up…

    #254057
    shanebp
    Moderator

    This premium plugin – BuddyProfileData – will add profile data to the members loop.
    It will add fields in a vertical stack.
    If you are comfortable with css and maybe a little php, you can change it to horizontal.

    Or you can write your own solution using this hook:
    do_action( 'bp_directory_members_item' );
    in this file:
    buddypress\bp-templates\bp-legacy\buddypress\members\members-loop.php

    Or you can create a template overload of that file and hardcode your solution directly in the template wherever and however you want it.

    Re the ‘>’ – the best solution is to find out where it is being added by your theme css and change it.

    #254003
    Earl_D
    Participant

    I ran a test this morning with BP as the only plugin activated using tiny framework theme. Ran the same again two minutes ago with twenty twelve as theme. I do NOT use any special registration template only what comes with BP out of the box. This is the third time I have done that to prove convincingly that it isn’t simply plugins. Each time the result is the same. Whenever extended profile fields turned on registration does not go through.

    I have removed all the extended profile fields except the one on the Base which cannot be removed. That is display name. That is the only thing other than account name, email and password fields that shows up on the registration form.

    I am not the only one experiencing this issue I linked to support topic here on this board where someone else having the same problem.

    This is literally ruining the launch of my site all my marketing has been wasted since no one can register. If his is not a problem that can be fixed can someone PLEASE tel me how to downgrade. So all my money and effort don’t get blown away.

    #253998
    r-a-y
    Keymaster

    I also tested BP 2.5.3 on WP 4.5.2 on a fresh install and cannot duplicate your problem, Earl_D.

    I tested with the Extended Profiles component enabled.

    Are you using any caching plugins? If so, try to disable it or whitelist the register and activate pages from caching.

    Do you have any special extended profile registration fields? If so, can you list what they are and how they are configured?

    #253992

    In reply to: Membership Codes

    danbp
    Participant

    @maganiza,

    it’s possible. I suppose you need a unique code for some later user specific actions. But that code exist nowhere when a user register. What can we do ?

    1) generate a 6 digit code and show it on the register page
    2) asign that code to the user
    3) show the code on his profile

    1 – we use php mt_rand to generate the code and one of the available action hook on the register page for his output. Add this snippet to bp-custom.php

    function bpfr_digit_generator() {
    $num = mt_rand ( 0, 0xffffff ); 
    $output = sprintf ( "%06x" , $num );
     
    	echo '<strong>Your personnal code: '. $output .'</strong>';
    
    }
    add_action( 'bp_after_account_details_fields', 'bpfr_digit_generator' );

    2) create a new xprofile field, call it Personnal Code or whatever. Make it mandatory and asign it the visibility level you want. In field description, ask the user to copy/paste in the code.

    3) as the user entered the code in a xprofile field, you get automagically this field on his profile.

    I’m a bit unsure how to insert this field value in the activation email, or if it’s even possible. Perhaps somebody else can help you. See email on codex.

    A bit raw, but at least you have a start point how to do that.

    Here also another method, you may use if you don’t want the user to copy/paste the code.

    #253983
    danbp
    Participant

    @radair2002,

    nothing out of the box on hand, but what if you make any of the fields with “only me” visibility level as default , for everybody ? If site admin approve the content, he can change the level to something more public.

    For email notification, a solution is given in this topic.

    Perhaps you can also use this plugin, with some custom restriction/adaptation.

    #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

    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.

    #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

    #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>';
    #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

    #253421
    modemlooper
    Moderator

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

    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;
    }
    #253164
    shanebp
    Moderator

    Your task is very logical – but fraught with danger.

    Have you noticed that emails can be edited from a Profile page via Settings?
    And how a confirmation email is sent?

    And this setting: wp-admin/admin.php?page=bp-settings > Profile Sync ?

    So it’s possible but not easy.
    Display of those fields is fairly simple – but writing handlers to save those fields… eek.

    If it was me, I’d just add Profile fields for bio and website – and move on.

    #253044
    yoast79
    Participant

    Hey Henry,

    After some more hours of trying I managed to find the right code to get it done!

    This is what made it work;

    .profile-fields {
    color: #ffffff
    }
    
    .profile-fields {
        background: #000000
    }
    
    .profile-fields tr.alt td {
         color: #ffffff
    }
    
    #buddypress table.profile-fields tr.alt td {
         background: #000000
    }
    

    I’m sorry to bother you with my question.

    #252991
    sharmavishal
    Participant
    #252972
    sharmavishal
    Participant

    i use donmik’s excellent plugin “BuddyPress Xprofile Custom Fields Type” for this…you can add a TOS to xprofile field

    #252937
    BobSD99
    Participant

    A quick followup, I see the permitted field value for the checkbox (in this case) is stored in field 315 in table wp_bp_xprofile_fields – how do I query this checkbox setting value?

    I want to pull the correct value from the database, so in case I update that checkbox field’s option in the backend, I can correctly set it.

    I don’t see a function in /buddypress/bp-xprofile/bp-xprofile-functions.php: that seems to pull this, and nothing is locking in with Google….

    #252927
    shanebp
    Moderator

    It won’t work unless you pass a ‘valid’ value. And you don’t have to use an array for a single value.
    So if you have not changed the option value ( via Users > Profile Fields ) to ‘Subscribe to Newsletter Digest’, it will fail.

    To ‘uncheck’ the box – just delete that row for that user in the _bp_xprofile_data table.
    xprofile_delete_field_data( field name or ID, $user_id )

    #252923
    BobSD99
    Participant

    To keep this simple, and for illustration purpose, I edited the data I wanted to update in the question, which given it’s a checkbox, is confusing.

    I actually want to toggle that element off, so I assume I’d actually either a) update the array to an empty field, or b) delete the entry entirely.

    I assume I want to change the field to an empty string, but now that doesn’t seem as obvious. Some guidance is appreciated on updating this field and any curves a checkbox might throw in working with BP XProfile fields.

    Naomi
    Participant

    Because adding them as xprofile fields doesn’t add them to the TML registration page that I need to use. Have you looked at the TML instructions? I followed them exactly and they don’t use xprofile fields so it’s glitchy.

Viewing 25 results - 776 through 800 (of 3,608 total)
Skip to toolbar