Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 1,301 through 1,325 (of 3,589 total)
  • Author
    Search Results
  • #178657

    In reply to: Hide profile field

    agundabbo
    Participant

    Hello to everyone. Sorry If I reup this topic.
    I try the method @r-a-y suggests in file edit.php (not in /profile-loop.php) and it worked just fine.

    The problem is that I wanted that normal users cannot edit but admins can.
    So I think that the easiest way is with user_id (the alternative would be using wp_meta, the role and wp_capabiliets I think?

    So I have to put something like that

    while ( bp_profile_fields() ) : bp_the_profile_field(); if ( get_current_user_id()=#ADMIN ID OR bp_get_the_profile_field_id() != 'ID # YOU WANT TO SKIP' ) :

    Am i right?
    Thanks for the anwser

    mrjarbenne
    Participant

    You shouldn’t need to hack the core plugin files in order to do solve the spacing issue. It’s just going to cause heartache when you update the plugin, and have to make the changes all over again. I know you are embarking on a big learning journey with BP, WP, and PHP, but I would suggest it’s time to learn a little CSS now as well. If you use a tool like Mozilla’s Firebug, you can identify the CSS identifier and tweak the CSS in a child theme (https://codex.wordpress.org/Child_Themes)

    For example, the profile field by default has a padding: 8px; in the template. If you increase that number, you will increase the spacing between the profile fields.

    Regarding adding the profile info in your member directory, this tutorial will walk you through how to pull a file from the plugin and add it to your child theme, so you can update the BP plugin more easily. It explains how to place an item on the Profile, but I’m sure the same thing could be pulled off on the Member Directory with a few tweaks.

    http://bp-tricks.com/snippets/displaying-certain-profile-fields-on-your-members-profile-page/

    #178503
    Richie KS
    Participant

    utilize the use of bp action instead, add this to your functions

    if ( !function_exists('add_rules_in_register') ) {
    function add_rules_in_register() {
    echo "<a href='hxxp://www.websitehere.com' target='_blank'>Rules</a>";
    }
    add_action('bp_after_signup_profile_fields','add_rules_in_register');
    }
    #178333
    julianprice
    Participant

    @cuisire_ceo It depends but found the following most useful after googling so much to only come up with garbage past dated scraped/syndicated content.

    The most important question is what the Purpose for Your BuddyPress Use/Community. The only way I have wrapped my head around it is to work backwards but with that said…

    Heres What I consider some of the Best Round Ups and Buddy Pep to Follow:

    Tammie Lister @mercime http://wordpress.tv/?s=tammie have some great talks and also have just googled for any slides from the various presentations. If not able to see video.

    Also check out her book that only seems most current: https://buddypress.org/2013/11/buddypress-theme-development-by-tammie-lister/

    Boone Gorges @boonebgorges http://wordpress.tv/speakers/boone-gorges/ and most notable this presentation: http://wordpress.tv/2013/12/10/boone-gorges-herding-cats-with-the-buddypress-activity-component/
    or anything Boone from Youtube via WordPressNYC great example http://www.youtube.com/watch?v=gPpU3ySo5q0 in understanding of GROUPS.

    Of course John James Jacoby jjj @johnjamesjacoby (sorry jjj: he rambles often:) but found this useful in just using a simple profile I believe this is the session maybe others can reference it “WordPress Profiles” http://wordpress.tv/2013/10/04/john-james-jacoby-everything-you-want-to-know-about-bbpress-and-buddypress/

    So you probably thinking Wow but you have not answered anything on installing 🙂 Believe me it helps so much to think big picture of your whole community than start working backwards as single page/components to map similarities to constructed it.

    This is one of the most useful tutorial of theme I had purchased which the developer went MIA but it was an AHA moment for me. Because Buddypress are Custom Post Types thats Relational Data/Fields
    http://www.youtube.com/watch?v=Cc3Er4S4EeQ & http://www.youtube.com/watch?v=s7b9TFw6ZAQ
    . I know what you thinking this is not my intent or not relevant. Start watching #2 at 2:16 to think in context of Simalirty.

    Finally, The only other best other video tutorial that just a setup instruction. I have found online was BuddyBoss (don’t even own the Theme) http://www.youtube.com/playlistlist=PL5kBYJSuuvEj3KqG_lnAa9MxpZumjtTdY

    and Mathis on VIMEO. The biggest problem is finding the resources in a central location so I have to track down.

    I hope that helps as resources. It really would depend on how you see your community of your people and how its relational in context

    tolusage
    Participant

    Hi @BuddyBoss,

    Try and play with this plugin if you really want to import user data to custom CRM applications (it’s a little old and was developed for another WP plugin):
    https://wordpress.org/plugins/simple-crm-buddypress-xprofile/

    Feel free to download that plugin, study its source, implement whatever customisations you want as per Woopra and test to see if it solves your issue.

    P.S. If you end up modifying that plugin to accommodate other important user data fields, don’t forget to rename it to something else and block off ALL its internal call for updates (whenever the parent plugin is pushed for updates, otherwise ALL your changes will disappear should you mistakingly push through with the update).

    #178149
    tolusage
    Participant

    @thisisbbc,

    Before BP is made fully compatible with WP right out of the box, I am afraid integration such as you want will continue to be a conundrum.

    However, in addition to @henrywright’s contribution, why not give this plugin a try:
    https://wordpress.org/plugins/bp-xprofile-wp-user-sync/

    Feel free to download the plugin, study its source, implement whatever customisations you want as per Woopra and test to see if it solves your issue.

    P.S. If you end up modifying that plugin to accommodate other important user data fields, don’t forget to rename it to something else and block off ALL its internal call for updates (whenever the parent plugin is pushed for updates, otherwise ALL your changes will disappear should you mistakingly push through with the update).

    #178050
    johnsag
    Participant

    I’m back to exploring Buddypress, and I am experimenting with an install. I’d like to have a linkable public profile for the members without all this sort of information:


    @johnmc

    active 3 minutes ago
    Add Friend
    Public Message
    Private Message
    Activity
    Profile
    Notifications 0
    Friends 0
    Groups 0
    Forums
    Settings
    View
    Edit
    Change Avatar

    But only select fields (description, publications etc). I see a lot of technical info about customizing files etc when I search for this, some of it rather old. Is there perhaps a plugin that allow me to remove all this (to me) irrelevant information for non-logged-in users? It may well be there for the users when they are logged in. Perhaps it might be easier to simply create ordinary text-files for each user presentation that they can edit themselves.

    #177978
    BuddyBoss
    Participant

    They should automatically show up if you added them correctly in Users > Profile Fields. So I’m guessing it was added incorrectly or there is some theme issue.

    enrons
    Participant

    Hi .. ,

    for over 6 months i search for this function.

    I need a function to display: “bp_get_member_profile_data”
    in activity-stream for each invidually user in activity-stream !!!!!!!!!!!!!

    Yes, I know the different with bp_get_member_profile_data and xprofile_get_field_data !
    It´s all crazy, but whatever.

    If i put the this in custom-function.php, in example:

    ————————-
    function show_extra_profile_fields() {
    global $bp;
    $myfield = xprofile_get_field_data( ‘City’, $bp->loggedin_user->id );
    echo $myfield;
    }
    add_action( ‘my_test_action’, ‘show_extra_profile_fields’ );

    —————–

    And put this Code in activty – entry.php

    <?php do_action( ‘my_test_action’, ‘show_extra_profile_fields’ ); ?>

    ——————–

    It shows the City, but in all activies it shows my City !
    Also logically, because i say: –>loggedin_user

    But I need the function to display the invidually City for User in entry.php !!

    Please Help!

    #177776
    noizeburger
    Participant

    @webauthor
    You are looking for similiar features like I did. I understand your frustration, but finally, there’s nearly nothing that can’t be done with buddypress – if you have the right skills.

    I found a solution concerning different registration/profile fields or types: give it a try

    Also, I know there’s a plugin for conditional fields, but I’m not sure if it works: check it out

    Support isn’t always that fast – that’s right. But finally most of my questions could be answered in the past.

    Good luck!

    #177720
    BuddyBoss
    Participant

    I’ve never seen that before. Standard advice is to switch themes and deactivate all plugins, then switch everything back one by one to see if a specific theme/plugin is the cause.

    If not, BuddyPress does automatically inject links into some content. Profile fields for example, when viewing a user’s profile. Weird that it’s doing this on a random WP page though.

    As for ‘network activated’ I suggest leaving it to just ‘activated’ on your main site that you’re running BP on. No reason to run it everywhere.

    #177712
    webauthor
    Participant

    I’ve been reading a lot about this issue and it looks like BP is missing some very basic functionality. This is the first time using it and right out of the gate I see that there are some things that have me baffled.

    1) No way to create conditional fields. I’ve tried using the Gravity Forms User Registration Add-On plugin but there is no way to map fields properly. For example, in Gravity Forms I have Country, State and City fields. If someone selects United States as a Country for example, the next field that the user sees is the State field, but then I run into a problem when someone selects a City. In order to use conditional fields with Gravity Forms, I need to create many City fields (alabama-cities, alaska-cities etc). One City field for each State. These City fields are conditional fields that displayed to the user Cities based on what the user selects in the State field.

    The problem is that Gravity Forms wants me to first create User Profile Fields in BuddyPress. Then map each Gravity Forms field to the appropriate User Profile Field. Since I have many Gravity Forms cities field, there is no way I can tell Gravity Forms to use the City that the user selects and map it to a City User Profile field in BuddyPress.

    I’ve read a lot of posts on this forum dating back 5 years and no one has offered a working solution.

    2) Also, Why is there no option for an admin to be able to deny users from changing their Screenname? How about an option that prevents user from modifying a specific field such as Gender? All I see is havoc and chaos if you allow users to change certain fields.

    3) Why doesn’t BuddyPress offer a way to have different registration fields based on the user? Teacher / Student Registration, Doctor / Patient etc? It doesn’t make sense. Look at the core of BuddyPress. It’s a social network plugin. In almost every circumstance you have a need for one user have certain fields and another to have other fields. Trying to figure out how to show certain profile fields for one user and not another should be at the core of this plugin. Not to mention making it easy for the site owner to layout those fields so that they look nice. For example something as easy as defining the length of the fields. You can’t make those modifications without Firebug and CSS and PHP experience, or worse yet another plugin. If you use a plugin, then you have to pray to God the author of that plugin not to fall off a cliff or pray that he / she keeps that plugin conducive with the latest version of BP.

    I don’t mean to gripe but BuddyPress it seems to me that at it’s core, very little thought was given to how people would actually use it. Almost like it’s piecemealed together.

    Another big complaint is that it’s not compatible with the best WordPress themes on the planet – StudioPress. Shouldn’t the contributors of BP make sure that BP and StudioPress be compatible?

    I’m sorry if this sounds like a rant, it’s not. It’s just frustration. BP looks awesome but underneath the hood, there are a lot of obvious problems. My suggestion is to do what WooCommerce, StudioPress and others do. Sit down and figure out how to handle the big issues first. If need be, charge for BuddyPress. If the problem is that you have a bunch of contributors who work on things “they” deem important and at their own leisure, then the plugin suffers. Charge for it. Sit down and listen to the complaints and address them based on customer priority. Pay someone to reply to this forum so we’re not waiting days for a response. You’ll have much happier users and a much better plugin. Just my 2 cents worth. Honestly, since BP is virtually the only Plugin of it’s kind, not taking my advice will lead to someone creating a better wheel and that point, it’s only a matter of time before BP becomes obsolete.

    It’s been close to 24 hours and no response to my original question. If ANYONE has an answer as to how I can get a user to simply select a Country, then State, then City based on previous fields, I’d greatly appreciate it. Also if someone could please tell me how to prevent users from modifying certain fields that would be appreciated as well.

    Thanks

    #177683
    noizeburger
    Participant

    Me too, I don’t like the way rtmedia presents the display of media. So I tried to manage a kind of playlist for mp3 by using BP xProfile Custom Fields Type.

    I wrote a short tutorial on how I did it: take a look right here

    #177570
    meg@info
    Participant

    Hi @saleh.hi

    Create a new profile fields group ( from wpadmin User > Profile Fields ), then drag & drop all fields from Base(Primary) group to the new fields group.

    #177276

    In reply to: Custom profile page

    Yukon Cornelius
    Participant

    Do you have a child theme? If so, go to members > single and open up the files ‘member-header.php’ and ‘home.php’ most of the modifications you need to will be in these two files.

    If you don’t have a child theme, google how to make one.

    You can add social media buttons somewhere in here. you need to add profile fields via the dashboard Users > profile fields, then you can pull the urls that a member fills in into the profile page. You will have to do some googling to figure out how to insert the profile fields into the profile. It is all out there somewhere.

    #177187
    SK
    Participant

    admin editable fields for groups. Basically the exact same thing as xprofile fields but for groups. This is the kind of thing that makes more sense in core than a plugin.

    I second that.

    #177186
    BuddyBoss
    Participant

    A relatively simple suggestion for 2.0 – Get rid of tables in all templates so developers can style everything for mobile without having to override templates to convert tables to lists. Notifications and Messages use tables right now and they don’t have to.

    A harder feature BP could really use is admin editable fields for groups. Basically the exact same thing as xprofile fields but for groups. This is the kind of thing that makes more sense in core than a plugin.

    #177082
    Henry Wright
    Moderator

    Assuming bppp_get_user_progression_percent returns the percentage completed then your function looks spot on.

    The conditional if ( $percentage == 100 && ! current_user_can( 'edit_posts' ) ) will ensure the user’s meta is updated only if:

    $percentage == 100 – all profile fields are completed
    ! current_user_can( 'edit_posts' ) – they’ve not already reached 100% profile completion at some point

    #177043
    Justin
    Participant

    So to summarize, we need:

    1. To hook into xprofile_profile_field_data_updated
    2. We need the hooked function to check for empty profile fields in the main tab
    3. If there are no empty fields, it needs to notify the admin – via updating a custom meta key and sending the admin an email, preferably. But we can settle for just the meta key updated.
    #177042
    Justin
    Participant

    Ya all the fields in the main tab (or at least all the required fields).

    For some reason wp_mail is having conflicts with our site so we may need to just update a custom user meta field instead. That’s what the code above is attempting to do, but it doesn’t seem to add the meta key. If that can work, we can keep track of who is updated by who has that meta key.

    xprofile_profile_field_data_updated is helpful – thank you!

    Seems like xprofile_updated_profile wasn’t firing at all, whether on successful or unsuccessful attempts. Or at least it wasn’t updating the meta key in the first code snippet above.

    #176999
    Henry Wright
    Moderator

    Hi @justineterniawebcom

    I’m trying to understand your requirements – do you just want to send an email (perhaps to an admin) once a user has completed all of their profile fields?

    Ben Hansen
    Participant

    if you are talking about editing the regular wordpress profile fields from the front end the same way you edit the extended buddypress profiles that may be part and parcel with a feature i am currently lobbying for for 2.0 which is the merger of the two, both fronted and back.

    if that’s something you’d also like to see or is what you are trying to accomplish then i would urge you to enter this code patch as a ticket in trac:

    https://buddypress.trac.wordpress.org

    and while you’re at it please take the survey for any other input you have as far what you’d like to see for buddypress 2.0 i believe today’s meeting is where the new features will be scoped so the next few hours could be the last chance to give your input:

    2014 BuddyPress Survey

    also if you want to attend the devchat itself it’s held on irc at 20:00 UTC every wednesday on the channel #buddypress-dev

    if you do not have an irc client you can use the web browser version here:

    http://webchat.freenode.net

    hope to see you there!

    CORRECTION: the feature scoping has been postponed until next week.

    Tim2376
    Participant

    Yes, I know you can edit all the field from the back end. However, I am trying to get it to allow you to show and edit the fields from the front end. Here were the steps I am thinking about using:

    1) Use BuddyPress Custom Profile Menu plugin to create new tabs on the profile page like, “about”
    2) make a function in function.php of my theme that would display the content for a user and allow them to edit it if it was their profile.
    3) create a shortcode function that linked to the function in step 2.
    4) Add the shortcode in the new page created with BuddyPress Custom Profile Menu plugin in step 1.

    I know how to do step 1, 3, and 4. I have an idea of how to do step 2, but I am a little fuzzy on it. Here is what I was thinking(I don’t really know php):

    function ProfileAboutPageContent(){
        if(bp_loggedin_user_id() == $GLOBALS['bp']->displayed_user->userdata->user_login)
        {
        echo "<p>'"bp_profile_field_data( 'field=User Bio' )"'</p>";
        //Allow user to edit the content(not sure how)
        } elseif {
        echo "<p>'"bp_profile_field_data( 'field=User Bio' )"'</p>";
        {
    }
    add_shortcode('AboutContent', 'ProfileAboutPageContent');

    Are there any errors in this code? I am not sure how to allow users to edit the content if they are the right user. Any ideas on how I could change this code? I am planning on putting this code in the function.php of my current theme.

    The idea is that after I get this function and short code right I can add the shortcode to the new page I can create with the BuddyPress Custom Profile Menu plugin.

    If anyone would be willing to help me figure this out I would greatly appreciate it. Thanks!

    Ben Hansen
    Participant

    the front end buddypress profile is not connected to the backend one (for the most part) you may be missing the fact that the front end profile fields need to be set by you in the profile fields section of your users settings in wp admin. those fields are only editable from the front end by default.

    #176909

    In reply to: Member Video Gallery

    Shmoo
    Participant

    I think you can use the default Xprofile fields for this.

    Just add a new tab ‘video’s’ and another tab called ‘photo’s’ and let them copy-/paste links to YouTube-/Flickr and others inside a multi-line text input field. ( Xprofile )

    I believe the WordPress Embed service will auto complete those links into embedded video’s and images.

    If not –> Search: BuddyPress auto embed xprofile – something like that.

Viewing 25 results - 1,301 through 1,325 (of 3,589 total)
Skip to toolbar