Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 201 through 225 (of 3,608 total)
  • Author
    Search Results
  • #313075

    In reply to: Error after upgrading.

    John
    Participant

    I get the errors while enabling/disabling the components, I’m using the Buddypress newest version: 6.1.0

    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_activity CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_activity_meta CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_invitations CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_notifications CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_notifications_meta CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_friends CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_groups CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_groups_members CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_groups_groupmeta CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_messages_messages CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_messages_recipients CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_messages_notices CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_messages_meta CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_xprofile_groups CHANGE COLUMN <code>id</code> id bigint(20) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_xprofile_fields CHANGE COLUMN <code>id</code> id bigint(20) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_xprofile_data CHANGE COLUMN <code>id</code> id bigint(20) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_xprofile_meta CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_user_blogs CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_user_blogs_blogmeta CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/workspace/wordpress/wp-includes/wp-db.php:1491) in /home/xxx/workspace/wordpress/wp-includes/pluggable.php on line 1281
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/workspace/wordpress/wp-includes/wp-db.php:1491) in /home/xxx/workspace/wordpress/wp-includes/pluggable.php on line 1284
    #312658
    clickallco
    Participant

    I see now. From looking at the plugin code it could use some cleaning up, although its still fine to use.

    If you’d like to have more control, and you know how to code, you could override the buddypress/members/single/profile/profile-loop.php (in BP Nouveau) and create a loop with tabs instead.

    It should be easily doable with js modifications or using pure CSS using radio inputs.

    Here’s an example – use the js from something like https://codepen.io/liav80/pen/KzpWzy and alter the loop in profile-loop.php (as an example) to be

    <?php if ( bp_has_profile() ) : ?>
    <div id="wrapper">
    	<?php
    	while ( bp_profile_groups() ) :
    		bp_the_profile_group();
    	?>
    		<?php if ( bp_profile_group_has_fields() ) : ?>
    			<?php bp_nouveau_xprofile_hook( 'before', 'field_content' ); ?>
    					<?php
    					while ( bp_profile_fields() ) :
    						bp_the_profile_field();
    					?>
    						<?php if ( bp_field_has_data() ) : ?>
    							<div data-tabname="<?php bp_the_profile_field_name(); ?>">
                            			<div class="tabs-inner"><?php bp_the_profile_field_value(); ?></div>
    							</div>
    						<?php endif; ?>
    						<?php bp_nouveau_xprofile_hook( '', 'field_item' ); ?>
    					<?php endwhile; ?>
    			<?php bp_nouveau_xprofile_hook( 'after', 'field_content' ); ?>
    		<?php endif; ?>
    	<?php endwhile; ?>
    	<?php bp_nouveau_xprofile_hook( '', 'field_buttons' ); ?>
    </div>
    <?php endif; ?>

    It should give you a start to change things from there.

    #312639
    scox1
    Participant

    I have a plugin for LDAP/AD integration on my site that maps to the user’s buddypress profile fields including profile picture. The profile picture shows up on the profile page, directory, forum. It even shows up on the membership list in groups. However, it doesn’t show up for the administrators of the group listed above the group name or on the invite page. We are using the Woffice theme, which buddypress is integrated with. Any suggestions are greatly appreciated.

    #312558
    clickallco
    Participant

    Could you elaborate? Currently this is an already built in function in Buddypress.

    Go to your wordpress dashboard followed by clicking on Users > Profile fields > click on the button called “Add new field group” and you got a new tab you can fill out with profile fields.

    #312550
    lynnapp
    Participant

    I figured it out I had the if required fields go to page checked in Profile Builder Tools checked. But this users required fields were all okay, but it checks all the fields regardless of roll so I can’t use that. Thank you for replying.

    #312547
    bojates
    Participant

    Thanks. I’m not using the Friends module, and I’m not finding an issue with the private messaging returning results. It’s just the full range of profile fields being searched, I think, that’s causing the problem with too broad a search result.

    I am happy to write some custom code. Has anyone got some pointers on where to start?

    Thanks.

    #312518
    benoitos
    Participant

    Hi all,
    Each member’s home page is currently empty at “siteurl/members/namemember” and the fields entered by users appear on their profile page at “siteurl/members/namemember/profile”
    I do not understand what this home page member is useful for ? Because currently this members home page does not provide any information, so I try not to display it …

    Perhaps other informations or fields should appear on each member’s home page when Buddy Press is used more fully?
    Thanks 🙂

    #312510
    pinballw
    Participant

    Thanks. I have to say, this seems like an oversight considering how unintuitive it was to find the Extended fields and then for tabs to be present on the Extended profile page but not on the primary profile page. I can appreciate the work that would go into this, I am just surprised I’m in the minority bringing this up and a ready made solution isn’t available/built into the core.

    Thanks again.

    pinballw
    Participant

    I am relatively new to using BuddyPress but have spent a lot of time trying to find an answer to my question and I am at a total loss.

    I have created several xProfile fields under Users > Profile Fields but none of them display on the WP User profile (Admin Dashboard > Users > Edit or user-edit.php) for any given user.

    Fields:
    Name, Profession, Phone, Email, Address, Date of Birth, Emergency Contact Name, Emergency Contact Phone

    Ideally these fields would be displayed on the WP User profile with a header such as Personal Information.

    #312414
    sunbaghdad
    Participant

    I’m working on Educational community website, where students will create their accounts. In that registration form I want to Include their current location, College, Current city, Year of passing and so on. But I just want to add smart fields when they register.

    For example:

    If while registration, a student click on the field called ‘College’, he will add its name manually :
    some will type : ” St.xavier’s college “
    some will only type: ” St.xavier’s “
    I dont want that case.

    So i want to make it like if student type just “St. ” he will get list of colleges in dropdown starting with ‘St.’. something like facebook profile fields.

    I hope you are getting me !!!

    #312343
    Varun Dubey
    Participant

    @cmsplay try https://wordpress.org/plugins/bp2wp-full-sync/
    It will allow you to map xprofile fields with WP core first name and last name

    #312324
    cmsplay
    Participant

    Yes. Other than matching field slugs, it’s not made explicit how to match imported metadata to xProfile fields. (Guesswork. Trial and error.)

    #312295
    Chuck141
    Participant

    Hi,

    I am using this code to pull social links from xprofile fields into the users profile header:

    function bpfr_socialize_profile () {

    echo '<br>'; // don't remove !

    if ( $data = bp_get_profile_field_data( 'field=Twitter ' ) ) :
    ?>

    /" target="_blank" title="Twitter"><i class="icon-twitter"> </i>Test Twitter 

    <?php endif;

    I am looking to do the same but with custom urls. So for instance if they type in Buddypress.org, that text will appear in the header and link to the website. I am no coder and with a few tweaks of above code, I can get it to show the url, but only with the text that I choose myself displayed in </i>Test Twitter. I want the text which the user types in to appear. I have searched some tutorials and tried a few different options but nothing works, I wish I could code! 😀 Hopefully this is easy enough. Can anyone help?

    EDIT: If its easy enough, I would prefer the text to show in a form of a button, but text will do for now.

    Thanks in advance.

    Chuck.

    #312198
    kjcarleo
    Participant

    That doesn’t appear to address the issue. I want to be able to assign them to a particular role (User Role Editor), in this case, I created one called “Community Outreach Coordinator” and I simply want them to have permissions to edit user and extended profile fields.

    Kevin

    #312073
    coopman14
    Participant

    Is it possible to create various groups of one-to-many connections? It seems Users can only create one set of connections (“friends”) or member groups that are many-to-many groups where everyone joins a single conversation. Can I create additional one-to-many groups, for example “friends”, “family”, “colleageus”, etc.? Ideally the user could then limit visibility of profile fields based on these groups, i.e. some fields would be visibile to “friends” connections, others visible to “family” connections, etc.

    Likewise, in the scenario above, could each user individually select which one-to-many group to put other members into? For example, User A may consider User B in their “family” group of connections, thereby providing User B with visibility to profile fields they have selected for visibility to “family”. User B may consider User A in their “friend” group of connections, thereby providing User A with corresponding profile visibility.

    Thanks for your help!

    a3132
    Participant

    Okay, I have learned to use code to show profile fields on different parts of the page. But I was wondering if it were possible to show or hide one field based on whether the profile member and the member viewing the profile were a match in another field.

    For example, could I:

    show the field favorite color if a man is viewing a woman’s profile or a woman is viewing a man’s profile – but – hide the field favorite color if a man is viewing a man’s profile or a woman is viewing a woman’s profile?

    By the way, thanks for the support forum. It’s been a lot of help.

    #311916
    iamthewebb
    Participant

    Hey, I run a fairly similar sized site and thankfully only see 1 or 2 a year, we run..

    Akismet & Antispam bee

    I also receive an email whenever someone signs up and if the email looks in anyway suspect I’ll check their account,it’s normally fairly obvious from the entries to the xprofile fields whether they are legitimate or not and they are blocked.
    What anti spam plugins are you currently using as I’m sure I remember seeing ones that would throttle or block anyone abusing?

    Varun Dubey
    Participant

    @amnamn180 you can use member type https://wordpress.org/plugins/bp-member-type-generator/ and with their pro version, you can also display different x-profile fields for member types.

    #311877
    pentagonvalley
    Participant

    I personally use ACF to add new profile fields into the main wordpress profile section so that I can easily get and set the meta/field key information. With that information, I can then display the data where necessary whether in an email or on the site.

    However, I know you are trying to do it specifically from the Extended Profile. I have been trying to figure that out for quite some time now. It may be more complicated than a simple token call. I would love to know the answer to this myself!

    pizzapoet
    Participant

    I built a website for a client where we needed to collect some additional information on registration from users that would ultimately be used in their profiles (it’s pretty much a social media platform for local artists).

    I have it so that when someone sign ups a notification email goes to my client so he can make sure they are a legit artist to keep them on the site. The notification email just has the default info in it.

    Is there any way to include the additional extended profile data in the notification email?

    Wordpress 5.4.1
    Buddypress 6.0

    #311847
    Soufiane Bahjaoui
    Participant

    Hi,
    I’m using last version of buddypress with profile fields, I have two issues :
    1) i get in profil page phone as html not text like that :
    Phone <a href="tel://06666666669&quot; rel="nofollow">0666666666</a>
    2) how can i validate phone number in registration page? i used jQuery to do that but does not work, this is my code jQuery:

    jQuery(document).ready(function(){
    
    //Code Starts
    function validatePhone(field_49) {
        var a = document.getElementById(field_49).value;
        var filter = /^[0-9-+]+$/;
    
        if (filter.test(a)) {
            return true;
        }
        else {
            return false;
        }
    }​
    //Code Ends
    
    //Code Starts
    jQuery('#field_49').blur(function(e) {
       if (validatePhone('field_49')) {
           $('#field_132').html('Valid');
           $('#field_132').css('color', 'green');
       }
       else {
          $('#field_132').html('Invalid');
          $('#field_132').css('color', 'red');
       }
    });
    //Code Ends
    
    });

    Thnak you

    #311787
    a3132
    Participant

    I had been using this code to show profile fields on a member’s card in the directory. It was working perfectly until the last BuddyPress update. After the update it disappeared. (even with all other plugins disabled and on the Twenty-Twenty theme)

    Is there a fix for this or should I change something in my code?

    function add_city_to_members_loop() {
    $field_content = bp_get_member_profile_data( ‘field=City’ );
    if( $field_content != false )
    echo ” – ” . $field_content;
    }
    add_action( ‘bp_directory_members_item’, ‘add_city_to_members_loop’ );

    #311772
    clancel
    Participant

    Hi. Register link in Login Page doesn’t direct to the same Register Page with the Profile Fields. How can I make the register page redirect to the same page with the same items?

    http://www.polyspora.com

    #311665
    rootcr8r
    Participant

    Profile Fields not displaying My issue

    amberturner
    Participant

    Hello all.

    I’ve been searching for this for a couple of weeks now and haven’t found a solution.

    I have groups set up on my site, and each member should be part of only one group. It’s a directory with different “chapters (aka groups)” of members.

    On the site, I have an admin for each group.

    I want to be able to allow that admin to edit only the users in their group and no other members on the site (regardless of role) when they are in the WP Dashboard/or front end of the site logged in. This includes editing their xProfile information the same way site admins can.

    Is there a way to make this happen? This site has nearly 50 chapters, and I don’t want an Admin from GroupA to be able to edit members’ info in GroupB.

    (Not looking for admins to be able to edit the group information. But to edit the user’s information like email address, avatar, and other xProfile fields).

Viewing 25 results - 201 through 225 (of 3,608 total)
Skip to toolbar