Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 4,476 through 4,500 (of 5,755 total)
  • Author
    Search Results
  • #98236

    In reply to: Adding xprofile fields

    Hugo Ashmore
    Participant

    And why are you not simply using the backend ‘Profile Field Setup’ to add new profiles fields for users to complete, is there some particular requirement you have or is this a plugin you’re writing?

    #16652
    ilyarogov
    Member

    I need to add several fields to a member profile. I tried using xprofile_insert_field(), but it crashed the site. Is there a function I need to call before/after to add the necessary fields to the database? If someone could post a working code snippet that shows how to add a field for members to fill out, I would greatly appreciate it.

    Thanks

    #16638
    takuya
    Participant

    I’ve been searching this for a few days, but I still haven’t found anything close to the answer.

    I wonder if BuddyPress has a function to let users call a certain xprofile field just like the way we call it from the_author_description, outside BuddyPress loop but in a normal WordPress loop. I want to create an author box where the description field is taken from xprofile.

    Similar but old topics…
    http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/calling-specific-profile-fields-individually/
    http://buddypress.org/community/groups/creating-extending/forum/topic/functioncall-to-access-custom-profile-fields/

    #16619
    grezza
    Member

    Hi,

    Im trying to do something which I thought would be a relatively simple task but seems to be impossible without alot of custom coding.

    I am using the “More fields” plugin to add some checkboxes to a post. These checkboxes will allow a post to be associated with genre of book.

    I am also using buddypress. When a user registers I want to be able to give the user the option to choose which book genres they are most interested in, and then save it into their profile info. These genres obviously have to be the same as the genres which i am tagging my posts as (the custom field ive created in more fields).

    Can anyone think of a way I can allow users to choose which genres (multiple checkboxes) they are interested in. I could of course create a profile field containing the book genres in the “profile field setup”, but then they wouldnt be the same as the checkboxes im using to “tag” posts with and therefore id be maintaining two sets of data which are in no way linked and would be useless for reporting purposes.

    Thanks for any help, it would be much appreciated.

    grezza
    Member

    Hi,

    Im trying to do something which I thought would be a relatively simple task but seems to be impossible without alot of custom coding.

    I am using the “More fields” plugin to add some checkboxes to a post. These checkboxes will allow a post to be associated with genre of book.

    I am also using buddypress. When a user registers I want to be able to give the user the option to choose which book genres they are most interested in, and then save it into their profile info. These genres obviously have to be the same as the genres which i am tagging my posts as (the custom field ive created in more fields).

    Can anyone think of a way I can allow users to choose which genres (multiple checkboxes) they are interested in. I could of course create a profile field containing the book genres in the “profile field setup”, but then they wouldnt be the same as the checkboxes im using to “tag” posts with and therefore id be maintaining two sets of data which are in no way linked and would be useless for reporting purposes.

    Thanks for any help, it would be much appreciated.

    #16580
    junger
    Participant

    Hi all – for some reason, I’m completely unable to use bp_get_member_user_id() in the header.php file of my bp-default theme.

    I need to pull logged in user ids to show them navigation based upon their xprofile fields, but bp_get_member_user_id() won’t generate anything in the header.

    If I put it in the footer, it works, and I can store it as a variable, but since the header navigation loads first, it doesn’t show the right content.

    How can I successfully generate a logged in member’s user id in the header?

    #98008

    In reply to: BuddyPress Spam

    pcwriter
    Participant

    Humans always fill out required profile fields. :-)

    #97926

    In reply to: Profile Custom Fields

    LPH2005
    Participant

    We should add more to the codex about profiles…. I’m tied up for a few days. If not tackled by Thursday then I’ll add a page with some text and links to questions (with answers).

    #97924

    In reply to: Profile Custom Fields

    teebes
    Participant

    Once the fields are populated by a user, they will show up within their public profile page.

    #16546

    How do I get the custom profile fields to show up on a users profile? I made several custom profile fields.

    #97919
    junger
    Participant

    Hi, I’m still seeing this issue. Not so much on the spam side, but I’ve got a field that is set to be required that isn’t actually required in order to sign up.

    It’s in a 2nd group of profile fields, if that matters. Here’s the relevant code, which should be working … but isn’t.
    http://pastebin.com/Gq5Ay5fH

    #97918
    junger
    Participant

    @jvoss — are any of your fields required? If so, are they actually forcing users to fill them out?

    I was able to add my 2nd and 3rd profile fields to registration, but the “required” fields can be bypassed without filling them out.

    #97754
    Andrew Tegenkamp
    Participant

    @EvanBerard ~ I hope this helps, but if not, let me know and I’ll see if I can help some more. The code is certainly not ready for prime-time but does give the ability to add profile fields for groups in Buddypress. You have to know your way around the code a little to understand what is going on though. You can see loader.php @ buddypress-group-fields.php @ http://pastebin.com/DfxwhLXU and compare it to my starting point which is the BP Group Extension API in the BP Codex @ https://codex.buddypress.org/developer-docs/group-extension-api/ to see what I’ve done, which isn’t much, but hopefully it helps you a bit! The ZIP is online for now at http://dl.dropbox.com/u/244479/buddypress-group-fields.zip if you want it but probably won’t keep that up there forever so I wanted to include the code as well.

    #16462
    Jiath
    Participant

    Hi,

    I have intentionally missed out some field when I registered a test account.
    When I went back and try to Edit Profile, I filled up all the missing fields and click Update.
    However, it merely refreshes the page but nothing gets updated.
    I am not sure what is wrong.

    Do anyone know whats wrong?

    Thanks so much!
    Regards
    J

    #97637
    evanberard
    Participant

    Andrew,

    Yes that’s exactly what I’m talking about :) I’m not really a coder, but I’m sure I can tweak it myself :P Could you send it my way?

    Thanks a million :)

    Evan

    #97636
    Boone Gorges
    Keymaster

    Please don’t bump your post more than once per day, especially on the weekend.

    The Base button corresponds to the Base profile fields group. There is no easy way to turn this off at this time.

    #97634
    Anonymous User 96400
    Inactive

    There are hooks in place where form fields can be added and validated. You’d need to code it, though. Or get it coded. Just have a look through the group templates and you can find quite a few. For validation hooks you need to look in bp-groups.php.

    #97633
    Andrew Tegenkamp
    Participant

    I don’t know of anything like that at the moment and have poked around a little for it. Just curious, for your application, would it be the same profile fields for each group? Like Facebook groups have Location, Website, etc for each group but it’s the same list for each group I believe. I’ve been messing around with the Group Extension API (https://codex.buddypress.org/developer-docs/group-extension-api/) and have a basic plugin that has a few of these already pre-defined. It is certainly not very dynamic (yet) but if you have a set you need, I could send you that modified to your list, or the code changes from the base API to what I have if you’re interested in coding it yourself. That’s assuming someone else doesn’t come in and show us both a plugin that already does it which would not surprise me either :)

    #16460
    evanberard
    Participant

    Hi, I’m wondering if there’s any way to add a tab to groups which just displays group information the same way the profile fields are displayed. For members, you can set different fields that they can fill out for their public profile. I want to have this same functionality for groups. Is this possible?

    Just to make sure you know what I’m talking about: Go on facebook and go to any group or fan page. Click the info tab and see what I mean.

    #97532

    In reply to: CSS for member page

    thelandman
    Participant

    You can use xprofile fields to specify certain CSS values in the users profile. Then you can retrieve the field value in the profile and modify the profile CSS with jquery. Its a bit of a work around but it works for me. Here’s an example:

    1. Create an xprofile field and name it ‘Profile Background’
    2. Edit your profile in buddypress and insert ‘#000000’
    3. Go to wp-content/themes/yourtheme/members/single/member-header.php
    4. On the 2nd line, just after “ paste the following code:
    `
    $(“#wrapper”).css(“background-color”, “”);
    `

    This will modify the profile background color according to what ever value you put in ‘Profile Background’

    This is just off the top of my head, I’ll check how I’ve done it once I’m home this evening. I will be writing a plugin for this. The only drawback is the user needs javascript enabled other wise its pointless.

    plinth
    Participant

    Hi, I’ve added a couple of extra profile fields (address, post code and a T&C checkbox – all required fields). When I go to my profile page and try to edit my profile, I get the following error:

    `Warning: trim() expects parameter 1 to be string, array given in /xxxx/xxxx/public_html/wp-content/plugins/buddypress/bp-xprofile.php on line 717

    Warning: Cannot modify header information – headers already sent by (output started at /xxxx/xxxx/public_html/wp-content/plugins/buddypress/bp-xprofile.php:717) in /xxxx/xxxx/public_html/wp-includes/pluggable.php on line 890`

    Any assistance gratefully appreciated, Toby

    Hugo Ashmore
    Participant

    To go about doing this would require fairly advanced PHP skills and experience with the BP API, it’s not a straightforward task. Not sure if anyone has attempted this, think it’s been discussed or touched upon briefly before

    Not sure this does make sense though would it not result in possibly a very bloated xprofield table full of user created one off custom fields.

    Jill Lawrence
    Participant

    (bump) Well it’s been about 7 days and I haven’t received a response. I hate to ask because I’m sure everyone’s busy but could someone at least point me in the right direction?

    Thanks,
    Jill

    #97086
    Narada Das
    Participant

    Thanks @r-a-y – I guess then that I do need TinyMCE to edit the extended profile fields for better security.
    Im trying to understand why from the above linked articles it seems to be a problem to activate by plugin. Even Boone has trouble with it! And yet we have TinyMCE in posts and in Eventpress events etc. What is so different with the extended profile fields?
    And if this is really a problem without a good solution – is there some way to at least allow BP members to add pictures to their profile page?

Viewing 25 results - 4,476 through 4,500 (of 5,755 total)
Skip to toolbar