Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to filter extended profiles fields editings?

  • Is there a way to filter the content of the fields editted by users in their profiles?

    I want to have some fieds like “alternate email”, “real name” or “social security number”. The first one needs to check if the field really contains an email. The second needs to be limited for 80 characters. And the third needs to have only numbers.

    Wondering if those things are possible with extended profiles… Someone can help me???

Viewing 9 replies - 1 through 9 (of 9 total)
  • #help! please!


    contoaberto
    Member

    @contoaberto

    #plz!


    peterverkooijen
    Participant

    @peterverkooijen

    No, they’re not possible. Xprofile is an underdeveloped mess with low priority in the roadmap. There is also zero privacy/security in Buddypress, so storing social security numbers is asking for trouble.


    Boone Gorges
    Keymaster

    @boonebgorges

    Actually, it is possible to do this kind of verification. There’s just no UI for it.

    Look in buddypress/bp-xprofile/bp-xprofile-classes.php, method BP_XProfile_ProfileData::save(). There is an action hook ‘xprofile_data_before_save’ that happens (you guessed it) before the save. You could hook a custom filtering function to this action and validate your data that way.

    @peterverkooijen said; “There is also zero privacy/security in Buddypress”. Care to expand upon that Peter? Our site isn’t ‘open for business’ yet, but when it is our members will expect some privacy, ie., profile stuff set to private and private group posts actually being private. Are you saying it can’t/won’t be properly private?


    contoaberto
    Member

    @contoaberto

    hi, Boone Gorges,

    Thank u very much for the info. But I have to confess I’m very much a newbie to understand what I might have done. Would you mind please explain a bit more – maybe in a dummie way? :)


    mvvspr
    Participant

    @mvvspr

    @contoaberto

    Its better to notify using @mention feature.So that you will get your reply faster and also the notification goes to the user you intended to ask.Anyways I will do it for you.

    @boonebgorges
    hi, Boone Gorges,

    Thank u very much for the info. But I have to confess I’m very much a newbie to understand what I might have done. Would you mind please explain a bit more – maybe in a dummie way?


    contoaberto
    Member

    @contoaberto

    @mwspr
    Thank u very much.

    @boonebgorges
    Would u please help? Thank u in advance.


    indirakrishna
    Participant

    @indirakrishna

    The present profile field visibility settings are not at all good and not working also.

    When we allow users to change the visibility it is changing the default visibility to ANYONE which is not at all useful.

    We cannot expect a user to change each and every fields visibility while he is filling up the registration form.. I hope the owners of buddypress look into this BUG which is seriously a issue for privacy of users,, and if there is some other plugging which can add some privacy strictly please do mention them here.

    And I am expecting @boonebgorges reply for this Bug as I guess he is one of the most best plugin developer in buddypress

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to filter extended profiles fields editings?’ is closed to new replies.
Skip to toolbar