Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 4,301 through 4,325 (of 5,755 total)
  • Author
    Search Results
  • #108922
    Boone Gorges
    Keymaster

    Probably the most efficient way is to do something like this (not beautiful to put in a template file, but functional and lean):

    `

    Occupation:

    `

    Bowe
    Participant

    Hi guys,

    I’m using the following snippet to display certain xprofile fields in my member-header.php:

    `

    Occupation:

    `

    This works fine, but it also shows when the profile field is empty. So I would like to hide them when empty, but I can’t figure out how to do this. I’m pretty sure @DJPaul made a snippet once, but I could not find it again. I imagine it must have been something like:

    if xprofile field “Country” has data
    Country: United States
    else
    *blank*

    Ofcourse this needs to be proper php (which I can’t write :D). If someone has this working, or could help me figure this out, it would be pretty awesome!

    philsquires
    Member

    How do I temporarily REMOVE the BP navbar on the edit profile page?

    The reason is I wish for NEW members to complete their profile before progressing through the site

    To that end I have been looking at bp-xprofile.php to find where the code appears

    The challenge of course is if I edit this then the change will be reflected globally… (in all profile pages permanently)

    What I need is a separate reference to the NAVBAR – hiding it until the profile is complete

    I am a newbie to css and coding but appreciate the page is dynamically created hence my challenge finding a solution

    Additionally I would like to add a video to this page educating and encouraging user how to go about completing the profile

    Any help would be awesome ;-)

    theshooter
    Member

    The issue was a memory issue setting in .htaccess on my server since I do not have access to php.ini

    Found answer here, so thanks to all who offered their expertise!!

    — Jim


    ORIGINAL POST


    Hi all,
    Installed WP 3.1 – works fine
    Installed BP 1.2.8 – I see it, ready to activate it
    –> Activate [CLICK] – nothing… blank screen

    I looked in my log and it appears that some tables are not there.
    I look at my database and sure enough, the only tables are the wp_ tables after installing WP
    Soon as I delete the buddypress directory from my server, everything comes back to normal.

    QUESTION: When in the installation process (or activation process) do the wp_bp_* tables get created?

    My specific log errors are listed below;
    [25-Mar-2011 04:24:39] WordPress database error Table ‘370118_HSPOT_wp_2011.wp_bp_xprofile_data’ doesn’t exist for query SELECT value FROM wp_bp_xprofile_data WHERE field_id = 1 AND user_id = 1 made by require_once, require_once, require_once, require_once, do_action, call_user_func_array, bp_loaded, do_action, call_user_func_array, bp_setup_globals, do_action, call_user_func_array, bp_core_setup_globals, bp_core_get_user_displayname, xprofile_get_field_data, BP_XProfile_ProfileData->get_value_byid
    [25-Mar-2011 04:24:39] WordPress database error Table ‘370118_HSPOT_wp_2011.wp_bp_xprofile_fields’ doesn’t exist for query SELECT * FROM wp_bp_xprofile_fields WHERE id = 1 made by require_once, require_once, require_once, require_once, do_action, call_user_func_array, bp_loaded, do_action, call_user_func_array, bp_setup_globals, do_action, call_user_func_array, bp_core_setup_globals, bp_core_get_user_displayname, xprofile_set_field_data, BP_XProfile_Field->bp_xprofile_field, BP_XProfile_Field->populate
    [25-Mar-2011 04:24:39] WordPress database error Table ‘370118_HSPOT_wp_2011.wp_bp_xprofile_fields’ doesn’t exist for query SELECT id FROM wp_bp_xprofile_fields WHERE id = 1 made by require_once, require_once, require_once, require_once, do_action, call_user_func_array, bp_loaded, do_action, call_user_func_array, bp_setup_globals, do_action, call_user_func_array, bp_core_setup_globals, bp_core_get_user_displayname, xprofile_set_field_data, BP_XProfile_ProfileData->save, BP_XProfile_ProfileData->is_valid_field
    [25-Mar-2011 04:24:39] WordPress database error Table ‘370118_HSPOT_wp_2011.wp_bp_groups_members’ doesn’t exist for query SELECT COUNT(DISTINCT m.group_id) FROM wp_bp_groups_members m, wp_bp_groups g WHERE m.group_id = g.id AND m.user_id = 1 AND m.is_confirmed = 1 AND m.is_banned = 0 made by require_once, require_once, require_once, require_once, do_action, call_user_func_array, bp_loaded, do_action, call_user_func_array, bp_setup_nav, do_action, call_user_func_array, groups_setup_nav, groups_total_groups_for_user, BP_Groups_Member->total_group_count
    [25-Mar-2011 04:24:39] WordPress database error Table ‘370118_HSPOT_wp_2011.wp_bp_messages_recipients’ doesn’t exist for query SELECT unread_count FROM wp_bp_messages_recipients WHERE user_id = 1 AND is_deleted = 0 AND sender_only = 0 made by require_once, require_once, require_once, require_once, do_action, call_user_func_array, bp_loaded, do_action, call_user_func_array, bp_setup_nav, do_action, call_user_func_array, messages_setup_nav, messages_get_unread_count, BP_Messages_Thread->get_inbox_count

    Thanks to any and all that can guide me along to getting these tables created/working.

    — Jim

    #108558
    ultimateuser
    Participant

    @r-a-y – Ok but they are basically the non-required fields members leave blank when registering.

    I’d like to apply the second patch as well but then I come back to my initial question:

    “I do not have the file bp-xprofile-template.php on my server. Although I do have bp-xprofile-templatetags.php?”

    Can you also include a link to the entire amended file I need to use?

    philsquires
    Member

    Hello

    I would like to limit new/all members view of the membership site until they have completed the fields in the profile page.

    Is there a plugin or some coding that someone can recommend please…any help on this would be greatly appreciated…

    Phil

    #108182
    Youraj Pawar
    Participant

    I strongly feel using this documentation you can achieve what you want.
    https://codex.buddypress.org/developer-docs/group-extension-api/

    And this should help you with manipulating navigation items in group , renaming them or removing them. (At midway of page)
    http://themekraft.com/2011/02/customize-profile-and-group-menus-in-buddypress/

    And this for custom fields (Not sure how much this will help for groups)
    http://wparena.com/how-to/the-power-of-wordpress-custom-fields/

    bye

    charlcfc
    Member

    Hi All

    A client requested the following, but not 100% sure if the objective can be achieved. Perhaps there are plugins that can do the following….

    Users can apply for a position and then within their activity stream it stipulates which jobs they applied for.
    The client wants a search box with a dropdown of jobs and user fields such as name, surname etc etc.

    Have come across the following plugins:
    http://buddypress.org/community/groups/multisite-global-search/activity/
    http://buddypress.org/2009/04/google-custom-search-for-buddypress-wpmu/
    members filter search ~ bp-profile-search.2.5.zip

    Know it is possible to search for specific user profile fields and return a list of users, however is it possible to have a dropdown of certain activities and then do a custom search on users using custom fields on that particular activiy to return the search values ?

    hope that someone can point me into the right direction, or have some advice on how to achieve the objective. Not to sure if this is possible within buddypress.

    Regards,
    Charl

    #20734
    charlcfc
    Member

    Hi All

    A client requested the following, but not 100% sure if the objective can be achieved. Perhaps there are plugins that can do the following….

    Users can apply for a position and then within their activity stream it stipulates which jobs they applied for.
    The client wants a search box with a dropdown of jobs and user fields such as name, surname etc etc.

    Have come across the following plugins:
    http://buddypress.org/community/groups/multisite-global-search/activity/
    http://buddypress.org/2009/04/google-custom-search-for-buddypress-wpmu/
    members filter search ~ bp-profile-search.2.5.zip

    Know it is possible to search for specific user profile fields and return a list of users, however is it possible to have a dropdown of certain activities and then do a custom search on users using custom fields on that particular activiy to return the search values ?

    hope that someone can point me into the right direction, or have some advice on how to achieve the objective. Not to sure if this is possible within buddypress.

    Regards,
    Charl

    #107969
    noizeburger
    Participant

    Have you tested the solution I’ve mentioned? Just for your interest: I set up a naked wp 3.1. (single) with buddypress 1.2.8, BuddyPress xProfiles ACL, Capability Manager and WP Roles at Registration – works like a charm and requires no coding by hand.

    #13022
    sdpkelkar
    Member

    Edit: Just realized my post is possibly in the wrong group. Apologies!


    Hi all.
    As a newbie who is comparing Buddypress and Drupal Commons, I would really appreciate your advice on which platform is more appropriate for an academic project I’m working on. The project involves three kinds of users:
    1. Users who can post projects (Posters)
    2. Users who can apply as them (Bidders)
    3. Users who can sponsor these projects (Sponsors)

    All these user types will have different pages, access rights,/ permissions, navigation menus, profile fields etc.
    Which is a better platform for such a project- BuddyPress or Drupal? If there’s any additional information you’d like please let me know and I’ll immediately post it.

    Thanks!!

    #107849
    noizeburger
    Participant

    PS: I often think about switching to single installation of wp, your combination of plugins would be the only one working, as described by the author of the stuff in my links. So I don’t have to think about switching again.

    #107848
    noizeburger
    Participant

    Maybe you should try this solution: works for wp3.1 multisite, also there are hints when working with single-site. I have it working on my multisite (but with the old code example).
    The first link shows you how to make a selection for roles at signup: http://cleverness.org/2011/01/27/updated-buddypress-user-roles-code/
    The second link is for the setup of which profilegroups (fieldgroups) are shown on certain roles: http://cleverness.org/2010/10/13/user-types-in-buddypress-assign-xprofile-groups/

    Give it a try, it works for me.

    #107833
    Virtuali
    Participant

    bp_get_the_profile_field_input_name() just gets you what they have imputed in the name. As easily read by the statement.

    Why are you trying to input in the file? Just go to your admin section of buddypress, and add “Country” as a new text box for the form.

    Unless your trying to put it in core fields?

    P.S, for future, check this out: Rich has a Great Directory for other Action Hooks, just like above: http://etivite.com/groups/buddypress/hooks/search/component/?c=bp-core

    rockykurien
    Member

    Hi,

    I have used WP roles at registration to let users choose from amongst 3 differernt roles when they register.
    Could someone help me with how to restrict extended profile groups based on these roles?

    ie Role 1 should see only xProfile Groups base and group1
    Role 2 should see only xProfile Groups base and group2 etc

    I saw the plugin Buddypress profiles Manager
    However it shows the other groups as tabs in edit profile.

    #20608
    Archie Webmaker
    Participant

    I have been searching inside xprofile files for the function that create the default Name (core) field.

    Can anyone help create a function

    #20606
    ultimateuser
    Participant

    The problem I have is that not all fields are required when registering. If some members decide not to complete certain field I will get double grey fields or double white fields on the members page – which looks distorted.

    How could you correct this? OR How can I remove the Zebra styling completely?

    just2izy
    Member

    I am also having a similar error and Yes @djpaul it is the same Lines. I am also using custom fields but I have 3 groups, the group having the problem has only checkboxes and is a required field.

    `
    Warning: trim() expects parameter 1 to be string, array given in C:xampphtdocsashantibar.orgwp-contentpluginsbuddypressbp-xprofile.php on line 717

    Warning: Cannot modify header information – headers already sent by (output started at C:xampphtdocsashantibar.orgwp-contentpluginsbuddypressbp-xprofile.php:717) in C:xampphtdocsashantibar.orgwp-includespluggable.php on line 897
    `

    Hugo Ashmore
    Participant

    BuddyPress users are essentially WP users there’s no separation and in this and other respects BP is a plugin running under WP and thus using aspects of WP such as users/signups

    Buddypress has extended profiles that can be set in the dashboard under the BP menu there you can add new fields to the base group (base group fields are displayed on the initial signup page) or create new filed groups for anything you like and those will be displayed on the users profile screens and accessed under ‘edit profile’ by the user to complete.

    As an admin you are very limited as to what you can set on a users profile, basically being restricted to the capabilities under the WP dashboard ‘users’ and ‘add users’

    #107382
    Paul Wong-Gibbs
    Keymaster

    By default, all profile fields which you’ve put into the first (default) profile field group will appear on the registration template.

    #20518
    gregfielding
    Participant

    I’ve got extra required profile fields on my group creation page. I don’t want them. I can’t figure out where they came from. And, I can’t figure out how to get rid of them.

    Do any of you have any clue where these could have come from?

    http://housingstorm.com/files/2011/03/groupcreate.png

    I’m 99% sure it’s not a plugin because I’ve deactivated all the group plugins and anything remotely related to profile fields. I’m 99% sure it’s not a hack, because there isn’t anything about it in my functions.php, or bp-custom.php.

    I tried taking the second-half of this line out of group/create.php: … do_action( ‘bp_after_group_details_creation_step’ ); /* Deprecated -> */ do_action( ‘groups_custom_group_fields_editable’ );

    It works in that the fields are gone, but you can’t go to the next screen because several of those fields are required.

    Googling for the answer, there are a lot of discussions where people are trying to figure out HOW to add extra group profile fields, but none of the solutions I found are applicable.

    I feel really stupid here.

    maesutsuro
    Member

    Did you proceed with it? I need the same thing but i’m unfortunately not good at coding

    #20510
    maesutsuro
    Member

    Hi there!

    I’m planning to use Buddypress for a social network connecting people of several subcultures. I like how everything matches my needs perfectly, there is only one caveat:

    My users and everyone who thinks about registering are constantly asking me for a way to customise their profile pages. Like on MySpace. It’s not the technically most sophisticated request in the world and i’ve stumbled over several people already asking for it
    http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/css-for-member-page
    http://premium.wpmudev.org/forums/topic/custom-profile-theme-for-buddypresseducleanwpmu
    http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/xprofile-custom-fields-profile-user-css-customization/ just to name a few.

    What i need is a plugin that queries a database for several CSS values on a per-user basis and fills them into the CSS code of that user’s profile: background image, font colour, link colour ..that sort of thing. An an editor a normal human can use. Members attach themselves far more to a website that gives them at least a littlebit of control about their appearance. I don’t care too much about the number of sql queries, cache load or all that. No use in a fast site nobody uses. I want to be able to offer my members a place they call home, even if it only took a few clicks to make it. Amazing, but it works, as many people still cling onto MS for exactly that reason.

    I know people will say users will go overboard with it and create a MySpace nightmare and some easy themes will suffice, but that is not the case and what i need.

    The problem is, i cannot code. I’m not rich either, but since this sort of plugin is apparently in demand maybe someone will find interest in it and i’m willing to spend at least $50 on a working solution to help the cause.
    And i’m serious about it. Please make this happen

    #107015
    Virtuali
    Participant

    Just creating new profile page category from my understanding??? Just to go your buddypress admin page under profile setup and create new fields there, no need to hook anything.

    P.S, why on your activity page is the header content below the avatar? Go into your theme’s CSS file and remove

    `div#item-header div#item-header-content {
    float:left;
    }`

    To clear things up, it should look a-lot nicer.

    #106883
    Hugo Ashmore
    Participant

    It’s a syntax error so you need to examine the line it’s referring to and check and correct the syntax php met an unexpected double quote mark and seems to be suggesting there ought to have been an ) closing parentheses. this is an extremely old post you have dragged up and I would expect this plugin/code to necessarily work given the version updates to BP since this was written.

    btw editing core files in this manner is not advised really, if it’s a filter it ought to be written to a functions.php file living in a child theme

Viewing 25 results - 4,301 through 4,325 (of 5,755 total)
Skip to toolbar