Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 1,476 through 1,500 (of 3,589 total)
  • Author
    Search Results
  • #170502
    shanebp
    Moderator

    >would it work with BP’s fields

    It should.
    You can always hard code an ID to find out.

    #170499
    trinzia
    Participant

    This is for customized comments on custom post types. The specific question is what user ID I would use, to display an xProfile field for each comment author.

    I found WP’s comment author name and link, but not ID. If I did manage to get the comment author ID somehow (haven’t managed that yet), would it work with BP’s fields?

    #170494
    Drexel82
    Participant

    This solution worked for me. Thanks.

    Rayleigh
    Participant

    And I paste my code :

    <div class="bp-widget <?php	 	 bp_the_profile_group_slug(); ?>">
    
    				<!-- <h4><?php	/* 	 bp_the_profile_group_name(); */ ?></h4> -->
    
    				<div class="profile-fields grid_7">
    					<ul>
    					<?php	 	 while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    
    						<?php	 	 if ( bp_field_has_data() ) : ?>
    
    							<li<?php	 	 bp_field_css_class(); ?>>
                                	<ul>
                                    	<li class="label"><?php	 	 bp_the_profile_field_name(); ?></li>
    									<li class="data"><?php	 	 bp_the_profile_field_value(); ?></li>
                                    </ul>    	
    							</li>
    
    						<?php	 	 endif; ?>
    
    						<?php	 	 do_action( 'bp_profile_field_item' ); ?>
    
    					<?php	 	 endwhile; ?>
    					</ul>
    				</div>
                    <div class="grid_5">
                    <?php
                    	if( function_exists('upm_single_map_display') ) : upm_single_map_display(); endif;
    				?>
                    </div>
    			</div>

    https://docs.google.com/file/d/0B__rIOiJ6Zq4MlU5WWlYQXMxLVk/edit?usp=sharing

    #170237
    marmuel
    Participant

    no common usecase?

    #170113
    wildcatdigital
    Participant

    Having the same exact problem with the website field. Textbox fields also work perfectly fine for me.

    WP 3.6
    BuddyPress 1.8.1
    BuddyPress Xprofile Custom Fields Type 1.5.7.1

    All that shows up is “This field can be seen by: …”

    🙁

    #169999
    marmuel
    Participant

    no idea?

    #169993
    craig
    Participant

    is there a way to do this yet? i’m looking at adding a simple ‘location’ field to the groups. Like a profile field, one that’s clickable to take them through to all groups within that location.

    #169745
    David Cavins
    Keymaster

    It’s generally preferred to let the user decide whether he wants to open a link in a new window or the same window. That said, you can use jQuery to force content to open a new window to happen:
    http://stackoverflow.com/questions/4742746/jquery-open-new-window-on-page-load

    Or, you could filter the output for the fields by adding a filter to bp_get_the_profile_field_value (you’ll be adding target="_blank" to the anchor tag). Here’s an example that removes hyperlinks from the output for specific fields:

    function cpfb_unlink_fields( $field_value ) { 
     
    	$options = array ( //These are the ids of the fields you want to target
    					12,
    					14 
    	)
    		
    	if ( in_array( bp_get_the_profile_field_id(), $options ) )
    		$field_value = strip_tags( $field_value );
    
    	return $field_value;
    
    }
    add_filter( 'bp_get_the_profile_field_value', 'cpfb_unlink_fields', 998, 1 );
    #169667
    operapreneur
    Participant

    I was successful at doing this. You can read about the results here on the forum.

    I would suggest starting this kind of thread on the “How to/troubleshooting” topic, not this thread since it’s all about showing off the finished product.

    #169489
    cupid4
    Participant

    @r-a-y during registration, have you noticed that all the select-list is already filled, although I made none as default, this is how you ended with all the profile fields in your test profile although nothing supposed to be set as default or required, so what could be the reason for it? also, any edits I make child theme css doesn’t work and I’m just about to bang my head in the wall :s

    #169471
    X-Ray-3
    Participant

    Not sure if I’m really the only one who tries to setup optional fields only…?

    #169437

    In reply to: Car database plugin

    4ella
    Participant

    I would simply create a custom post type “car” and then add them or in admin backend dashboard as post titles with searchable custom fields as country of origin, year of construction, etc or with gravity forms in frontend. Posts you can after add in every user profile page new tab “My Cars”.

    #169259
    @mercime
    Participant

    the options for the user privacy setting totally DISAPPEARED! It also doesn’t show on the Update posting boxes.

    Not quite sure what you mean for the first one? Privacy setting for xProfile fields?
    And what doesn’t show on the update posting boxes (status updates right?)?

    #168625
    mickyfen1980
    Participant

    I want to have one page for registration which ideally takes in the profile fields set up for buddy press.

    #168449
    bp-help
    Participant

    @tduschei
    That really is not what the unlbocked pages are meant to display. It is not meant for pages that need to generate the unique id of a a logged in user. That would defeat the purpose of the plugin. You can allow logged out visitors to view the members though by entering: members
    in one of the unblocked page fields. I hope you understand that is the logic behind the plugin. It would not make sense to use a plugin for privacy only to divulge the most sensitive content on the site which is users profiles to logged out visitors. Its not a bug, it was developed this way purposely. Good luck!

    #168318
    stunley
    Participant

    Actually, If there are no fields in the ‘Profile Details’ column then it doesn’t send an activation email, nor does it load the Check Your Email To Activate Your Account! message; it just goes back to the homepage.

    Cidade Sonho
    Participant

    good man 🙂 love bp <3

    modemlooper
    Moderator

    here is an example on how to add a tab to a user profile. then, in the content function you just output the info saved from the form.

    https://gist.github.com/modemlooper/5416410

    lautundleiser
    Participant

    I got exactely the same problem over here. Field types “Website” & “Birthday” don’t show up on the “edit profile” screen. They don’t display on the “view profile” screen even so. All I see is the message from the privacy plugin, telling the visibility for the specific field.

    Other field types like “Textbox” or “Checkboxes” work well.

    I am using WordPress 3.5.2, BuddyPress 1.7.3 and BuddyPress Xprofile Custom Fields Type 1.5.6.5 – my theme is Custom Community.

    Does someone know what’s wrong?

    #168107
    meetvora2006
    Participant

    @marcella1981 hello i required same registration form as @davidveldt..and you have already given an solution to it but i cant understand where the ” pastebin ” you gave should be copy in buddypress theam..?

    theflyingkitty
    Participant
       <?php
      }
      /*EDIT*/
      
      function filter_xprofile_groups_with_acl() {
        global $bp, $profile_template, $current_user;
        get_currentuserinfo();
        foreach($profile_template->groups as $key => $profile_group) {
          if( ! in_array($profile_group->id, $this->user_allowed_xprofile_groups) ) {
            unset($profile_template->groups[$key]);
          }
        }
      }
      /*EDIT*/
      function filter_xprofile_groups_with_acl() {}
      function block_screen_edit_profile() {
    theflyingkitty
    Participant

    azchipka, would you happen to have a copy maybe of the file you edited?

    Maybe they changed the scripts in the last three months, but following directions exactly and it keeps giving me a fatal error.

    #167913
    ericrosete
    Participant

    Wow! Great work. A great example of what BuddyPress can really do!

    I’m curious, what other plugins did you use when building the site? I’m guessing Advanced Custom Fields is one of them. Did you also create custom post types?

    I’m also building a similar recruiting site and I’d like to build member profiles just like you did.

    #167910
    maikunari
    Participant

    Just posting back with the solution in case it helps anyone else. This function will do it:
    xprofile_get_field_data('Profile',$u_id);

    In my case it’ll be:

    <?php if ( xprofile_get_field_data( 'Profile', $user_ID ) ) : ?>
         <?php echo xprofile_get_field_data( 'Profile', $user_ID ); ?>
    <?php endif; ?>

    Thanks to chifliiiii on WordPress Answers and to @shanebp.

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