Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'hide fields'

Viewing 25 results - 126 through 150 (of 260 total)
  • Author
    Search Results
  • #143461
    trailmix5
    Participant

    @modemlooper

    Thanks for the advice….that sounds awesome! If I hide the password fields, it would still contain the email field right? I neglected to mention that I don’t want users to change the email on that page either…my bad. Is there a way to bypass that tab altogether?

    BTW, your extended settings plugin is great! I just gave it 5 stars…it’s helped me out a lot.

    Thanks!

    #143446
    modemlooper
    Moderator

    Leave tab active but hide password fields

    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

    johndavis84
    Member

    Hi @4ella thanks for the answer, I think you are referring to this code by @brajesh http://pastebin.com/RLreXE7X

    The problem is that it shows all field groups and not different field groups depending on what the user chooses. This makes it impossible to require the user to fill out the fields since part of it will not apply to them,

    what I’m trying to do is show specific field group depending on what kind of user it is for example teachers would only see teacher fields and student would see the student field group.

    I heard javascript to show hide the field groups on the registration page.could be the solution, the issue is that I’m a newbie with buddypress and is currently just learning basic html. So i;m a little lost to say the least on how to solve this problem. Please any help or feedback is much appreciated

    Cheers, Johnny

    juanmaguerrero
    Participant

    I would make a wizard, that is, splitting a long form in a few more user-friendly steps. I would create the custom fields you need and make them required in the registration, and then add some javascript to show / hide the fields as the user goes through the steps… that way you will not need to touch the backend.

    #140405
    johndavis84
    Member

    I need to be able to show / Hide XProfile groups based on select value during the registration phase. I’m a newbie to all this so could someone please help on how accomplish this.

    Is that possible with buddypress? Has this plugin been created?

    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

    #136721
    ed
    Participant

    So I found the css solution:

    I just added the following into my themes css:

    .display-name h4 { display: none !important; }
    .display-name table { display: none !important; }

    This will not show the base profile fields in the public view but will still allow the member to change username.

    Hope this helps.

    #136701
    valuser
    Participant

    Many thanks for the tip. I presume adding the line to the functions.php of a child theme would have the same effect.

    Crazily enough the plugin still works perfectly. Haven’t tried the linking to social networking bit yet. But otherwise all good. Separate words can be links with square brackets, and you can exclude fields altogether.

    #133849
    Paul Wong-Gibbs
    Keymaster

    I would suggest creating a new profile field group for this sort of field, and put some logic into the appropriate theme template to not show fields in that group.

    #133841
    maylene
    Member

    I’d be interested in this as well.

    #133181
    truden
    Participant

    Thank you for the advise, @neiloughton.

    I know that the plugin can restrict from all and allow only friends, but best for our web site is to show information to all registered users and hide it from anonymous and bots
    People are searching in our web site for o-negative blood donors and after they register, they should be able to see the information without becoming friends.
    It is a matter of urgency and the minutes count.

    I know the plugin which you suggest, but that doesn’t work with our type of community.

    #131130

    Very timely question. I came here to ask the exact same thing. (Originally posted here: http://premium.wpmudev.org/forums/topic/how-to-hide-specific-buddypress-profile-fields – they suggested I ask here)

    Tux Kapono
    Participant

    aces, that’s a good option, but many simply don’t even want to have to adjust their settings to hide what they view as very private data, and many won’t even check until they get someone telling them, “Hey, did you know a lot of your private data is showing on your profile?” By then, trust is lost, often permanently.

    Tux Kapono
    Participant

    Here’s what my developer came up with, though I sure would prefer this solution in the long term: http://csplacemaking.com/images/profile-questions.png. I can’t understand why anyone would be OK with their birthdate publicly displayed. Anyway it’s a hack, but it works…

    She put it in the CSS file, and you have to know the numeric field IDs. Scroll to the end of the themes/[your theme, in my case, Tachyon from Rocketthemes]/css/template.css file and adjust the following code:

    .controlwidget {display: inline-block; float: left;margin-left: 1px;}
    html body table.profile-fields tr.field_3, html body table.profile-fields tr.field_3 * { display: none !important; }
    html body table.profile-fields tr.field_2, html body table.profile-fields tr.field_2 * { display: none !important; }
    html body table.profile-fields tr.field_15, html body table.profile-fields tr.field_15 * { display: none !important; }

    mysmallbizu
    Participant

    My apologies :-)

    aces
    Participant

    @mysmallbizu
    Please don’t hijack another thread with a different problem. It would be better start a new topic!

    mysmallbizu
    Participant

    Is there a way to isolate the notifications from the other profile settings?

    I’m using amember V4 to manage registration and subscriptions everything is working correctly except for 1 thing… The “settings” menu in the subscribers user profile goes to a blank white page “404” is the error I get.
    for example…

    http://www.mysmallbizu.com/directory/subscribersusername/settings/

    The other issue is that because amember is handling the login and registration/ username and password etc. I’d only like the user to be able to edit their notifications from this menu… Not their U and P: is there a way to do this?

    aces
    Participant
    Paul Wong-Gibbs
    Keymaster

    In BP 1.6, we’ve added profile field visibility (privacy); ‘anyone’, ‘logged in users’, ‘my friends’. Try it out on testbp.org when you edit your profile. Not quite what you’ve asked for, but it should open up a new range of possibilities for plugin authors to filter things further.

    Hugo Ashmore
    Participant

    No such thing sadly; you could ensure the fields are in a specific group of their own and then wrap that in a if is_admin check so only admins can read, if you are creating a theme for general use and wouldn’t know the field names then you may need to write a function of some description with dashboard option settings to manage things or check what BP plugins are available in the ‘privacy’ genre and see if they offer any greater control.

    Tux Kapono
    Participant

    Actually, I did. She was wondering if there were more obvious solutions than what she could think of. Though she mentioned that the listed solution only works if you don’t ever have a different field name.

    Attached is a screenshot of what I really was hoping BuddyPress would have, a standard Ning feature, which allows you to select ‘private’, so the answer will only be visible to you and other administrators: http://csplacemaking.com/images/profile-questions.png. This is the ideal solution.

    Hugo Ashmore
    Participant

    😆 oh if you had a programmer you should have thrown it his way first- anyway it’s an easy enough problem to deal with one way or another.

    Tux Kapono
    Participant

    Thanks Hugo, I’ll have to pass this one on to our programmer :)

    Hugo Ashmore
    Participant

    You’ll need to do something like wrap the custom xprofile loop section in a check for a specific field name ‘birthdate’ and do something like ‘if not’ ‘birthdate’ go ahead and display field item or display if is_admin if you want to be able to see users data as a site admin.

    To remove a field you could do:
    `

    <tr>

    `
    in the profile loop; equally if you wanted to remove a complete field group you can copy the approach seen in the file for ensuring that the base group is not shown `if ( 1 != bp_get_the_profile_group_id() ) ` adding an OR followed by a check on the group id to hide.

Viewing 25 results - 126 through 150 (of 260 total)
Skip to toolbar