Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 2,376 through 2,400 (of 5,755 total)
  • Author
    Search Results
  • brinkingyellows
    Participant

    Hi @r-a-y. Here are the plugins I am currently using on the site.

    Network Activated:

    Advanced Responsive Video Embedder
    Anti-Splog
    Are You a Human
    bbPress
    bbPress – Report Content
    bbPress Enable TinyMCE Visual Tab
    bbpress Simple View Counts
    BP Profile Search
    BuddyPress Activity Plus – (I did deactivate this after the 1.9.1 update but nothing changed)
    BuddyPress Avatar Bubble
    BuddyPress Follow
    BuddyPress Group Calendar
    BuddyPress Groups Extras
    Buddypress Social
    BuddyPress Toolbar
    BuddyPress Twitter
    Buddypress Xprofile Custom Fields Type
    GD bbPress Toolbox
    Group Forum Crumbs
    rtMedia for WordPress, BuddyPress and bbPress
    User Activity
    WP User Avatar

    —-

    Single Site Actived

    Amazon Product In a Post Plugin
    BuddyMenu
    BuddyPress Notifications Widget
    Really simple Facebook Twitter share buttons

    That’s about all the plugins that I have active that play a heavy part in Buddypress or are loosely connected to it.

    Justin
    Participant

    I am helping a nonprofit I support by building a site totally built on Buddypress: http://parishcollective.org/beta

    We are allowing users to create a profile with minimal information (via Social Login) but we want to keep the user role at ‘subscriber’ until they fill out the required profile fields. At that point, we need to be notified that they updated their info so an admin can check their info and up their role to ‘contributor.’ (It gives them access to creating blog posts and other things)

    Initially I started with something basic from this post: http://buddypress.org/support/topic/notification-on-profile-update-2/

    However, wp_mail() is conflicting with something in our site and causing a fatal error.

    So I’ve been attempting to add a user meta key (when a user updates their profile) that can be queried in the backend in a custom admin menu so the users with completed profiles can be displayed.

    Here was the adapted code based on the post above:

    
    
    function my_update_profile_mark() {
    $user_ID = get_current_user_id();
    $power_level = 9000;
    add_user_meta( $user_ID, '_level_of_power', $power_level);
    }
    add_action( ‘xprofile_updated_profile’, ‘my_update_profile_mark’ );
    
    

    If I understand the ‘xprofile_updated_profile’ hook correctly, it should just fire anytime any field is updated on a profile, right?

    From there I planned to experiment with something like this based on the Force Profile Update plugin to make the function fire when the profile is totally updated:

    function my_update_profile_mark() {
    
                            global $wpdb;
    
    			$bp_prefix = bp_core_get_table_prefix();
    			$xprofile_fields = $wpdb->get_results("SELECT count(*) AS empty_fields_count FROM {$bp_prefix}bp_xprofile_fields WHERE parent_id = 0 AND is_required = 1 AND id NOT IN (SELECT field_id FROM {$bp_prefix}bp_xprofile_data WHERE user_id = {$user_id} AND valueIS NOT NULL AND value` != '')");
    
    			foreach ($xprofile_fields as $field) 
    			{
    				if ($field->empty_fields_count > 0)	
    				{
                                      $user_ID = get_current_user_id();
                                      $power_level = 9000;
                                      add_user_meta( $user_ID, '_level_of_power', $power_level);
                                    }
    add_action( ‘xprofile_updated_profile’, ‘my_update_profile_mark’ );
    

    I’m a pretty new to programming and I don’t totally understand all the code here, but I’m trying hard to make something work here. Any ideas/guidance?

    I also realize this solution, even if it worked, would update the meta key ‘_level_of_power’ to the specified value “9000” every time the user updated their profile after their profiles were filled out. But that’s an annoyance we can live with for now. Not knowing the user is ready to be upgraded wouldn’t work at all for the site. Any help would be appreciated. 🙁

    #176672
    Henry Wright
    Moderator

    I think xprofile_data_value_before_save is the hook you want to use. So, if you add this to functions.php your xprofile fields will accept HTML:

    remove_filter( 'xprofile_data_value_before_save', 'xprofile_sanitize_data_value_before_save', 1, 2 );

    Note: Use this with caution. Not sanitizing incoming data is dangerous so you will need to add your own custom sanitization if you use this.

    #176578
    mute_
    Participant

    Hi there.

    After searching this, and other, forums i give up.
    Ive installed the latest buddypress (1.9.1) along with gamepress theme. WordPress version (3.8). My site: http://www.lolhouse.net.
    Ive tried to activate twentyelleven themes and others to see if it was the theme that didn work along with buddypress.

    Ive set the “anyone can register” under “setting->general”
    Ive made a bunch of profile fields under “users”

    My problem:
    The second i “Associate WordPress Pages with the following BuddyPress Registration pages” – and saves, that specifik page i associated with disapears from my website!?

    Can anyone please help me?

    Thankx, Kristian.

    #176577
    mute_
    Participant

    Hi there.

    After searching this, and other, forums i give up.
    Ive installed the latest buddypress along with gamepress theme.
    Ive tried to activate twentyelleven themes and others to see if it was the theme that didn work along with buddypress.

    Ive set the “anyone can register” under “setting->general”
    Ive made a bunch of profile fields under “users”

    My problem:
    The second i “Associate WordPress Pages with the following BuddyPress Registration pages” – and saves, that specifik page i associated with disapears from my website!?

    Can anyone please help me?

    Thankx, Kristian.

    #176565
    julianprice
    Participant

    @hugo was not attention to discredit anyone. Just an effort from someone attempting to contribute to the buddypress project because I know only few that contribute (via 🙂 stalking or following); which is only a handful: @boonebgorges , @jamesjjacoby, tammie leister, ray, @modernlooper, @sarah . That’s just the dew I know off the top of my head.

    I am not developer & barely knew hmtl/CSS a few months ago, I am just learning functions, fields, &php which is completely out of my realm. I only attempting to contribute by noticing this miss lap/division of the WordPress community as a whole, that could be learned nor have to recreate the wheel by learning to utilize the bb’s potential.

    What made me think of posting this in the first place was a review of make.wordpress.org and watching the discussions on the metaphoris project enhancing the metafields/metadata in wordpress.

    That’s when I thought my buddypress already has included the ability for profile fields with text, select, radio, Multi select elements….why not look at what buddypress has done!

    I purely believe that presence on the make.wordpress.org can increase awareness in the general wordpress user exposure but more importantly the wordpress developer involvement as a whole.

    At this point, is the only way i feel I can contribute with out technical experience is via feedback & observation of what seems disconnect in community awareness of buddypress.

    Sorry to go on a rampage but noticed also that bbpress has some documentiion on how to style.

    My only purpose is to insure inclusiveness and encouragement of wordpress community as one.

    Thanks. I am happy to help in anyway to contribute; if it testing a local version or so what…you just will have to tell how…LOL. I will certainly try.

    Sorry to go on rampage

    #176525
    talooz
    Participant

    Hello everyone!

    I am trying to make some fields to be filled as user registers to my site.

    My goal is to make this condition:
    if [gender=male] then [interested_in=female]
    if [gender=female] then [intersted_in=male]

    i have written a code for that and applied it on my functions.php file and add_action to user_registration. but no luck so far.
    this is my code:

    function changeinterest( $user_id ) {
    			$args = array(
    		    'field'     => 'My_Gender',
    		    'user_id'   => $user_id
    		);
    		$field_name = 'My_Interests';
    		$original = bp_profile_field_data($args);
    		$value = maybe_serialize('male');
    		$femalevalue = maybe_serialize('female');
    		
    if ($original = 'female') { xprofile_set_field_data( $field_name, $user_id, $value);}
    elseif( $original = 'male' ){xprofile_set_field_data( $field_name, $user_id, $femalevalue);};
    }
    add_action( 'user_register', 'changeinterest', 10, 1 );

    To me it seems correct and written ok, but I cannot understand why it’s not working.
    any help would be much much much appreciated !!

    julianprice
    Participant

    Ok guys I have been going down a rabbit hole on how The User Profiles work when you have Buddypress installed. Because what I understand is that buddy press hooks into the native wordpress profiles and extend it in your install.

    So my question is this how do you create User/Member Profile Register by creating a extended profile fields so that you can segment roles.

    In my example I am wanting to create users based on Neighbors fields:

    I am a: Resident
    I am a: Business Owner
    I am a: Friend/Fan

    of x community/neighborhood.

    I hope that make sense. So my questions is how does that relate to the User Fields/Roles in the general WordPress Profiles.

    MultipleGnat
    Participant

    Hello all

    Well I tried doing this myself but I managed to completely ruin one of my sites so I thought I better ask you guys about this one.

    Basically I am trying to use buddypress on more then 1 site, but buddypress needs to use the same database tables or atleast sync the database tables of the main installation onto the other database tables of my other websites as I am currently running 4 different sites 2 of which have completely different domains I can’t really enable wordpress multisite and do it that way.

    Basically I want to have the same profile fields on all of my sites and have the notifications, messages and etc

    Wordpress Version: 3.8 (On all sites)
    BuddyPress version: 1.9.1 (On all sites)

    So if anyone can help it would be appreciated.
    Thanks, Liam

    #176347
    Hugo Ashmore
    Participant

    You’re not attempting to hide anything, if you have created xprofile field groups other than the default ‘Base’ then anything in those groups for user profile input will not show on the standard BP registration form only on the users account profile screen. If you are following that principle and those fields are showing on the main registration form then something is going wrong and likely you have third party plugins at work?

    #176288
    sundev
    Participant

    Hi all, happy new year.

    Please I would like to hide some extra fields I added to the user profile to be completed optionally; when my members are logged on to the site, All fields kept on show on registration page. Please help. Thanks.

    #176274
    glyndavidson
    Participant

    I’ve read this article on Segregated X-Profile Fields for Multisite which explains how to “create separate tables for each site, so Extended Profile Fields work independently on the network”.

    Looking at the example code, it only shows how to segregate X-Profile fields.

    Before I go down a path that could lead to much frustration, can anybody tell me if the same is possible with groups?

    Perhaps by adding a few lines of code to the example:

    
    function add_custom_bp_groups_tables($sql) {
    ...
      $sql[] = "CREATE TABLE {$wpdb->prefix}bp_groups (
        // bp_groups table fields would go here
      ) {$charset_collate};";
      return $sql;
    }
    
    add_action( 'bp_init', 'modify_bp_global_groups_tablenames' );
    add_action( 'switch_blog', 'modify_bp_global_groups_tablenames' );
    
    function modify_bp_global_groups_tablenames() {
    	global $bp, $wpdb;
    	$bp->groups->table_name            = $wpdb->prefix . 'bp_groups';
    	$bp->groups->table_name_groupmeta  = $wpdb->prefix . 'bp_groups_groupmeta';
    	$bp->groups->table_name_members    = $wpdb->prefix . 'bp_groups_members';
    }
    

    And, by default, does the member’s loop only query users of the current blog, or does it query users for the entire network?

    #176232
    TPdaking#7782
    Participant

    Currently I don’t see a plugin for this but wanted to know if there was an alternative to show users country flag based on selection of profile fields. And if it was possible to place around the user name area. Thanks in advance!!!

    #176205
    TPdaking#7782
    Participant

    Currently I don’t see a plugin for this but wanted to know if there was an alternative to show users country flag based on selection of profile fields. And if it was possible to place around the user name area. Thanks in advance!!!

    #176157
    Shmoo
    Participant

    What I did is I changed the form + validation stuff inside the template files to customize my own forms and validation process.

    First of all I didn’t like the default validation process that BuddyPress is using where you have to push Submit and then the script checkes if every field is filled correctly, if not it pushes a text_message into the page through an Action.
    Result, often the error message shows up at the top of the page where you aren’t looking and not at the form where the problem occurs, and even more important it’s an extra page-load to get this message into the page.

    I didn’t like that so I left everything of that untouched as a back-up system and simply used my own ( Zurb’s ) validation JavaScript to check while writing if the fields are correct.
    Plus this JavaScript disables the Submit buttons if a form or field is not valid.

    This is a screenshot of the Profile Settings page but all forms work the same so you can just diff into the template files and add alter them.
    BuddyPress custom form + validation

    The script I use is part of Zurb’s Foundation Framework so if you don’t like to work with Frameworks like me you have to strip all the needed code out of it.
    http://foundation.zurb.com/docs/components/abide.html

    There are probably also scripts like this one to be found online.

    mapi33
    Participant

    Hi everyone,

    Does anyone know if there is a way to ask for specific information when a user joins a group ?
    I have tried to set something with profile fields but in my case I need to have each entry linked to a group AND a member at the same time.
    Any idea?

    Thanks a lot for your help 🙂

    #176106
    GATEKeeper
    Participant

    I’m attempting to create a site for two types of users, one is a list of content creators, and the other type of member would be users who want to track or interact with those content creators.

    Can anyone recommend a way though for me to separate those users? I don’t necessarily want the content people browsing the list of the other members, and I also don’t want to have the other members join the content group.

    I’ve been testing out BuddyPress for a while now and it seems to fit most of what I need (custom profile fields, membership lists, favoriting of users, etc.), but I also need to figure this part out as well.

    Am I perhaps best served by integrating S2Member? Or does anyone have another recommendation?

    Thanks!

    #176084
    CliffDillard
    Participant

    I have an alumni site and added fields for Graduation Year (drop down) and current residence (City (optional), State (drop down) and Country (drop Down) and About Me (multi line text)
    I also added fields for current last name versus name while in school.
    The registration form looks fine but when I pull up a member record the data is messed up. An example would be
    Last Name while in school: John Smith
    Last Name current: EH
    First Name: CM
    Class of : 1995
    City: WK
    State: MB Manitoba
    Country: Swaziland
    About me: BD

    The class of is a drop down and the 1995 is correct.
    The State is a drop down but MB was not correct for this person.
    Country is a drop down but Swaziland is incorrect for this person.

    I read that changing the name of the Name field might cause a problem but that post was 2 years ago and appears to have been corrected.

    Any ideas what I set up incorrectly?

    Note: Some registrations go through cleanly but most are coming through with these types of errors.

    #176079
    Manu-PB
    Participant

    [resolved] I have installed BP Xprofile Custom fields and the “nobody” option suits me.

    Manu-PB
    Participant

    Hi,
    I have a fresh install of WP 3.8 + BP 1.9 and have issue with “adminsonly” visibility.
    A previous post says that it was an issue for BP 1.8 too. In the documentation is said that display of hidden xprofile fields has been worked out.
    In the profile field editor “default visibility”, there is no option for “admin only”. I checked “Only me” and the result in bp_xprofile_meta table is “adminsonly”.
    BUT a member (user_role = subscriber) can view and even edit the field ! This is not what I expect … but is consistent with “only me”.
    What did I do wrong ? Or is it a bug ?
    Thanks for help!
    And merry Christmas too!

    #176027
    shanebp
    Moderator

    Doesn’t sound like you need to edit xprofile fields from within the Dashboard,
    but this premium plugin allows you to view, edit and save xprofile field values from a User > Edit screen in the Dashboard:
    http://www.philopress.com/products/bp-dashboard-user-profile-edit/

    #176019
    devpaq
    Participant

    How can I set some of the extended profile fields to show up in the admin section under the user list screen?
    Or if that can’t be done – can I set a link to the user profiles fields from that screen?
    I am currently setup to manually approve new registrations before they can access buddypress, but from the user page in admin I have no way of knowing anything about the subscriber other than their email address.
    Thanks!

    #175978
    shanebp
    Moderator

    Nice. It would also be interesting to provide this on all timestamps.

    One issue ‘tho – in this:
    http://docs.taptappress.com/buddypress-add-time-zone-list-profile-field/

    I think you’re inserting / updating all those xprofile fields on every page load.
    Why not just do it once?

    You could write a plugin that uses ‘register_activation_hook’ to run bp_add_custom_timezone_list() once.

    And then use the filter hook in:
    bp_get_message_thread_last_post_date()
    to adjust the timestamp without requiring a template change.

    And you could use other hooks to adjust other timestamp displays.

    That would be a popular and very handy plugin.

    iAndre
    Participant

    Hi,

    I’m using WordPress v3.8 and BuddyPress v1.9. I’ve also disabled all not core Plugins (i.e. only leaving the core BuddyPress plugin and switched to the Twenty13 theme for testing.

    When I select Profile > View; all I see under the ‘Base’ heading is the user name.
    But when I select the Profile > Edit tab, I then see all the additional fields.

    Is there a way to expose all the profile fields in the View section?

    Many thanks, Andre

    #175901
    premiumwebsites
    Participant

    I am trying to create a Jobs website that reflects both sides – the job seeker and the employer. I am using extended profiles for the Job Seeker to create a resume/profile. I have added Resume type fields and it works as expected. The problem is when an Employer registers to post jobs they need a basic registration process – they do not need to fill out the long Resume type profile. Is there a way to have 2 different types of profiles on the site?

    Dotty

Viewing 25 results - 2,376 through 2,400 (of 5,755 total)
Skip to toolbar