Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 3,351 through 3,375 (of 5,755 total)
  • Author
    Search Results
  • #140290
    synergywp
    Participant

    Problem with option 1: the admin will still be active roll on the site… So the new admin account would then be able to be seen. Problem with having the user have admin privileges is someone could still come in and delete any posts, etc.

    When you say edit database directly, do you mean just changing the username? I thought because of the tight integration between WP and BP, the username for BP is the exact field as $user->user_login. So, unless its two different fields, this wouldn’t work.

    I’m seeing that plugin, but its still the same issue I suppose… People will still see the username through hovering over or viewing the profile’s URL…. i.e. your login is modemlooper. Is it not? Mine is synergywp. Everyone knows this, so its just a matter of a malicious visitor getting a password somehow.

    Thanks for the help, but maybe I didn’t properly explain… I don’t want people to be able to see the username, in any way shape or form, of an active admin, but I want the admin to be able to be active in the forums/members list, etc.

    #140288
    Quint
    Participant

    Hhhmm,

    So, I don’t have access to any of the database tables, @djpaul –not allowed by my hosting provider (they rock btw!). Anyway, anyone have a suggestion as to how I could get the meta names of the XProfile fields? Thanks!

    #31468
    Sarah Minx
    Member

    Hey all,

    I used BuddyPress for a while before and there was a way to add custom fields to the users profile “Base” so it would display more than just their name. I believe it was a plugin but I can’t seem to find it now. Any help would be greatly appreciated!!

    radiusj
    Participant

    Not a single reply yet. Can someone point me in the right direction?

    Here’s a little more info that further clarifies:

    I’m hoping to use the S2 Member and Buddypress plugins for WordPress to manage volunteers and members at our arts cooperative and website.  S2 Member seems well suited for registering both paid members and volunteers (free users) while Buddypress adds the social features needed to help our people work together.

    S2 Member had me convinced of easy integration with Buddypress, but this has not exactly been the case. S2 Member Registration fields appear in the Buddypress registration form, but I’m having the following issues

    1. Buddypress profile fields allow users to choose if fields should be visible in their profile, or allow admins to set a default visibility for each field.  Can I implement this for fields created in S2?

    2. Buddypress profile fields are linked to a search for other users that share the value of that field.  I had originally thought this would be perfect for a membership directory that categorizes member and volunteer skills, but not sure how to implement a search that works with both types of fields.

    3. S2 does not come with it’s own Member Directory, a feature that should be essential.  It is a known issue and common complaint, for which the developers have provided some pointers in the right direction, but no comprehensive code that would integrate options into Buddypress.  A membership directory is the most essential aspect to our site, but I’m confused as to how proceed, given the limitations of both plugins.

    gamebug
    Member

    uh, anyone?

    #31453
    robotnjik
    Participant

    Hi all,
    I have task to convert existing community from custom made script to BuddyPress (I’m also checking other community scripts/solutions).

    I would like to know does some features of existing community can be applied to BP

    1) Currently, members are divided into four Programmes and those Programmes have generations (like 2008, 2009, 2010,..). I have installed BP and there are Groups but without subgroups or something similar.

    2) Members have different profile fields depending in which Programme participated (90% of fields are same). Is it possible to make something like this? Is it easier if only admin create users?

    3) Community is almost 90% private and activity will be available only for logged in users. Also, some profile fields (Name, Surname, Group and Generation) are available for public view.

    So, my biggest problems are different profile fields and more/deeper group levels.
    I really like WP and BP, but not sure where to start cause I’m not that good familiar with BP.

    coolstory
    Member

    I am developing a plugin and I need to hide some profile fields. How can I call bp_has_profile() and pass a variable for

    ‘exclude_fields’ => $filed_IDS

    #140162
    Quint
    Participant

    @fadebek1,

    Thanks for responding. What I meant is that I don’t know what the meta names are for each one of the XProfile fields.

    What I’m trying to do is map some of the fields in my FormidablePro form to the XProfile fields. Thus, when the user fills out and submits the form, the appropriate XProfile fields are updated. That’s the goal. It’s possible… but I don’t know how to do it. Getting the meta names is a good start.

    Didn’t see your response, Paul until after I submitted… will look at it.

    #31442
    Quint
    Participant

    Hello,

    Could someone tell me how I would go about finding what the user meta names are for the XProfile fields that I create?

    Thank you.

    Quint

    gamebug
    Member

    Hello, I have installed the latest Buddypress version and I added a profile field using BP’s extended profiles. Problem is, when I put an emoticon in the field, it shows up as html. How can I resolve this issue? Thanks in advance!

    botane
    Member

    I am running buddypress and profile content is showing up as html code as opposed to the text entered in the profile fields. Can someone help with this? I am not sure how to fix the bug.

    Thanks.
    Tom

    Reference: http://community.botane.net/members/tompytel/profile/

    #140034
    danbpfr
    Participant

    hi,

    as you can read here https://codex.buddypress.org/releases/version-1-6/ in the Profile Field section, since BP 1.6, each user can set his profile fields to different visibility option from within his profile option admin.

    You can also modify the template profile loop from a child theme to avoid site wide not registered users to see profiles unless they are logged in, by adding the contionnal tag if bp_user_is_logged_in.
    Add this just after the first line containing do_action and don’t forgot endif at the end of the page, just before the last do_action.

    danbpfr
    Participant

    @papaitirtha ,

    please post questions one by one.
    For the question about template, it seems there is something wrong from within it. As you know also, you paid a $60 licence to use the Huddle themeforest theme. This price includes support and you have to ask them first for disfunction and updates, not here.
    FYI, the last update of the theme is 21 August 12. Did you use this update ?
    Same question to @travcentralen

    For the second question about retrieving profile fields automatic links, i don’t know, but please search a bit on this forum. I saw a similar one in the past 3 days….

    papaitirtha
    Member

    Thank you @Hugo, but unfortunately there is no difference. Impact I tried to replace the whole members folder with the default buddypress members folder but still no change. The problem remains.
    If I dnt want the link on the name ( Antonie Blake) and other profile fields then which line I have to delete from the php ? will it be solved then?

    Antonie Blake

    I don´t know whats happening. :(

    #139969

    In reply to: Group members list

    Hugo Ashmore
    Participant

    For profile fields you could either of the following:

    `bp_get_profile_field_data(‘field=location&user_id=’ . bp_get_group_member_id()) `
    Echo it or pass it to a variable
    or:
    `echo xprofile_get_field_data( ‘location’ , bp_get_group_member_id() ) `

    The file that runs the group members is `/groups/single/members.php`

    Edit a copy of that file and place the output where best suits your layout.

    #139964

    In reply to: Group members list

    hkcharlie
    Participant

    I found this https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/profile-fields-in-members-list-on-groups-page/
    but I don’t know where I need to put the code (obviously I need to edit it for the name of my field)

    radiusj
    Participant

    I’m new to buddypress, and I can’t find a tutorial on how to customize the way members are displayed. I want a directory where members can be sorted by an extended profile field, namely a particular skill.

    My members are artists, so visitors to the site should be able to find them by genre i.e. painting. Preferably, I’d like visitors to be able to search by keyword, but also click on links to a predefined list of genres, to show all members in that category.

    Sometimes, artists specialize in more than one genre i.e. painter, sculptor. – so I’m thinking of creating up to 3 fields, all dropdowns containing the same list of genres. Is there anyway to:
    1: search only specific fields in a keyword search?
    2: create links that will generate results for each genre
    3: combine 1 and 2 on the buddypress members page

    Thank You for helping.

    Łukasz Wilk
    Participant

    Hello, let me describe my problem…

    I created custom post type and one of meta fields will be list of buddypress members with chekboxes next ot them. Everything works great when I go to “Add new”, but when using Edit I always get info that no members were found.

    
    <?php
    
    /**
    * Register post type
    */
    
    add_action('init', 'create_project_post_type');
    
    function create_project_post_type()
    {
    register_post_type(
    'project',
    array(
    'labels' => array(
    'name' => __('Projects'),
    'singular_name' => __('Project'),
    'add_new' => __('Add New', 'lw_project'),
    'add_new_item' => __('Add New Project'),
    'edit_item' => __('Edit Project'),
    'new_item' => __('New Project'),
    'all_items' => __('All Projects'),
    'view_item' => __('View Project'),
    'search_items' => __('Search Projects'),
    'not_found' =>  __('No projects found'),
    'not_found_in_trash' => __('No projects found in Trash'),
    'parent_item_colon' => '',
    ),
    'public' => true,
    'has_archive' => true,
    'query_var' => 'project',
    'rewrite' => array(
    'slug' => 'projects',
    'with_front' => false
    ),
    'supports' => array(
    'title',
    'editor'
    ),
    'taxonomies' => array(
    'category'
    )
    )
    );
    }
    
    /**
    * Display the metabox
    */
    function project_details_metabox()
    {
    global $post;
    
    $website = get_post_meta($post->ID, 'website', true);
    if (!preg_match( "/http(s?)<img src="smileys/irritated.gif" width="" height="" alt=":" title=":" class="bbcode_smiley" />///", $website))
    $website = 'http://';
    
    ?>
    
    <label for="website">Website:</label>
    <input id=&quot;website&quot; size=&quot;40&quot; name=&quot;website&quot; value=&quot;" />
    
    <label>Associated contributors:</label>
    
    <?php
    $fullname = fullname(true, null, false);
    
    if($fullname == 'footnote' || $fullname == 'Guest' || $fullname == 'Joe' || $fullname == 'Jon')
    continue;
    ?>
    
    <input type=&quot;checkbox&quot; name=&quot;cont_" value="yes"
    id, "cont_" . bp_get_member_user_id(), true) == "yes") { echo 'checked="checked"'; } ?>/> 
    
    <?php
    }
    
    /**
    * Process the custom metabox fields
    */
    function save_project_details($post_id)
    {
    global $post;
    
    if ($_POST)
    {
    update_post_meta($post->ID, 'website', $_POST);
    
    /*foreach($_POST as $key => $value)
    {
    echo "POST parameter '$key' has '$value';
    }*/
    }
    }
    
    // Add action hooks
    add_action('admin_init', 'add_project_details_metabox');
    add_action('save_post', 'save_project_details');
    
    /**
    * Add meta box
    */
    function add_project_details_metabox()
    {
    add_meta_box('projct-details-metabox', __('Project details'), 'project_details_metabox', 'project', 'normal', 'high');
    }
    
    /**
    * Get and return the values for the project details
    */
    function get_project_details()
    {
    global $post;
    $website = get_post_meta($post->ID, 'website', true);
    
    return array($website);
    }
    
    ?>
    

    Now info about environment:

    1. Which version of WordPress are you running? – 3.2.1
    2. Did you install WordPress as a directory or subdomain install? – subdomain
    3. If a directory install, is it in root or in a subdirectory? – root
    4. Which version of BP are you running? – 1.5
    5. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? – bbPress, BP Profile Search, BuddyPress Edit User Profiles,
    6. Are you using the standard BuddyPress themes or customized themes? – customized
    7. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? – 2.0
    8. Is your server running Windows, or if Linux; Apache, nginx or something else? – Linux

    shanebp
    Moderator

    Within the context of a wp post
    $user_id would be get_the_author_id() ?

    `
    $authorBio = xprofile_get_field_data( ‘Bio’, $user_id );

    echo ‘Author’s bio: ‘. $authorBio;
    `

    Can anyone help me with this? It seems like it would be pretty easy to do… call extended profile field data from BuddyPress for a post author to display next to their author name. Anyone have some tips?

    I have single WP installation running BuddyPress as a plugin. No multisite.

    @mercime
    Participant

    @matthillcomer are you referring to posts by multiple authors in single WP or posts by members in subsites of a Multisite installation?

    Not a repost. First post caused some sort of error and does not display on site.

    The problem: I am trying to display BP profile field data (like a person’s title) along with data like an author’s name on posts they write on the site. I’ve tried everything, spending about six hours now trying to do members loops and trying just about every suggestion I could find here and elsewhere.

    Can anyone help me figure out exactly how to display data from BP profile fields in WordPress posts?

    adminRimma
    Participant

    To clarify my post above, I do not have buddypress showing in the toolbar on the left under settings on the subdomain and when i network activate it, do not see profile fields…

    i have declared the root blog as advised…

    #139536
    David Cavins
    Keymaster

    To display extended profile fields in the members directory, it’s easiest to add a function to your theme’s functions.php file. My theme is based on the bp-default theme, so in my file /wp-content/themes/theme-name/members/members-loop.php, there’s this action at the end of each member’s entry that we can hook into:

    Open up your functions.php file and add something like this:

    function add_member_custom_extended_profile() {
    if ( $xprofile_tele = bp_get_member_profile_data( 'field=Telephone' ) ) {
    echo 'Telephone:' . $xprofile_tele . '
    ';
    }
    }
    add_action('bp_directory_members_item', 'add_member_custom_extended_profile'); 

    You can get the exact field name to use by looking at a member’s profile page and copying the text in the left-most column.

    I originally got this idea from here: http://premium.wpmudev.org/forums/topic/bp-add-profile-field-data-to-members-directory-with-links

Viewing 25 results - 3,351 through 3,375 (of 5,755 total)
Skip to toolbar