Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 1,526 through 1,550 (of 3,608 total)
  • Author
    Search Results
  • #167809
    4ella
    Participant

    This is the old thread but the same question, I didn’t want to spam here that’s why I will ask the same question here again, I would like to dynamically populate buddypress data into custom post types gravity forms when the user is logged in, I am succesfully populating wordpress user meta, but I don’t know the code in functions.php for buddypress profile fields to make them work, I have already asked on Gravity Help forum, but there are plenty of questions like that and the same as mine question they have never been answered, I hope that maybe somebody from this forum already had to resolve that problem in the past.

    #167792
    nobodymove
    Participant

    @bphelp. I think I have discovered the culprit to this little mystery.. I have been using the Buddypress Members Import plugin: http://www.youngtechleads.com/buddypress-members-import/

    For some reason when I import my database, the plugin does not seem to process the xProfile Field visibility settings properly.. The profile fields are still listed as “Admins Only” But for some reason they are still visible to all users.

    Earlier, I manually added some new test profile fields and they worked fine. I also discovered, that if I edit, and re-save a user’s profile field after import, all profile fields for that user will then revert to the proper visibility settings.

    I have contacted the plugin author to make him aware of the issue, hopefully he can fix it. If you have any suggestions that might be a quick fix for this I’m all ears! ๐Ÿ™‚

    #167767
    nobodymove
    Participant

    @bphelp. Upon a little further research, I wanted to note that I created a new User Profile Group, created a private field seen by Admins Only in that group, and the settings seem to be working fine in that group. In my Base (Primary) group though, all profile fields still remain visible to all users. Does the Base (Primary) group automatically force all fields visibility public by default? If so, is there way to override?

    If there is no way to change the visibility in the Base (Primary), I suppose I can just put private info in the other Profile Group, but I’m curious if or how that may effect my database import..

    #167443
    nobodymove
    Participant

    Thanks @bphelp. Info listed below:

    1. Which version of WordPress are you running?

    3.5.2

    2. Did you install WordPress as a directory or subdomain install?

    Directory

    3. If a directory install, is it in root or in a subdirectory?

    root

    4. Did you upgrade from a previous version of WordPress? If so, from which version?

    3.5

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.

    Wordpress seems to be working fine

    6. Which version of BP are you running?

    1.7.2

    7. Did you upgraded from a previous version of BP? If so, from which version?

    1.7

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?

    Yes, a lot. ๐Ÿ™‚

    Allow Multiple Accounts
    amr users + buddypress
    buddypress group email subscription
    buddypress member import
    buddypress message attachement
    Buddypress Toolbar
    Buddypress Xprofile custom fields type
    comprehensive google map
    contact form manager
    events manager pro
    easy table
    form lightbox
    GRAND Flash Album Gallery
    Lightbox Galleries EWSEL
    Mass Messaging in Buddypress
    Online Backup for WordPress
    Peter’s Login Redirect
    SHortcode Widget
    User Switching
    WP Full Calendar
    WP Wunderground

    9. Are you using the standard BuddyPress themes or customized themes?

    I’m using Razor 1.1.3 from Themeforest/Parallelus

    10. Have you modified the core files in any way?

    No

    11. Do you have any custom functions in bp-custom.php?

    No

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?

    13. Please provide a list of any errors in your serverโ€™s log files.

    14. Which company provides your hosting?

    Network Solutions

    15. Is your server running Windows, or if Linux; Apache, nginx or something else?

    VPS hosting package

    #167393
    modemlooper
    Moderator

    If you look at this snippet for allowing youtube link to embed instead of showing a link you can wrap a function in an if this field is X then don’t remove link.

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

    #167360
    blg002
    Participant

    I am also curious if there is an answer to this.

    #167277

    In reply to: Creating New Plugins

    bp-help
    Participant

    @modemlooper
    I can understand that. It is better for everyone. Once I downloaded a plugin that was supposed to let you have conditional profile fields or something to that effect and it did not even work at all so I can appreciate them taking a closer look before blindly allowing a useless plugin on the repository. Anyway I will be making the changes you suggested after I go out and get my lunch. Thanks again for the advice!

    mixali
    Participant

    Hi Jay,

    I was having a similar problem and did as suggested here:

    https://buddypress.org/support/topic/bp-default-sidebar-login-not-working/#post-166898

    Hope it serves! Good luck!

    #166760
    walvin
    Participant

    Thanks for the code @sbrajesh

    I had the same issue, so I added it to my bp-custom.php and it worked liked a charm.

    #166737
    applegateian
    Participant

    Yes it works on profiles.php… but the text widget I use on a post page works for all the other xprofile fields?

    #166722
    applegateian
    Participant

    Hi there

    I’m using it in a text widget sidebar, which works for all the other fields.

    The spelling is correct and there are multiple options selected.

    Thanks,

    Ian

    #166630
    otfromtot
    Participant

    xprofiles works perfectly so far. Is anyone else having issues using required fields for the different profile groups?

    #166595
    Sea Jay
    Participant

    Thank you for the diagnosis and recommendations.

    I am using Responsive child theme with the default template. I’ve remove all plugins remotely related to registration.

    The last thing I just removed is a functions.php script to automatically add new users to a particular group when they register, below.

    So, then the question arises: where does the “Posted in” text come from? In BuddyPress settings, I chose a page called “Register” for registration, and the page itself uses the “Default” template. However, what Responsive file is default? I’m not seeing “Posted in” in /page.php/ or /post.php/. It’s in /sidebar-content-page.php/ but I haven’t selected it.

    Also, I am using Types and Views, but no views or templates are applied to any of those page types.

    /**
    * Automatically adds members to group when they are registered
    */
    function automatic_group_membership( $user_id ) {
    if( !$user_id )
    return false;

    groups_accept_invite( $user_id, 6 );
    }
    add_action( ‘user_register’, ‘automatic_group_membership’ );

    #166576
    @mercime
    Participant
    #166574
    Ben Hansen
    Participant

    the only fields which show on the register page are the ones that belong to the “base” (unless you have renamed it) profile field group.

    the non optional fields cannot be split you might be able to rename them however. you will find the option to add/define fields is under admin (network admin for multisite) > users > profile fields

    #166566
    @mercime
    Participant

    @jcollier Tested your site registration in IE 10 and getting the same issue. Made a Responsive child theme in my test install, used default page template for register and had no issues registering/activating new account.

    Could be the custom template used for register page – noticed that there’s “Posted in” text just before footer in your register page. Change register page template back to default page template, clear cache, check if issue is resolved. if that doesn’t work, deactivate plugins batch by batch to check which is causing the timeout.

    #166548
    Hugo Ashmore
    Participant

    Always perform a quick search first, sort of topic that has come up a few times.

    https://buddypress.org/support/search/?bbp_search=profile+fields

    keep scrolling down through them, you’ll find example code to work from.

    #166516
    SadNinja
    Participant

    http://wpmu.org/add-birthdate-email-and-url-fields-to-buddypress-profiles/ lets me add custom fields which is good enough for me. IDK why I didn’t find this sooner but maybe some other dumb person will find this and it will save them some time.

    #166495
    Eugene
    Participant

    I’ll certainly look into this solution more.

    When I started I was new to WordPress. Now I’m new to BuddyPress so am looking at the feasibility of integrating or replacing what I’ve written. I have a lot of specifc business rules in the profile I’ve written so I would prefer to use what I have, not to mention not to throw away all my work. The hidden but required fields is just an example of one of the many business rules I’ve written in my plugin.

    #166493
    Hugo Ashmore
    Participant

    No they wouldn’t as you are working in a child theme.. aren’t you! if not you should be.

    I’m not sure but scanning your post possibly suggests smething amiss in your understanding of BP, as modemlooper points out hiding fields is easy and along with the privacy controls on BP profile fields you can ensure that they are set to both required and only editable by admins so not sure why you need your custom form, but may have overlooked the reason.

    #166485
    Brajesh Singh
    Participant

    If you guys mean the the sites from the navigation, then you can use the following code in either your theme’s functions.php or bp-custom.php

    
    function bpdev_remove_blogs_nav(){
        global $bp;
    
        bp_core_remove_nav_item($bp->blogs->id);//
    
    }
    add_action('wp_loaded','bpdev_remove_blogs_nav');
    

    Hope that helps.

    #166475
    Sea Jay
    Participant

    Follow-up. One of our users just confirmed this problem on Mac Firefox and Safari:

    After putting in my registration information and hitting the submit button it takes a long time to process and the result I get is the screen shot below. [404 Fancy Meeting You Here… back on the /register/ URL]

    #166446
    inge12
    Participant

    Leofitz, WangGuard will check your user base for spammers and delete them.

    See https://wordpress.org/plugins/wangguard/

    The author says that “WangGuard not only protect your site from sploggers, spam users or unwanted users, WangGuard cleans your database from them. No plugin or service does this, only with WangGuard you will get this feature,” and I believe him. His English may not be too good, but the plugin is really outstanding.

    There’s just one consideration for you: In order to have your database cleaned up, you will have to submit far more than 500 queries the first month. Perhaps you can arrange to pay for a month?

    Here’s my suggestion to reduce database queries after that. (It worked for me.) Buddypress allows for the customization of User Profiles. Add a couple of questions that require a certain amount of intelligence to answer and make them required. That means the form will not be submitted either to WordPress or to WangGuard if the required fields are not filled out. It’s not fool-proof, but it decreased queries on my very busy site to just a few a day.

    Incidentally, I added a question, “How do you plan to participate?” Among the choices offered the user are these:
    “I want to increase my online presence.” and
    “I want to sell my stuff.”

    We don’t need anyone not bright enough to figure out that these replies do not make the user desirable. Now all I need is a script to automatically kick out users who choose these replies. ๐Ÿ˜‰ (As it is, they can be manually deleted if other users report them.)

    I don’t know what happens to a group when all the users are unsubscribed, so this may not be precisely what you are looking for. But WangGuard will make your site secure against almost all sploggers. (One registrant passed all tests on our site, and we had to delete manually, but that person must have registered manually too.)

    Good luck!

    Inge (http://ssnet.org)

    #166445
    Renato Alves
    Moderator

    Good one man… Post here if you come with the solution.

    #166414
    modemlooper
    Moderator

    You can hide fields from being edited easy. in members/single/edit.php you can exclude fields by ID. Use comma separated list.

    if ( bp_has_profile( 'profile_group_id=' . bp_get_current_profile_group_id() . '&exclude_fields=2,3,4' ) ) :

    full code example https://gist.github.com/modemlooper/5816548

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