Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 4,676 through 4,700 (of 5,701 total)
  • Author
    Search Results
  • #80898

    In reply to: BP Member Filter

    olizilla
    Member

    Just installed the plugin on WP 2.9.2 + BP 1.2.4.1 and as jpl888 points out on the WP forum, it can work with a little fettling:
    https://wordpress.org/support/topic/399989

    To install it I added the code from the pastebin link: http://pastebin.com/bw0suXwe to my members list page (members/index.php), changed the bp_filter_profile_field(”) argument to be the name of the profile field I wanted to filter on and on testing it, I got hit with the following error in the logs:

    `PHP Warning: Parameter 2 to bp_replace_members_filter() expected to be a reference, value given in snip…/wp-includes/plugin.php on line 166, referer: snip…/members/`

    So I found the bp_replace_members_filter(…) method at line 265 in the plugin file bp-member-filter.php and removed the ampersand from the 2nd parameter so the method signature becomes:

    `function bp_replace_members_filter( $has_members, $members_template )`

    After that filtering works for me where the profile field to filter on is a select box. Filtering on a multiple select box does not work for me, and as posted earlier filtering on checkbox profile fields is not yet implemented.

    Be warned though, I just checked the error log and removed the ampersand from the param and it then worked, I don’t know if that change will have any other side effects. I can see that it means I’m telling PHP that the method now expects a value rather than a reference, and that appears to be what BP is giving it, but beyond that…

    revolutionfrance
    Participant

    Hey Mike! Is there any way to customize this so that you add a tab to filter activity based on one of the profile fields? Thx for your help!

    #12243
    Josef
    Participant

    Anyone have any ideas as to how to sort the members list by a certain profile criteria? For example if I’d like to show users of only a certain type (example: buyer / seller) how would I do so?

    Also Is there a way to setup a second stage to the sign up process and actually require different classes of users to fill out divergent profile fields? (ie: require a buyer to fill in different info than a seller)

    I’m not sure how complex this implementation will get – Any help or suggestions greatly appreciated.

    Thanks!

    #80549
    WPChina
    Participant

    Ok, I have feedback for you on the “Import from Ning” plugin if I use it to upload a normal CSV file that is not originally from Ning. I hope the developer @boonebgorges of the plugin reads this to give him some ideas about expanding the ability to use this :)

    The plugin does work, but not entirely. In your CSV columns, you must have Name and Email as the first and second columns, respectively. If you do not have them in that order, it will not import. That is an easy thing to do though, so not a headache :)

    Here are some problems I found:

    1) I want to create usernames for my imported users. How are usernames generated for users when you import them? The “Import from Ning” plugin takes the ‘Name” field and makes that the username automatically. So if your name is “George Bush”, it will automatically create a username called “georgebush”.

    However, I do not want this. I have separated by “Name” field from the “Surname” field, so my user would have Name=George and Username=George. I do not want that. Instead I want to create my own usernames. However if I upload a column called “Username”, the importer does not recognize that. :(

    2) The “Import from Ning” plugin does a decent job of automatically aligning your xprofile fields with the columns in the CSV file. For selectbox fields, there is no problem. For textbox fields, there is no problem. For radio fields, there is no problem. However there are problems with these two fields: datebox and checkbox.

    What happens if I try to upload data into datebox? I tried uploading in the formats “1 January 1950” and “January 1, 1950” but the plugin ignored those, so I am unsure how to upload dates correctly. When I tried “1 January 1950”, it changed that and instead displayed “January 1, 1970”, so I feel that maybe I am near a solution…. however when I tried “January 1, 1950” in my CSV field, it just left that entire area blank… I have no idea about the correct protocol for uploading dates tat include months, days, and years together. But I feel I am near a solution….

    What happens when I include data from a checkbox? Nothing is included. :( For example, I have a field that is “Favorite Foods” and users can select more than one choice. In my field, I am using “~” as the separator. So I have “Pizza~Noodles~Fruit” in my CSV field, but the plugin ignores this. Therefore, for the “checkbox” field data, I am unsure of the correct protocol for how to prepare my data to upload using this plugin.

    I feel that this is a great plugin and we only maybe need some help figuring out the details from above.

    #80465
    josh101
    Participant

    That be cool.

    #80447
    WPChina
    Participant

    @DJPaul: tks for the info, though it doesn’t make me smile :(

    I searched for other plugins that allow for bulk import that include xprofile fields, but I find none. Any thoughts on ways to handle this? direct import via mysql is not a good solution as my client needs as wysiwyg as possible.

    Are we sort of in a “dead zone” now as people wait for WP 3.0 before coming out with plugin updates?

    #80096
    brianglanz
    Participant

    @boonebgorges and his work may help with both

    1. Under BuddyPress, Profile Field Setup, you can add a new field or field group, including text box type fields. As stated on that admin page, “Any fields in the first group will appear on the signup page.” An URL entered will be picked up as a link in the profile’s public view.

    While setting up profile fields, have a look at Custom Profile Filters for BuddyPress https://wordpress.org/extend/plugins/custom-profile-filters-for-buddypress/ with which, among other features “Administrators can specify certain profile fields that link to social networking profiles.”

    2. See BuddyPress External Group Blogs https://wordpress.org/extend/plugins/external-group-blogs/ with which individual users might include RSS in group and site activity streams even without blogs being enabled. See BP External Activity https://wordpress.org/extend/plugins/bp-external-activity/ for more admin options, or even FeedWordPress https://wordpress.org/extend/plugins/feedwordpress/ for user blogs.

    #11991
    kiwipearls
    Participant

    Buddypress 1.2.4.1 and WordPress MU 2.9.2

    I am constantly getting attacked by Spam Blogs registering to my site and creating blogs.

    I have done the following:

    Modified the .htaccess file with the code that is supposed to stop them
    Edited the fileds on my registration page
    Changed my registration slug

    Use the following Plugins:

    1. Akismet
    2. Bad Behavior
    3. WP-Ban
    4. WP-SpamFree
    5. WPMU-Block-Spam-By-Math
    6. WPMU Super Captcha
    7. Invitation Code Checker

    I also have required fields in my buddypress profile.

    What’s happening is these spam blogs are signing up, but somehow bypassing all the required fields. When I look at their profile, the only field filled in is their username. How is this happening? Is there some sort of backdoor signup page that I missing?

    When I go to try and signup and leave fields blank it won’t let me on my registration page. So this is just puzzling me.

    I have all this protection, but there is a hole somewhere that they are squeezing through. I have googled wordpress spam blogs and followed all the steps in the guides and still, they get in. The only way to stop this is to de-activate people from joining. Which is not what I want to do. I want real people to join.

    http://senilityguild.com/joinsenility/

    I eagerly look forward to more help on this.

    #79920
    justbishop
    Member

    Thanks :)

    I was actually coming to post that I didn’t really need it any more, but it’d still be useful info I suppose.

    In my case, the actual “blog” part of the main blog wasn’t being used for anything, so I’m just using that as the classifieds post system. I have custom fields set up (custom field template plugin) for users to call their remotely hosted photos, and am using a combo of the Members and Adminimize plugins to hide admin panel stuff that they don’t need to see. I also had to do some editing of the core wp-admin/edit-users.php to get rid of unnecessary profile fields in the backend, but nothing too bad that it can’t be redone after an update.

    #79836
    hardlyneutral
    Participant

    Agreed. I would love this functionality.

    #79567
    Kalman Labovitz
    Participant

    You might also want to try this plugin, https://wordpress.org/extend/plugins/custom-profile-filters-for-buddypress/, read the third option

    “Administrators can specify certain profile fields that link to social networking profiles. If I enter my Twitter handle ‘boonebgorges’ into a field labeled ‘Twitter’, for example, this plugin will bypass the default link to a BuddyPress search on ‘boonebgorges’ and instead link to http://twitter.com/boonebgorges. See custom-profile-filters-for-buddypress-bp-functions.php to configure this setting.”

    You might be able to hack it in a way that works for your site.

    #79566
    Kalman Labovitz
    Participant

    Not sure if this will help you, but you might consider trying this trick (see post by Boone Gorges), https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/remove-automatic-links-in-profile/.

    Hope this helps.

    #79548
    mrjarbenne
    Participant

    Here’s that plugin I was referring to: https://buddypress.org/community/groups/bp-profile-privacy/

    #79522
    Creative Slice
    Participant

    Anybody have a good idea how to make this happen?

    #11839
    Kalman Labovitz
    Participant

    Basic info about my site:

    WP version 2.9.2
    BP Version 1.2.4.1
    installed in Subdirectory
    Using standard BuddyPress theme

    #1 – How do I change the linking and URL structure?

    I have my site installed in a directory /WPplatform/ and have wordpress setup so it is my main website (meaning go to example.com and it is the blog). I did this by moving the .htaccess file and the index.php file to the root directory. This made is that at no time did it ever so the directory structure in the URL, so all the URLs left out the /WPplatform/ part, example, if you went to a category it was example.com/category/ (which still words).

    After installing BP many links (not all but many of the main ones BP created) link using the directory structure like /WPplatform/members/, even the main link to my home page is /WPplatform (which is a 404 page).

    How do I set it up that the BP plugin does not show or link to any part of my site with the /WPplatform/ in the URL?

    #2 – How do I only show base information in profile, but not additional fields I added?

    I want to setup the profile page in a way that when an NON logged in person veiws a members profile page they only see the base information and not the additional fields I created. I created these fields in a different field group.So…

    Field group A – shows to non-logged visitors
    Field Group B – closed to members only

    Is this possible? Anyone know were to even start trying to do this?

    Any help would be greatly appreciated.

    Kalman

    rich! @ etiviti
    Participant

    BP can’t fill every feature gap nor everyone’s wishes – why plugins are created. Sure this can be easily done with bypassing some of the xprofile data (or create your own fields) and hook into the wp_usermeta first/last name. (even though xprofile is syncing that data)

    peterverkooijen
    Participant

    @thelandman, in my solution I use javascript to generate the username from the weird semi-optional xprofile fullname field, hide the username field on the form, use the email login plugin so members don’t need the username to log in, add more custom code to synchronize the fullname and the fullname-derived username to all the various similar fields in the database, etc. It’s messy, but somewhat workable.

    The point is that it should not be that hard. Using full names, Firstname Lastname, should be part of the core. Seeing that none of this is fixed in 1.2+ and probably will never be fixed, I have no plans to upgrade to newer versions of Buddypress and will continue developing my version as a fork, more suited for professional and business use. If anyone is interested in working with me on that, please contact me directly.

    #11817
    #79263
    mrjarbenne
    Participant

    I use a Profile Privacy plugin created by http://www.jfarthing.com/. Sadly, the link to the plugin in my dashboard comes up 404 in the wp repositorty, and I can’t seem to find reference to it on his site. That said, the plugin allows for you to manage who can see certain fields in the profile (everyone, friends, user). When profile fields are set to “user” only the user and the site admin can view the info. Perhaps an attempt to contact jfarthing will met results. Good luck.

    #79237
    Psyber
    Participant

    I would use this, cool idea.

    #11796
    Creative Slice
    Participant

    We’re trying to figure out a way to show tags from an extended profile field on the sidebar. So tags from ALL site members in the category “skills” would show up as a clickable tag cloud which would link to a member list page with users having this skill.

    Any suggestions?

    Thanks!

    #79208
    nickmy
    Participant

    please its important

    ekawaii
    Member

    Hello,

    I’ll break this down into 2 parts.


    xProfile Custom Fields



    I’ve looked around and can’t seem to find the solution to my problem.

    Basically what I’m trying to do is display a Headline at the top of my users profile if they have filled out the custom profile field, if they haven’t filled it out yet then I wanted to display their fullname. Sounds easy right? Yeah but I can’t seem to get it right.. I can get it to display just the username but when it displays the headline it’s also displaying the username.

    I’m also doing this outside of the profile_loop.php it’s inside the profile.php using a highly edited version of the cosmicbuddy template. If anyone could help me I’d greatly appreciate it!

    Here is an example of what I want the page to display and what my code some-what looks like:

    if bp_profile_field_data( ‘field=Headline’ ) is filled out (this is the line i’m having problems with)
    bp_profile_field_data( ‘field=Headline’ ); display headline
    else
    bp_user_fullname(); display fullname
    endif


    Profile User Css Customization


    With myspace and other popular social networks around users want to be able to customize their profile to be unique from other users. I find that this also makes them more active on their profile as well as the website.

    I’m trying to do the same thing with CSS by letting the user edit their profile page background using div style. I have it working and here is the code I used along with adding the appropriate xprofile custom fields:

    <div style=”background-color:<?php bp_profile_field_data( ‘field=Background Color’ ); ?>”>

    This is just a small snippet of what I want to achieve, I’ve also created background-image, background-repeat, etc. You would need to create an xprofile field called Background Color and the user would need to type either the color word or an HTML color such as #FF0000 which is Red. Then you would have to place the div into your template wherever you want them to change the background color then close the div.

    I’m new to buddypress and I’d call myself a beginner in php so I’m sure there are much better ways to go about this, I simply want to share what I’ve thought up so far and see what others have to say about this.

    Ideally I would like to display the background color if only they have entered anything into the field so it would look like..

    <div style=”
    if bp_profile_field_data( ‘field=Background Color’ ); is filled in
    then display background-color: bp_profile_field_data( ‘field=Background Color’ );
    endif
    “>

    Another thing I’m trying to do is allow the user to display a banner above their profile if they specify the URL in the custom profile field. The problem I’m having is getting it to display a specific width and height without creating a blank banner space on another users profile that has no image. If i just put the profile field it doesn’t assign a width and height to the URL which means they could put any size of image.

    It would have to look something like

    if bp_profile_field_data( ‘field=Banner Image’ ); is filled in
    then display <div style=”width: 600px; height: 100px;”> <img src=” bp_profile_field_data( ‘field=Banner Image’ ); “> </div>
    endif

    So hopefully someone can have some input on anything I’ve mentioned above ^_^;

    #79090
    Hugo Ashmore
    Keymaster

    Not sure it will be that simple you may have to loop out the whole section in other words replicate the code that the line refers to but changing the id for the newly copied code so you then had all groups being displayed.

    To be honest unless there is real compelling reason for a new group of fields I would simply add the new field to the ‘Base’ group. If it’s important for registration I think it’s better added to the base group and set to ‘required’.

    #78996
    acreifi
    Participant

    The problem:
    multiselectboxfields cannot be saved by trying to save profile of a user.

    the errror-message:
    “There was a problem updating some of your profile information, please try again.”

    is still present in buddypress 1.2.3 and wordpress 2.9.2

    I need this function for releasing a webside !!!!!

Viewing 25 results - 4,676 through 4,700 (of 5,701 total)
Skip to toolbar