Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 4,501 through 4,525 (of 5,701 total)
  • Author
    Search Results
  • #93428
    Colton
    Participant

    So I’ve created the profile fields. How do I go about creating a directory template with a custom members loop that checks for the blog fields and displays them?

    #93415
    Roger Coathup
    Participant

    1 solution: Add profile fields for them to enter their blog details, create your directory template with a custom members loop that checks for the blog fields and displays them. This may be inefficient for a sparse databse with lots of members

    #93282
    Roger Coathup
    Participant

    p.s. your profile pages exist, so it’s just the menu / nav bar that’s missing: e.g. http://lumosnorge.no/members/kristin/profile

    Once you’ve fixed that problem – your site looks good – you should add your site to the gallery group on here

    #93281
    Roger Coathup
    Participant

    @lumosnorge

    Hej Christine – the code is in the default theme, in the file: bp-default/members/single/home.php

    Did you create a child theme, or edit your changes directly over the default theme?

    Note: you shouldn’t edit the default theme directly – as you will run into problems when you upgrade BuddyPress.

    Have a search in Docs on here for details of creating a child theme.

    Anyway, the section of code (from the default theme) that creates the nav bar is:
    `

    `

    It goes between the item-header and item-body blocks.

    You need Harry and Hermione helping you write the code!

    #93271

    Oh, that explains the trouble. Any idea where I can get that code? I’m just a beginner at this and don’t know much about coding yet, but I’m eager to learn.

    #93243
    Roger Coathup
    Participant

    @lumosnorge

    You have a section of code missing from your theme.

    You should have another layer of primary navigation (item-nav). You are only seeing the sub navigation for the activity tab.

    #93238

    I had the same problem, but as Roger Coathup explained that the profile view was supposed to show in a separate tab I realized something was wrong with our site. We are using the default theme, and I can’t seem to figure out what we might have been doing wrong to prevent the profile tab from showing up. I have included a link to a screenshot of the problem:
    http://lumosnorge.no/wp-content/uploads/2010/09/screenshot-buddypress.png

    Hope someone will be able to help me, as I would vert much like to have the profiles show up on our site.

    Thank you in advance.

    #93185
    Hugo Ashmore
    Keymaster

    It’s just spammers isn’t it! When bots sign up, they have to or think they have to fill any form fields they find so they simply place random characters. Are these actual users or spammers?

    #93175
    imjscn
    Participant

    @mercime, I am with WP 3.01 BP1.252
    there are 2 fields, Primary Language(text box) shows something like “O4hDNZAiV” or “7rj462jpc”, and About me(text Area) shows something like “s2MtUZWWDRJYlj” or “jJxbfMDAPTIJK4r”
    This only happens on newly registered members. For old members, even input new information in profile the first time, it still works normal.

    #93165
    @mercime
    Keymaster

    @imjscn what BP/WP versions are you using? What are the labels/fields for the 2 profile fields which are exhibiting meaningless letters?

    Robert J.
    Participant

    It turns out that it was running 32M or memory, so I created a .htaccess that increased that to 64M

    Now the WP works, but the database is generating errors that the table it is looking for doesnt exist.

    Here is the error from the log. Note, I am hosting this in Rackspace Cloud (CloudSites):

    [22-Sep-2010 09:15:23] WordPress database error Table ***********.wp_bp_xprofile_groups’ doesn’t exist for query SELECT id FROM wp_bp_xprofile_groups WHERE id = 1 made by require_once, require, do_action, call_user_func_array, xprofile_add_admin_menu, xprofile_install
    [22-Sep-2010 09:15:23] WordPress database error Table ***********.wp_bp_xprofile_fields’ doesn’t exist for query SELECT id FROM wp_bp_xprofile_fields WHERE id = 1 made by require_once, require, do_action, call_user_func_array, xprofile_add_admin_menu, xprofile_install

    Note, I replaced my DB name with ***********

    #15274
    Nick
    Participant

    I’d like to add fields to the activity stream. I’m a relatively new coder so any help would be appreciated.

    I have studied this post and copied it to a tee but can’t seem to get it to work properly.

    http://buddypress.org/community/groups/creating-extending/forum/topic/adding-a-second-element-for-posting-with-an-activity/?topic_page=1&num=15

    What I am looking to do is to have 6 fields to every activity post: Post Title; Description; Make; Price; Model; and Location.

    I have added the fields to the form in the post-form.php as so.

    `


    @

     
    <input type="submit" name="aw-whats-new-submit" id="aw-whats-new-submit" value="” />

    `

    It looks great. Next I added this to my functions.

    `/**
    * This captures additional info at update.
    */
    function add_equipmentmeta_to_activity( $content, $user_id, $activity_id ) {
    bp_activity_update_meta( $activity_id, ‘equip’, ($_POST) );
    }

    add_action( ‘bp_activity_posted_update’, ‘add_equipmentmeta_to_activity’, 10, 3 );

    function my_equipmentmeta() {
    $my_equipmentmeta = bp_activity_get_meta( bp_get_activity_id(), ‘equip’ );
    //if (is_user_logged_in()) : {
    echo ‘(‘ . $my_equipmentmeta . ‘)‘;
    //}
    //endif;
    }
    add_action( ‘bp_activity_entry_meta’, ‘my_equipmentmeta’ );`

    Which was based on the previous post I mentioned above. I have been testing the ‘add_post_model’ to see if I could get just one to work.

    Lastly I changed the global.js like this.

    `/* Default POST values */
    var object = ”;
    var item_id = jq(“#whats-new-post-in”).val();
    var content = jq(“textarea#whats-new”).val();
    var title = jq(“input#add_post_title”).val();
    var make = jq(“input#add_post_make”).val();
    var model = jq(“input#add_post_model”).val();
    var price = jq(“input#add_post_price”).val();
    var location = jq(“input#add_post_location”).val();

    /* Set object for non-profile posts */
    if ( item_id > 0 ) {
    object = jq(“#whats-new-post-object”).val();
    }

    jq.post( ajaxurl, {
    action: ‘post_update’,
    ‘cookie’: encodeURIComponent(document.cookie),
    ‘_wpnonce_post_update’: jq(“input#_wpnonce_post_update”).val(),
    ‘content’: content,
    ‘title’: title,
    ‘make’: make,
    ‘model’: model,
    ‘price’: price,
    ‘location’: location,
    ‘object’: object,
    ‘item_id’: item_id
    },
    `

    I do not get any errors but I cannot get any data to show up. The holder for the meta tags shows up but it doesn’t contain any data. I’m not entirely sure where I am going wrong. Is this the best solution for my problem or is there something else I am missing?

    Thanks ahead of time for any help…

    #92887
    modemlooper
    Moderator

    You could add a file called front.php – members/single/front.php and then create a new front page from the existing code.

    #92885
    Kieran
    Participant

    Brilliant, thanks a lot Roger!

    #92873
    Roger Coathup
    Participant

    Are you using the default theme?

    The default theme shows the profile on a separate tab when you visit the member’s page. If you want to move the view profile content onto the activity tab you can look at copying the content from members/single/profile.php into members/single/activity.php (do this in a child theme of course).

    If you want something more sophisticated, take a look at the custom loop examples under Support …. Docs on this site

    #15220
    Kieran
    Participant

    Hi there, I wonder if anyone knows how I can edit each members page to show their profile as well as theiir activity stream? I did this using the old theme structure but for the life of me can’t figure how to do it now.

    Thanks a lot for any help!!

    #92512
    soysaucesam
    Member

    @Modemlooper- Thanks for the reply.
    Do you know if that works for editing the fields, or just for displaying them? I tried uncommenting that using one of my field names, and it crashed my page. I will continue to play around with it.

    #92483
    modemlooper
    Moderator

    in member-header.php theres a comment that says this.

    If you’d like to show specific profile fields here use:
    bp_profile_field_data( ‘field=About Me’ ); — Pass the name of the field

    #15108
    soysaucesam
    Member

    Hello,

    I am working on my BP child theme and I would like to modify the profile edit.php file. My project requires more extensive formatting of the profile edit page, so rather than using the profile loop, I was hoping to call profile fields individually, along with additional markup (More titles, divs, etc)

    Clearly I am a php novice- Could someone give me a hint on how I would call an individual field for the profile edit page?

    Also, any opinions on whether or not this is the best way to get to my goal of having more formatting on the profile edit screen? Any other ideas?

    imjscn
    Participant

    I want to do this on the header of profile page—
    if user ID is 1 or 2, display
    ABC

    instead of
    “last update’, “mention this user”….

    if user is anybody else, display item-meta as normal.

    How to do this?

    in members-header.php, can comment out a line to display some fields, but that changes for all. I want to change for only several member’s profile page.

    #91995
    Member

    To create a directory of services for a specific community.

    The registered WP/BP users would be service providers which should be able to register and fill in some special fields (i.e. name, description, services they provide, locations where they work); the end users would be their consumers, which should be able to list those providers i.e. by service and location.

    All the categorization stuff can be accomplished through taxonomies, it’s kinda easy and I can use multiple filtering criteria, even mix taxonomies with search keywords. It would work great if service providers where a custom post type, but since I need every one of them to log in and update their own data, I think user profiles are the best choice… except that none of this stuff applies to profiles.

    Extending profiles with extra fields isn’t the problem, I don’t even need BuddyPress for that. But taxonomizing them… I can’t work it out :S

    #91946

    In reply to: What is xprofile?

    Hugo Ashmore
    Keymaster

    #1 look at the /members/single/member-header.php file in there you will see a commented out line of code that will enable display of extra profile fields, if you have created them – exact positioning of that data is down to where you decide to output it in the theme.

    #2 undoubtedly yes, but it’s a slightly big subject to give a simple explanation of. In a nutshell: given that we can check the displayed member id then in theory you could use that to run a conditional to render different markup depending on the member profile being viewed.

    #3 ? not sure what you mean by this.

    #91942

    In reply to: What is xprofile?

    Paul Wong-Gibbs
    Keymaster

    xprofile is the internal name, if you like, of the bit of code that provides the Extended Profile Fields component.

    #91939

    In reply to: What is xprofile?

    Hugo Ashmore
    Keymaster

    What exactly do you want to customise? You can add new profile fields from the BP dashboard options

    #14929
    ashief
    Participant

    i just want to check how many fields user filled or how many left blank ….for making profile completeness bar..can anyone help me out for getting count of field values from buddypress extra fields..
    thanks in advance ..

Viewing 25 results - 4,501 through 4,525 (of 5,701 total)
Skip to toolbar