Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 2,001 through 2,025 (of 3,604 total)
  • Author
    Search Results
  • #138646
    Paul Wong-Gibbs
    Keymaster

    It’ll be a profile field set up in wp-admin. Look for “Profile Fields” under the “Users” menu, and delete it.

    9087877
    Inactive

    @jloc14 Install and activate @modemlooper ‘s BuddyPress Extended Settings plugin from here https://buddypress.org/community/groups/buddypress-extended-settings/
    In the dashboard go to BuddyPress/Extended Settings put a check beside “Profile Field Links Disable auto linking of user profile fields” and at the bottom click “Save Changes.” This will remove the auto linking of those profile fields. Alternatively you can create a file named bp-custom.php and place it in the plugins directory and copy and paste in the below code:
    `<?php
    // hacks and mods will go here
    function remove_xprofile_links() {
    remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 9, 2 );
    }
    add_action( ‘bp_init’, ‘remove_xprofile_links’ );
    ?>`
    Save the file and this will accomplish the same goal.

    #138457
    mairaj
    Participant

    Just updated! the new privacy option added to the profile fields are creating confusion in my setup. Is there a way I can disable it?

    I requested urgent help on this please.

    Thank you very much :-)

    #138429
    Roger Coathup
    Participant

    If you want validation as they type / enter — hook some jQuery onto your form. [That’s standard jQuery form validation, for which you’ll be able to Google for plenty of examples]

    In your jQuery, you can call out (POST) to your PHP validation function. Look up AJAX in WordPress for details on how to do this – in particular you are interested in using admin-ajax.php and registering your function as an action. You then specify that action in your jQuery AJAX call.

    You might also want to look at some of the WordPress data validation functions.

    #138421
    enderpal444
    Participant

    @boonebgorges @djpaul Can you toss a dog a bone on this? I’d really like to know how to do it.

    #138334
    Tammie Lister
    Moderator

    It’s not a perfect solution but have you look at gravity forms for registation forms and BuddyPress? http://www.gravityforms.com/

    #138288
    jaimebib
    Participant

    Anybody got this to work??

    mariazapata
    Member

    Hello Roger,
    Yes I am sure that i set up that correctly $curauth->ID, is just a number….
    :S…
    Thanks!

    Roger Coathup
    Participant

    ok… as I guess you know, modifying the core code isn’t a good solution!

    Am not sure why your original code isn’t working, as the later $r = wp_parse_args( $args, $defaults ); call should overwrite user_id with the one you supplied anyway.

    Did you check that $curauth->ID was set correctly?

    mariazapata
    Member

    Hi commented this line out, on the bp_members_template.php
    //$user_id = 0;
    and it works… I didnt want to touch this… but i cant find any other way :(

    #138185
    Susan Adams
    Member

    My network is a bunch of baby boomers selling crafts. I teach them how to be a merchant more effectively. Their stores on Artfire.com has a widget per seller where they can add a rapid cart, shopping window or a collection. All the code is clean and safe, no other code will be allowed. I’m aware of the spammer risks..been there, done that.
    The field should look similar to a blog post editor or text widget. Besides, the rapid cart code won’t work unless a shortcode is made by adding the script to the widget area and then shortcode for it in the field. This is why I’m wondering if the multisite is a better fit, harder, but better fit for what I want to offer.
    The Ning sites had pages for members like such. They were drag and drop fields with the ability to accept code. Like a comment box might. This is what I need for members. I already have a member approval mechanism installed. They have to attend the basic instructions of how to blog, to be able to use the field I need made. A sign of who they are.

    #138183
    modemlooper
    Moderator

    It’s dangerous to allow code to be entered into profile fields. Why HTML?

    #138106
    enderpal444
    Participant

    @karmatosed I had seen that but didn’t see an answer on how to do what I’m trying to do. I need a live validation to show the user whether or not their entry is a valid url for facebook or twitter.

    #138105
    Tammie Lister
    Moderator

    I think https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/validating-a-url-from-xprofile-field/ may provide a good starting point. If I am wrong though please let me know and I’ll take a look.

    #138090
    modemlooper
    Moderator

    Are you referring to the profile fields or the tabs?

    #138060

    In reply to: Tagging Members

    r-a-y
    Keymaster

    Like Juan mentioned, XProfile already autolinks various profile fields.
    eg. http://testbp.org/members/johnjamesjacoby/profile/

    Check out the links in the profile page. They will automatically redirect to the members directory with the search term.

    It might not fit your spec exactly, but maybe it can give you some pointers.

    The BP Profile Search plugin also enhances the xprofile search a bit as well.

    #138055

    In reply to: Tagging Members

    juanmaguerrero
    Participant

    I think that depending on the final result you want to achieve, there are already a few tools that will get the work done. For example: if you want to mention your users, you can use de bp labs plugin that will add the “autocomplete” feature to the mentions for more usability (also could be used vía comments for mimicking the picture-tagging like Facebook). In the other hand, you can use profile fields to let members “tag” themselves on a different number of topics… etc.

    Maybe if you tell us what would you use it for we can think of a posible way to achieve that :)

    #138021
    raminjan
    Participant

    Hey Modem Looper bud the plugin you wrote custom profile fields is there anyway to prevent some not all profile fields to show up on registration page? and also about the age drop down so is there really cure for that year problem with wp? because it goes up to 2037.

    #137851
    Paul Wong-Gibbs
    Keymaster

    BuddyPress comes with a default “Name” field in the Extended Profile components. Are you using the Extended Profile component; have you renamed the default Name field, and what are you using that field for?

    #137673

    In reply to: Spamming Issues HELP!

    danbpfr
    Participant

    Hello,

    registration process has nothing to do with BP, it’s WP stuff. For some technical answers to your question, be inspired by reading here:
    http://www.esecurityplanet.com/open-source-security/top-5-wordpress-vulnerabilities-and-how-to-fix-them.html

    To avoid robot resgistration, there is nothing definitve to do at this time. But to get sure you don’t get a robot in your user list, you can add a mandatory field to your registration via custom profile fields.
    For example, “city”. Because this field is custom, no robot will fill it correctly. And most will not fill it at all. Each subscription with “doe” as city name or empty city field can be banned and/or erased from your DB. This will calm down spam activities for a while. The price of this is a constant admin work. But consider that a daily managed site is lesser spammed than a site with randomised webmastering each 31th february… And a site with 50 000 unique visitors will be more attacked that a 70 hits/day site. Just the price of glory, nothing to do with buddypress. [exit] ;-)

    #137616
    Roger Coathup
    Participant

    What was the problem you encountered with your approach?

    Paste your code, and let us know the error messages, and someone may be able to assist.

    PE Scholar
    Member

    @djpaul – Just the standard, out-of-the-box BuddyPress registration process for now. Couple of additional fields, all added as standard (via BP profile settings).

    We are looking into using Gravity Forms for user registration in the future, mainly so that we can hook Twitter (& other social url’s) into extended & custom profile field, and also to make the registration process self-contained (not requiring email activation), but right now, we’re just using out-of-the-box functionality/forms.

    FYI – We’re also using the Mingle theme by Parallelus but having raised this issue over on their support forums, I was informed that it’s highly unlikely to be a theme-related issue, which is fair enough really.

    Well, yes and no @hotsitez….

    Here’s what I have:

    I went into WordPress/BuddyPress via wp-admin — then navigated to Buddy Press > Profile Fields

    On the Extended Profiles Fields page, I added a “Start Date” for our members to populate which is the date they started with our company. Then on the Base (Primary) tab on that page, I got my extended field positioned where I want it to display.

    Perfect (so far).

    Now what I want to do is apply some PHP to calculate how many months and years the person has been with our company and parenthetically display it next to the start date value on the member’s profile page in Buddy Press when people view a person’s profile.

    How To Do That?

    So where/how in member-header.php do I add that bit of PHP code? Note, I am a PHP coder, so I have no problem producing the code to make the calculation — I am not asking for that guidance. I simply need to know (a) what script/document file do I go to to add my code, (b) where in the page production stream in that script/document file do I add my code, and (c) how do I grab the start date value that is stored in the BuddyPress DB?

    This maybe too complicated for Buddypress to do, but I am willing to give it a shot.

    [Note: I toyed around with member-header.php per @hotsitez suggestion. The profile area that this script impacts is the upper “header’ area for a member. I am interested in getting into the flow of the Profile > Base page.]

    Roger Coathup
    Participant

    @natetheaverage

    an outline solution (there are lots of areas where you’d have to work to implement it):

    When a group is created, you could write a hook that creates a corresponding xprofile field group (remember to hook on delete group as well to remove the profile field group)
    In the member’s profile screens, you would hide that xprofile field group if the member is not a member of the group
    In a hook on Join Group, you’d want to display an additional screen that prompts for the user fields, and when that is submitted use the xprofile API to write the data to the user’s profile
    I guess finally, you’d also want to modify the members loop inside the group to show that information

    There’s a lot of code for you to trawl through

    hotsitez
    Member

    Frank – while I am new to BuddyPress (started it on a site today), i think you are working on similar layouts at moment that I am. The file I just finished re-working was “member-header.php” – I had added Profile Fields like Gender, Age, Etc. to display Gender for Example I used:

    ‘[?php bp_profile_field_data( ‘field=Gender’ );?]’

    basically add the name of the Profile Field you wish to display and use the Field Title name you gave it in the format above.

    Other than that its just editing CSS and adding text etc to layout. I am still working on many things – its the one area I really want to pop is the Profiles pages.

    I hope it helps!

Viewing 25 results - 2,001 through 2,025 (of 3,604 total)
Skip to toolbar