Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 4,926 through 4,950 (of 5,698 total)
  • Author
    Search Results
  • #67018
    Boone Gorges
    Keymaster

    Thanks for the plug, Erich :)

    https://wordpress.org/extend/plugins/custom-profile-filters-for-buddypress/ is the plugin you’re thinking of. I updated it about a week ago to work on versions of BP 1.2+ (though you should definitely let me know if it does not work!).

    @Nick – the plugin will do what you want. Check out the readme file, which will explain how to make it work.

    @gregfielding – That’s a good idea, but at the moment BP is not set up in a way that makes it easy to create those check marks with a plugin. Maybe I’ll submit a core patch that does it, as I’d like to see it too.

    #67015
    abcde666
    Participant

    check this out:

    New plugin: Custom Profile Filters for BuddyPress

    http://teleogistic.net/2009/05/custom-profile-filters-for-buddypress/

    Boone for President :-)

    Code

    BTW: please let me know if this Plug-in works fine with BP-version 1.2.1

    #67014
    gregfielding
    Participant

    I’m having that problem too…I’ve got profile fields set up for full contact information…phones, fax, address, etc. And all are clickable and search within buddypress.

    It would be nice to have a simple check box next to the profile field to choose if the field should be searchable.

    #66984
    Nick Watson
    Participant

    Hmm well, I did a search, and that name seems very familiar, but it appears that it’s the same plugin as the one I have installed:

    https://wordpress.org/extend/plugins/custom-profile-filters-for-buddypress/

    my problem is getting them to be NOT links, unless someone uses the tags

    Thanks, I think that was maybe the old name for it??

    #9530
    freebee1989
    Member

    Hi, am trying to follow the following directions as supplied here:

    http://buddypress.org/forums/topic/faq-how-to-code-snippets-and-solutions

    The theme and the profile back end don’t support this right now but there is a mod you can try.

    Change line 11 which reads:

    <?php if ( bp_field_has_data()) : ?>

    To read:

    <?php if ( bp_field_has_data() && bp_field_has_public_data()) : ?>

    In /bp-themes/buddypress-member/profile/profile-loop.php

    Then you will manually have to use phpmyadmin and go into the table bp_xprofile_fields and change all the profile field records that are parent fields and have ‘0’ in the column ‘is_public’ to ‘1’ for the fields you want to show on the profile and ‘0’ for the fields you don’t want to show.

    Parent fields are the ones that have a ‘0’ in the ‘parent_id’ column.

    However, there is no ‘is_public’ field in my latest copy of WordPress + BuddyPress…

    #66970
    joshmac
    Participant

    I think what you are looking for is the Custom CUNY Academic Commons Profile Filters plugin.

    #9527
    Nick Watson
    Participant

    So.. for some reason my profile data has become links.

    Well a while ago I wanted it them to, but now that I have “Custom Profile Filters for BuddyPress” I don’t need them ALL to be links, now my users can choose what they want to be links.

    Anyway, I used to have a plugin, and for some reason I’ve completely forgot what it was called. But what it did was it would convert ALL of my profile field data into a link that searched the members for whatever the data said.

    HOWEVER, now that I’ve removed this old plugin, all the fields are links still (aside from dates).

    An example of what is happening.

    Lets say I have a profile field called “Favorite Colour”

    Some one types in:

    Reddish Brown

    and saves their profile. On their profile they would have a link saying Reddish Brown.

    HOWEVER, with “Custom Profile Filters”. If they type:

    Reddish [Brown]

    only Brown will be a link. Which is how it’s supposed to work.

    MY QUESTION:

    Why are they still links even if I haven’t included the brackets?

    Thank you.

    dayaairody
    Participant

    I had WP 2.0.4 originally. Few days back, I upgraded it to WP 2.9.2. Everything was fine on my local machine.

    Today,I decided to try BuddyPress as it is supposed to work on non-MU wordpress installations too from BP1.2 onwards. So I installed BP1.2.1 from wordpress admin and did automatic plugin install.

    I had WP_DEBUG turned on in wp_config.php. Automatic Plugin install warned me that BuddyPress install is not verified with my version of WP (2.9.2). I had deactivated updates using “disable-wordpress-core-update” plugin as I saw some PHP warnings today. Anyway, automatic install completed and had created wp_bp_xyz tables in the database. However, apache error logs showed below errors:


    [Sat Mar 06 03:01:18 2010] [error] [client 127.0.0.1] WordPress database error Table ‘wp.wp_bp_xprofile_data’ doesn’t exist for query SELECT value FROM … referer: http://localhost/wp/wp-admin/plugins.php

    [Sat Mar 06 03:01:18 2010] [error] [client 127.0.0.1] WordPress database error Table ‘wp.wp_bp_xprofile_fields’ doesn’t exist for query SELECT * FROM …. referer: http://localhost/wp/wp-admin/plugins.php

    [Sat Mar 06 03:01:18 2010] [error] [client 127.0.0.1] WordPress database error Table ‘wp.wp_bp_xprofile_fields’ doesn’t exist for query SELECT id FROM … referer: http://localhost/wp/wp-admin/plugins.php

    [Sat Mar 06 03:01:18 2010] [error] [client 127.0.0.1] WordPress database error Table ‘wp.wp_bp_groups’ doesn’t exist for query SELECT id FROM …referer: http://localhost/wp/wp-admin/plugins.php

    [Sat Mar 06 03:01:18 2010] [error] [client 127.0.0.1] WordPress database error Table ‘wp.wp_bp_groups_members’ doesn’t exist for query SELECT COUNT(DISTINCT m.group_id) FROM … referer: http://localhost/wp/wp-admin/plugins.php

    [Sat Mar 06 03:01:18 2010] [error] [client 127.0.0.1] WordPress database error Table ‘wp.wp_bp_messages_recipients’ doesn’t exist for query SELECT unread_count FROM ….referer: http://localhost/wp/wp-admin/plugins.php

    [Sat Mar 06 03:01:20 2010] [error] [client 127.0.0.1] WordPress database error Table ‘wp.wp_bp_xprofile_groups’ doesn’t exist for query SELECT id FROM …. referer: http://localhost/wp/wp-admin/plugins.php


    all the above tables were actually created. WordPress plugin installation script (plugins.php) seems to have triggered above errors. It is strange that it reported that “installation completed successfully”.

    After activating the plugin, I am seeing below NOTICES :


    Notice: Undefined offset: 0 in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-core\bp-core-catchuri.php on line 72

    Notice: Trying to get property of non-object in C:\web\xampp\htdocs\wp\wp-includes\query.php on line 367

    Notice: Use of undefined constant VHOST – assumed ‘VHOST’ in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-core\bp-core-catchuri.php on line 132

    Notice: Undefined offset: 1 in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-core\bp-core-catchuri.php on line 141

    Notice: Use of undefined constant VHOST – assumed ‘VHOST’ in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-core\bp-core-catchuri.php on line 151

    Notice: Undefined property: stdClass::$loggedin_user in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-forums.php on line 509

    Notice: Trying to get property of non-object in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-forums.php on line 509

    Notice: Undefined property: stdClass::$displayed_user in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-core.php on line 1029

    Notice: Trying to get property of non-object in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-core.php on line 1029

    Notice: Undefined index: user-avatar-default in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-core.php on line 159

    Notice: Undefined property: stdClass::$profile in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-xprofile\bp-xprofile-classes.php on line 796

    Notice: Undefined index: bb-config-location in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-forums.php on line 23

    Notice: Constant BP_XPROFILE_BASE_GROUP_NAME already defined in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-xprofile.php on line 109

    Notice: Constant BP_XPROFILE_FULLNAME_FIELD_NAME already defined in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-xprofile.php on line 110

    Notice: Undefined property: stdClass::$current_group in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-groups.php on line 218

    Notice: Trying to get property of non-object in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-groups.php on line 218

    Notice: Undefined variable: count_indicator in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-messages.php on line 113

    Notice: Undefined index: fileupload_maxk in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-core\bp-core-avatars.php on line 35

    Notice: Undefined index: action in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-core\bp-core-signup.php on line 283


    I could still access WP admin features in the middle of all these NOTICES. However, BuddyPress related links were allover the page. As my theme was not supported by BuddyPress, I decided to activate bp_template_pack. Now, I got essentially a WHITE screen along with following debug information. There was no information about whether activation succeeded or not.:


    Notice: Undefined offset: 0 in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-core\bp-core-catchuri.php on line 72

    Notice: Trying to get property of non-object in C:\web\xampp\htdocs\wp\wp-includes\query.php on line 367

    Notice: Use of undefined constant VHOST – assumed ‘VHOST’ in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-core\bp-core-catchuri.php on line 132

    Notice: Use of undefined constant VHOST – assumed ‘VHOST’ in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-core\bp-core-catchuri.php on line 151

    Notice: Undefined property: stdClass::$loggedin_user in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-forums.php on line 509

    Notice: Trying to get property of non-object in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-forums.php on line 509

    Notice: Undefined property: stdClass::$displayed_user in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-core.php on line 1029

    Notice: Trying to get property of non-object in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-core.php on line 1029

    Notice: Undefined index: user-avatar-default in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-core.php on line 159

    Notice: Undefined property: stdClass::$profile in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-xprofile\bp-xprofile-classes.php on line 796

    Notice: Undefined index: bb-config-location in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-forums.php on line 23

    Notice: Constant BP_XPROFILE_BASE_GROUP_NAME already defined in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-xprofile.php on line 109

    Notice: Constant BP_XPROFILE_FULLNAME_FIELD_NAME already defined in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-xprofile.php on line 110

    Notice: Undefined property: stdClass::$current_group in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-groups.php on line 218

    Notice: Trying to get property of non-object in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-groups.php on line 218

    Notice: Undefined variable: count_indicator in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-messages.php on line 113

    Notice: Undefined index: fileupload_maxk in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-core\bp-core-avatars.php on line 35

    Notice: Undefined index: page in C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-xprofile\bp-xprofile-cssjs.php on line 9

    Warning: Cannot modify header information – headers already sent by (output started at C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-core\bp-core-catchuri.php:72) in C:\web\xampp\htdocs\wp\wp-includes\pluggable.php on line 868

    Warning: Cannot modify header information – headers already sent by (output started at C:\web\xampp\htdocs\wp\wp-content\plugins\buddypress\bp-core\bp-core-catchuri.php:72) in C:\web\xampp\htdocs\wp\wp-includes\pluggable.php on line 868


    However, I could still access WP Admin pages and my theme retained its previous look and feel. Of course, this meant BuddyPress was not visible on my blog. I guess I have to add those links manually myself. I will look at the codex.buddypress and the default BuddyPress themes for further info.

    What is bothering me is, all those PHP NOTICES. Disabling the DEBUG, makes them go away. My blog looks the same as before; My WP admin pages also look the same except for BuddyPress being enabled. I would like to take care of these Warnings.

    Can somebody clarify what is going wrong here ? Are these something I should worry about ?

    Sofian J. Anom
    Participant

    I just found the same thing, and I change it manually through the database, the _bp_xprofile_fields table.

    tagnu
    Member

    Hi,

    I am trying to install BuddyPress 1.2.1 on my WordPress 2.9.2 installation.

    WP was working fine until I activated BuddyPress.

    I get a blank page right after BuddyPress activation.

    My errors log shows the following:

    
    
    WordPress database error Table 'db_name.wp_bp_groups_members' doesn't exist for query SELECT..
    WordPress database error Table 'db_name.wp_bp_notifications' doesn't exist for query SELECT ..
    WordPress database error Table 'db_name.wp_bp_xprofile_data' doesn't exist for query SELECT ...
    WordPress database error Table 'db_name.wp_bp_xprofile_fields' doesn't exist for query SELECT ...
    WordPress database error Table 'db_name.wp_bp_xprofile_fields' doesn't exist for query SELECT ...
    WordPress database error Table 'db_name.wp_bp_groups' doesn't exist for query SELECT id ...
    WordPress database error Table 'db_name.wp_bp_groups_members' doesn't exist for query .
    WordPress database error Table 'db_name.wp_bp_messages_recipients' doesn't exist for query ...
    WordPress database error Table 'db_name.wp_bp_notifications' doesn't exist for query SELECT ...

    I believe the activation process is unable to create the tables.

    Is there any solutions/workarounds?

    I was able to install WP 2.9.2 and BP 1.2.1 successfully on my local machine.

    Thank you.

    lostdeviant
    Participant

    I added new profile options to my blog #1 using the new user contact method filter. How can I get that data picked up and synced to the buddy press member profile and profile fields?

    #66708
    Peter Anselmo
    Participant

    The only way I know to do this, is to log in as an administrator, and then visit the member’s profile edit url (/members/username/profile/edit). You can then edit the fields.

    Admittedly, this is clunky. I was toying with the idea of writing a plugin to make this easier, but I’ve also heard talk that this may be addresed in 1.3. Someone else might know more.

    Roger Coathup
    Participant

    @gyonis – the post has only been up 21 hours, and also is quite intimidating to read through (it may have been better to ask each question individually!)

    Any some pointers:

    Q1. You’ll need to write some PHP code, and also understand the BuddyPress hook function concepts.

    There are already some posts on modifying the admin bar, e.g. https://codex.buddypress.org/how-to-guides/modifying-the-buddypress-admin-bar/

    If your list of blogs is fixed, it should be straightforward. If you want it to dynamically add newly created blogs to the dropdown list, I suggest taking a look at the code in /plugins/buddypress/themes/bp-default/blogs/index.php as a starting point

    Q2. I suggest setting up a blog in your install for the NGO Directory, with new users added as contributors… they would then be able to create posts in that blog, but it would need your admin approval before the post goes live.

    You could then use categories for each country, and tags to say what type of NGO they are (or simply have another set of orthogonal categories for type). For a simple ‘code free’ solution, you would then just put a sidebar widget in that provides a menu of all the categories and / or tags.

    [A more powerful solution (extra features for the NGO), would be to give them an entire blog, instead of a single post for their organisation… although tagging and categorising blogs is / was a nightmare (Burt Adsit did some work on this, but I think it is out of date now).]

    [Perhaps the best solution would be to add NGO’s as a different type of member in BuddyPress. i.e. users can register as themselves or as their NGO… Create a BuddyPress group to hold the NGO members, and have country, etc. as searchable fields in the profile. We gave up on a similar 2 types of member project, but there the challenges were considerable, yours may well work with this approach.]

    Q3.1.1 You can add additional fields using the ‘custom field’ area of the edit post form. This isn’t particularly user friendly though, so you might want to look instead at something like the flutter plugin, which lets you define separate fields.

    Q3.2 Posting from the front end is the ‘Holy Grail’ ! Check out P2 Blog… a theme that was developed by WordPress / Automattic, but seems to have gone very quiet. My wild speculation: @Andy (the developer of BuddyPress) wrote a blog post about P2… I wonder if that means we can look forward to the P2 blog front end features making an appearance in BuddyPress soon. Any comment @Andy?

    To do what you want, you’ll definitely need some development skills (PHP), a decent working knowledge of WordPress code, and an idea where to start investigating the BuddyPress code (I doubt if anyone apart from Andy has a good working knowledge of it).

    modemlooper
    Moderator

    When you put a url into the profile fields it auto links it.

    beanfair
    Participant

    I have been searching but I can’t believe that this question hasn’t be addressed before. I guess I am not using the proper terms.

    I am trying to figure out the best way to add fields to the profile that would display Twitter and Facebook LINKS without making the user type in html tags. I would think that there is a plugin or something for this but I can’t find one.

    Any advice is welcomed

    #66518
    rich! @ etiviti
    Participant

    google search for sql ISO 3166 country tables – as many sites provide a basic list

    #66509
    arnonel
    Participant

    @DJPaul

    Could you tell me where to do it in the DB?

    #9432
    Warwick Booth
    Participant

    Many of the sites I build ask for an “Identity Number” as one of the profile fields to enter on registration. Now when viewing the Profile, they dont want this kind of sensitive information to show.

    Request: Having a profile field you can set so it doesnt display when viewing a profile, but will appear if you want to edit it.

    Also: Somtimes there are profile fields that only the Admin user should edit, say “Certifications” on a job listing site.

    Request: Having an option for a profile field that only lets an admin edit it.

    Lastly: Almost all of my sites want the ability to add more fields on the fly. eg I have a set of fields that a user can enter one set of “Work Experience” information. This only handles one set.

    Request: Having an “Add More” button that will be able to add a new set of fields, or a group of fields.

    #66488
    Paul Wong-Gibbs
    Keymaster

    You need to add them in manually, either via the page or directly in the DB. I suppose this could be achieved with a plugin, or in a future BP version.

    I’m moving this post to the Ideas forum.

    #66486
    draganbabic
    Member

    I’d definitely like to see a solution to this as well.

    #9429
    arnonel
    Participant

    Any suggestions on having a dropdown select box pre-populated with a list of countries/ Manually adding over 100 countries could be a pain…

    Cities is a nice to have, but countries is super important

    #66480
    draganbabic
    Member

    Thanks for the help r-a-y, I found this solution:

    [IN BP_CUSTOM.PHP]:

    function custom_xprofile( $field ) {

    echo bp_custom_get_member_list_xprofile_data( $field );

    }

    function bp_custom_get_member_list_xprofile_data( $field ) {

    global $site_members_template;

    return xprofile_get_field_data( $field, $site_members_template->member->id );

    }

    [IN CHILD THEME FILE]:

    <?php custom_xprofile('Header Image') ?>

    #66437
    draganbabic
    Member

    Hi guys,

    thanks for the ideas. So far I got this running:

    <?php if ( bp_has_profile('profile_group_id=2') ) : ?>

    <?php while ( bp_profile_groups() ) : bp_the_profile_group(); ?>

    <?php if ( bp_profile_group_has_fields() ) : ?>

    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>

    <?php if ( bp_field_has_data() ) : ?>

    style="<?php bp_the_profile_field_value() ?>"

    <?php endif; ?>

    <?php endwhile; ?>

    <?php endif; ?>

    <?php endwhile; ?>

    <?php else: ?>

    <?php endif;?>

    And this indeed outputs the desired value, but it is also wrapped in a paragraph and autolinked. Please do note that I have no idea what I am doing here, weather it is valid, good or anything else, this just got the job done, so it’s a starting point.

    I have searched the forum and found this code that is supposed to remove the autolinking:

    <?php

    function remove_links(){

    remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 2 );

    }

    add_action( 'plugins_loaded', 'remove_links' );

    ?>

    However it doesn’t do that once placed in bp-custom.php

    Any pointers?

    #66422
    r-a-y
    Keymaster

    You can use an xprofile field, I see no harm in it.

    Of course, there are other ways.

    I believe, by default, all xprofile fields under “Base” are required.

    If you don’t want it required, create a new xprofile group to house this new field.

    To check the xprofile value of this new field, you’ll have to do a little manipulation in PHP with it. You could use substr() to check for file extensions.

    #9411
    draganbabic
    Member

    Hi guys, me again.

    I want to give my users some personalization options for their profiles, so this is what I was thinking:

    Upon registration there would be a non-required field where people can input a URL for an image, now what I’d like to do is use the value of that field within a style=”” attribute of an element, so I could attach it as a background image.

    My questions would be:

    * Is using profile fields the right way to do it?

    * Can a non-required field (or rather field group) be hidden from the register screen? They are not required after all, so my guess is that this can be accomplished via CSS alone.

    * Is there a way to check the value of the field? I’d like to allow only .jpg, .gif and .png files.

    I guess the last two are considered “extravagant” so I’d settle for a bare-bones solution (i.e. just enabling the option).

Viewing 25 results - 4,926 through 4,950 (of 5,698 total)
Skip to toolbar