Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 626 through 650 (of 3,589 total)
  • Author
    Search Results
  • #263923
    leewells
    Participant

    Thanks Shane! I’ll give this a shot when I get back to home this evening and let you guys know how it works out. I’m afraid the little profile I made doesn’t do any sorts of compares, it just lets me know if it is loaded before or after certain other hooks like init, the_content and such.. I’ll have to reopen that and add bp_load and get a better idea of where it loads to buddypress though.

    My I make a request, though, developer to developer 😛 This seems to have broken a lot of plugins and I like to say I follow the methods of WordPress to the letter without getting hacky :P. If changes like this are made, can we still preserve a method of backward compatibility? The profile info, for instance shouldn’t matter much when it loads, so long as the BP class is loaded, which means, I guess what I’m saying is I’m drawing a blank to what it would be that would require the xprofile fields to be dropped to such a low load order that it doesn’t initialize with the plugin class init.

    #263892
    shanebp
    Moderator

    You need to pass additional fields – and in the correct order.
    http://hookr.io/functions/xprofile_get_field_data/

    #263883
    john.horning
    Participant

    Actually – looks like the problem might be with bp_the_profile_field_value(). I’m able to display all the fields with labels, but no values.

    #263760
    bheyne
    Participant

    I’m slowly approaching the solution. If i deactivate the plugin “BuddyPress Xprofile Custom Fields Type”. The Pictures are back. They overwrite the URL i think.

    #263534
    djsteveb
    Participant

    with my default bp installs just about everything IS public.. it’s actually not easy to make the bp pages like activity and groups and such private.

    I think most of those things are fine to be public – and people can choose to make groups members only, logged in only, or public viewable.. default is all public I think..

    Most profile fields the user can choose similar privacy settings for certain fields if you allow..

    Sometimes I make a group non-pulbic viewable as super admin..

    I also choose a lot of things to be blocked by the robot search engine spiders – as there is no need for them to go pulling 100 pages of activity feed and such – so even though most of my BP site is publicly viewable, only about half of it is (supposed to be) crawled by the big engines – most follow the robots.txt directive – but not all..

    #263470
    danbp
    Participant

    Where did you find that code?

    Have you tried to replace it by:
    SELECT * FROM bp_xprofile_fields WHERE parent_id = 0 AND group_id > 1

    mpcadm
    Participant

    I solved the problem. It’s in “Profile Fields” in Users. Want to delete this.

    #263430
    shanebp
    Moderator

    You should see all fields, even empty ones, on the Profile > Edit page.

    #263428
    prophet224
    Participant

    Ok, I didn’t know that. Shouldn’t the fields still appear on my own profile page so that I, as a user, could fill them out if I wanted to? They don’t show when viewing another users or one’s own.

    I will take a look at the plugins! Thank you!

    #263427
    shanebp
    Moderator

    Empty fields will not be shown on Profile > View.
    Are you sure there is data in those fields?

    You could narrow down the issue by deactivating the LearnDash plugins one at a time and see if the issue persists.

    #263414
    shanebp
    Moderator

    You can change parameters by passing an array in your overload.

    Example – you may need to change the passed values.

    <?php 
    $args = array(  
            'hide_empty_groups'      => false,
    	'hide_empty_fields'      => false
            );
    if ( bp_has_profile( $args ) ) : ?>
    #263405
    john.horning
    Participant

    Okay – discovered that the overload file needs to be in wp-content/themes/buddyboss-child/buddypress/members/single/profile and verified it by making a random change to the file, but I’m still not seeing fields without values.

    PS For some reason, the system won’t allow me to paste the code.

    #263397
    john.horning
    Participant

    Thanks for the quick response, but doesn’t seem to be working for me. I created the template overload of profile-loop.php and stored it in wp-content/themes/buddyboss-child/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile. I’ve pasted the entire file below after modification.

    I can’t find it now, but there was a thread somewhere that indicated that the following line needed to be changed in bp-xprofile-template.php so was wondering what you thought of that.
    $hide_empty_fields_default = ( ! is_network_admin() && ! is_admin() && ! bp_is_user_profile_edit() && ! bp_is_register_page() );

    Anyway, here’s my profile-loop.php:
    `

    #263289
    danbp
    Participant

    Hi, that’s what i expected. You’re not after coding errors, but enduser errors, ie you omitted this field…

    For each xprofile field you create, BP let you select some option. Depending on them, you can see some messages when a field is left blank. These message are displayed by field type, and so far i know, there is no easy way for cibling precisely a given field once you’ve defined a field type.

    The xprofile component is not such a sophisticated tool like ContactForm 7 or similar form plugins. It was created to insert more fields inside the basic WP registration page. Because of this, it is volontary left “simple”. If you need more functionnalities over your custom fields, search for a compatible form plugin who allow that.

    I don’t think that BP let you do much more in matter of field option as actually. Not out of the box and not without a lot of custom coding.

    #263213
    bsreverman
    Participant

    That’s the problem – when I try to delete the field from my admin dashboard>users>xprofile fields than the situation I described in the initial post is what is happening. The developers of my theme said they had encountered this as a buddypress issue before and asked me to contact you. As this happens in twenty-fourteen as well I’m assuming it is not a theme issue.

    #263212
    danbp
    Participant

    I mentionned the front-end xprofile admin because you mentionned you want to delete some fields from “base” group. As site admin, you can access any user profile from front-end and modify the fields.

    As site admin, you have also the possibility to access those fields from within the admin dashboard, where you can physically delete xprofile fields…

    User Extended Profiles

    As i don’t want to login to dropbox to see your screenshot, i ignore what you mean precisely at this time… except “delete some fields” which is, so far, enough for me.

    FYI, any xprofile field goes on the registration page. And the fields themselves are in the admin under dashboard > users > xprofile fields

    #263211
    bsreverman
    Participant

    Hi Thanks for your reply but I’m not sure how the codex you sent me is helpful. I’m trying to set up the registration page as the admin – not edit those fields after the fact. Here is a screenshot of the backend of my user profile fields page. There is a button to delete fields, but no save button anywhere on the page. What am I missing.

    https://www.dropbox.com/home/Screenshots?preview=Screenshot+2017-01-27+19.54.00.png

    #263210
    danbp
    Participant

    You say nothing about where you try to delete your fields.

    So i assume you are using BuddyPress the standart way and are working as “site admin” in the backend.

    Read here:

    Profile → Edit

    Generally, when removing something comes back after you did it, it is because you forgot to save your changes. So far i know, there is no ghost or 4th dimension inside BuddyPress. 🙂

    #263100

    In reply to: import xprofile CSV

    A paid plugin available to import users BuddyPress xprofile fields data.

    BuddyPress Members Import

    #263088
    mrjarbenne
    Participant

    In case anyone runs into this forum topic looking for a similar fix. I needed to do two more things to get this perfect (thanks @danbp for the great start).

    Under each field, the default privacy is displayed, so you need to make sure that for every option you add, the default is either “All Members”, or “Only Me” so that “Everyone” doesn’t appear as a default under each field, despite the fact that you’ve hidden the option to chose it once the user hits the Change button.

    Additionally, under the name field, “Everyone” is the default, and it can’t be changed. This isn’t really accurate if you site is private, so I have hidden the line that says that the Name field is visible by Everyone with an additional CSS snippet.

    /* Remove Everyone option from Profile Fields to ease confusion on a private site */
    
    li.public {display:none!important;}
    
    #buddypress div#item-body div.profile form#profile-edit-form.standard-form.member-information div.editfield.field_1.field_name.required-field.visibility-public.field_type_textbox div#field-visibility-settings-toggle-1.field-visibility-settings-notoggle {display:none!important;}
    #263077
    djsteveb
    Participant


    @johanna75
    – looks like an interesting plugin – not sure if it’s a free plugin with paid extensions, or a premium plugin altogether – or how it works- you are best off asking those plugin makers more than likely. I see they have 2 premium add on extensions that seem to fit in with what you are asking about though: the geo members directory and the xprofile fields extensioons – which seem to be priced from $29 – $130 each.

    again, not sure how any of the plugin is working for you – it kind of sounds like there is some info that has been added to your member’s profiles.. and if it that’s the case – you may have some luck with adding the “bp profile search” plugin – which is free. There some quick docs on how to get it up and running on a page or wdiget with certain features -> http://dontdream.it/

    That may be all you need… if not, I would cough up the money for the premium addon and ask the author of the main plugin – sounds like it’ll be faster and easier to get working..

    the buddypress forums are likely going to leave you hanging with no answers if you ask about anything like plugins, themes, custom mods that are premium / aka costs money.

    I’d love to know if your plugin maker there has a way to turn off the “google maps” part – I mean it sounds nice on the features page – but I’m pretty sure html5 has a geo location feature that can be tapped into without using google maps.. and if I was to use a plugin like that, I would certainly not be sacrificing my user’s privacy by using something that depended on the big G to get their data. Surely there are other ways / other options.

    my 2cents.. your situations may be different

    #262992
    stunley
    Participant

    Hi Shane. Like so? This still disables the site.

    function tiquality_add_custom_field() {
    
    	if ( bp_is_active( 'xprofile' ) ) :
    
    ?>
    	<div class="bp-widget <?php bp_the_profile_group_slug(); ?>">
    		<table class="profile-fields">
    			<tr class="my_mail">
    
    				<td class="label">Contact me</td>
    
    				<td class="data"><a href="mailto:<?php bp_displayed_user_email(); ?>"><?php bp_displayed_user_email(); ?></a></td>
    
    			</tr>
    		</table>
    	</div>
    <?php 
    
    	endif; 
     
    }
    add_action('bp_profile_field_buttons', 'tiquality_add_custom_field');
    #262968
    psmorrow
    Participant

    I found this:

    post

    which adds xprofile fields to member directory, but I can’t seem to get this working for the group members directory.

    #262702
    danbp
    Participant

    Also by default, a field description can only be filled by a site admin, not by suscribers or visitors. But it is to you to know what is harmfull or not when you customize something in your site.

    If you are the only one allowed to create xprofile fields, i doubt that you will voluntary introduce malicious code into your field description… In this case it is certainly harmfull to allow yourself some html tags. 😉

    #262570

    In reply to: phone number or email

    danbp
    Participant

    Hi @froshdimeji,

    the registration process is part of WordPress. Check on the codex or on the wp forum, but i doubt that a phone number can be used instead of an email. Perhaps it can be added to the mandatory username, password and email fields. But sorry, i have never heard about such.

    Note that BP allows you to add fields to the register page, but these fields will never be part of the registration itself. So even if you add an xprofile phone type field, it won’t be considered (as first) as mandatory for registration.

Viewing 25 results - 626 through 650 (of 3,589 total)
Skip to toolbar