Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 1,926 through 1,950 (of 3,608 total)
  • Author
    Search Results
  • #142456
    sandeepandugula
    Participant

    Hi All,

    I used WP-FB-Autoconnect plugin. It works well if any existing user logs in using FB credentials. But, it is not stopping unregistered users from logging in. Ideally, it should direct the unregistered users to the registration page for them to fill some profile fields. Is there any way I could stop unregistered users from logging in using WP-FB-Autoconnect plugin? and also to redirect the unregistered users to the registration page.? Please help.

    Also, is there any better free plugin that handles registration and login effectively? I am looking for FB login/register functionality something similar to the one in Pinterest..

    #142450
    @mercime
    Participant

    @ashraf something’s getting lost in translation. Are you asking how to add profile fields (https://codex.buddypress.org/getting-started/configure-buddypress-components/#users-profile-fields) and/or asking for a demo site which allows you to add profile fields (none public that I know of) ?

    #142383
    John
    Member

    Easy solution I didn’t really understand at first.. but not it’s quite obvious.

    I created a profile field check-box (“Publish”) to let users control their visibility within the directory.
    After the while loop I inserted the code:

    `
    `

    Then, following
    `<a href="”>`
    I added my profile fields, one by one:
    `Experience Type: `

    Refinements I’d like.
    Access to Group Fields in bulk, or at least being able to distinguish between group A, field 1 and group B, field 1 if field 1 is named the same within each group. i.e. Family Group, Name, Friend Group, Name.. etc.

    In the mean time, with some appropriate styling, this should give me a good looking member profile page, allowing members to elect to participate in the directory.

    #142315
    Roger Coathup
    Participant

    Yes, you can do this, but you need to write PHP code.

    Have a look at some of the actions that are invoked when profile fields are saved, and hook on to those. It’s a little complicated because you aren’t told which fields have changed (just field groups), so you’ll probably also have to maintain previous value and compare to latest.

    #142294

    In reply to: New to BuddyPress

    clamoreaux
    Participant

    One more question — how do I add profile fields that can only be seen by the user that is setting it up? For example, I want the Name field hidden and the user known on the site by their username only. Right now it is showing as seen by Anyone. I can’t have that on the type of site I am building.

    And can fields be searched on?

    #142267
    infocoolsms
    Participant
    #142250
    John
    Member

    I’m looking at something under the

    like
    `<?php
    $var=bp_member_profile_data(‘field=Field’);
    if $var==”string” { ?>`
    followed by the member loop code with added fields.

    – Put into Practice –
    When I put this into practice using a radio field called Publish with Yes & No options

    `<?php
    $publish_var = bp_member_profile_data( ‘field=Publish’ );
    if ($publish_var == “Yes”) { ?>`

    my directory displays a two yes’ (the correct number of yes’ in the DB) and ends.

    When I edit the code for the opposite
    `<?php
    $publish_var = bp_member_profile_data( ‘field=Publish’ );
    if ($publish_var != “Yes”) { ?>`
    The output is the normal member directory with the field “Publish” displayed atop each member.

    #142169

    In reply to: Need Help

    @mercime
    Participant

    I am answering what you’ve stated in “I would like for a login to not use the admin bar and it all be a front end deal.”

    As for registration, Paul asked you what you needed that was not already in BuddyPress, where by default, you can create xprofile fields in base (primary group) which users can fill up during registration. Then you could create a new profile group and fill it up with fields which users can fill up after they have registered.

    @mercime
    Participant

    == I get the normal wordpress user profile editable fields? ==

    If you mean the first and last names in wp-admin user settings, then you have to create a script to call those as BP xprofile fields has its own settings. Otherwise, you can create First Name field and Last Name field in User > Profiles panel https://codex.buddypress.org/getting-started/configure-buddypress-components/#users-profile-fields

    #141860
    bojan85
    Participant
    #141843
    modemlooper
    Moderator

    Yes, you could create this but it would require custom coding. Great idea for using BP. The profile fields can be set up for the required info. The emailing members part is where the custom coding would come into play. You can use WP-Cron to find members with a profile field set to stolen and then execute a notification which will result in an email.

    #141836
    modemlooper
    Moderator

    You can create a select menu but you have to enter options on field creation. No way to pull info from db

    #141835
    maddogmcewan
    Participant

    brilliant, next Q, is there a plugin that can “populate” a text field with data from the wp DB? example say i wanted to show the users country field from wp_users field or say his membership level from membership pro table?

    #141833
    maddogmcewan
    Participant

    tx Hugo

    #141815
    Hugo Ashmore
    Participant

    If you look at the xprofile creation page in dashboard you’ll see it says “Fields in the “Base” group will appear on the signup page.” thus if you create a new group and fields those will only appear on the users profile edit screens.

    If you want to auto populate fields from other WP tables then you’ll need to write a script to do this.

    #141744
    artxx
    Member

    @mercime this is what i wanted to do here’s and example http://josephscott.org/code/javascript/jeip-demo/ with the custom fields a quick edit solution on the fly but i dont seem to find an answer how i can edit it like this and saving it without the user going the the custom fields group and doing it manually, i want a quick/fast solution for the users to edit fields on the fly. i hope you can help me out thank you.

    4ella
    Participant

    I understand , he wants to add this data also below every member in every group’s directory , it means if Group A has 20 members he wants to show their profile fields in that Group A member’s directory, at this moment code shows members profile fields data only in members directory (general)

    4ella
    Participant

    Nice snippet @ericreynolds007 , it works very well ! Did you managed to get to find a code for Group members directory ? Would be nice to show fields IF are present , otherwise hide

    modemlooper
    Moderator

    Yeah, a developer could create a plugin that had different info fields for different users. It’s just not a core feature to have profile fields for different users. The main reason for this is BuddyPress doesn’t have different types of users. Everyone is a subscriber. The admins and mods just pertain to groups.

    modemlooper
    Moderator

    I should elaborate, you could do conditional profile page design but you can not have conditional profile fields

    #141576
    Guido
    Member

    Hi Paul (and everyone else),

    I noticed a file and code about default WP profile:

    In file ‘profile’ there’s a line called ‘Display WordPress profile (fallback)’ and in the same folder (Profile) there’s a file called ‘profile-wp’ with all default WP profile fields in it.

    I’m not a programmer, but is it possible to adjust those files so default WP profile fields are displayed in members profile? What do I have to adjust?

    Guido

    #141552
    4ella
    Participant

    Gravity forms has this very useful feature and I can’t imagine this plugin without conditional fields, I am using it a lot in every single form, try to take a look how this plugin works, maybe you will find some solution how to implement it.

    #141533
    redrocktoday
    Member

    I am not saying my project will have countries, states, cities etc. profile fields. I am only using the states dropdown list as an example. But definitely a few layers of nested profile fields are needed for my site. For whoever chooses to use multiple layers profile fields in their design for user registration, I am sure they already have the values(might be just 1 or 2 or 5) for each layer in their mind, it is certainly not unlimited; on the contrary, it may most likely have very limited number of option values in each field for users to choose from. And that is why I say it is a basic requirement in the perspective of admins of a BuddyPress site. It is the capability of having this nested/conditional profile fields provided in the 1st place that matters, not how many values that are going to the fields that matters.

    #141519
    Roger Coathup
    Participant

    This is far from ‘BASIC’, and also impractical from an interface perspective – for your specific requirement: 50 States each having say 50 cities, equates to 50 x 50 = 2,500 drop down controls you’d have to configure just on your 3rd layer.

    It also doesn’t take into account handling this in a generic way, and other fields (apart from drop downs) that might equally well want conditional behaviour attached to them (checkboxes, value entered in number field, etc.).

    Specialist form generation software might want to try and tackle this, but it’s not suitable for the base set of profile field functions offered by BuddyPress.

    The best way to implement this for your Countries, States, Cities, etc. is to add the fields programmatically — if you search on Github, you’ll find a number of PHP arrays that have already been produced / maintained listing states and their corresponding cities.

    You can iterate over these arrays in your code (a plugin, or functions.php, etc) and generate the fields programmatically using the xprofile functions provided in the BuddyPress API.

    #141517
    redrocktoday
    Member

    @hugo: I think providing the choices with nested/conditional custom fields and the ability to be bond with automatic group assignments during user registration should be at the heart of making BuddyPress useful in a BASIC way. These are not some fancy stuff that we should expect come from the Plugins. Plus, if we depend on Plugins for all these patches to the foundamental parts of our BuddyPress powered sites, and if the Plugins not updated on time with the new release of BuddyPress Core, then we are completely doomed!

    Please, everyone, in the core dev team, reconsider this request. Thank you!

    In terms of the automatic group member depending on certain profile fields, here is another user’s request … https://buddypress.org/community/groups/miscellaneous/forum/topic/automatic-group-member-depending-on-fields-in-profile/

Viewing 25 results - 1,926 through 1,950 (of 3,608 total)
Skip to toolbar