Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 1 through 25 (of 4,562 total)
  • Author
    Search Results
  • Profile photo of lucanorian
    lucanorian
    Participant

    I’m working on making a site that allows users to add collections of different post types (using the Pods plugin, so like books and movies and such) and display them on their profiles.

    Using the BuddyPress Xprofile Custom Fields Type plugin and its custom post type multiselector field type, I can allow users to select from a list of posts when they’re editing their profile. My problem now is that I want to have a button or link on the post’s page itself will automatically add the post to the user’s list without them having to go to the profile edit page.

    I’ve learned about xprofile_get_field_data and unserializing the array, but after hours of searching I still have no clue how to actually add to the array without using the edit page.

    I’m running all the latest versions of WordPress and the plugins mentioned earlier (Pods and Xprofile Custom Field Types) and I’m running it on the localhost or I’d include a link to it.

    #249838
    Profile photo of shanebp
    shanebp
    Moderator

    I’ve added a group in BuddyPress profile panel…

    If you add / move that group into the Base (Primary) field group in wp-admin > Users > Profile Fields, then it will appear on the registration screen.

    #249742
    Profile photo of johnywhy
    johnywhy
    Participant

    the basic php filter code was share with me, needed for this. Now i’m investigating how to put a ‘Rich Text’ checkbox on the fields editor.

    Feel free to help over here
    https://wordpress.org/support/topic/how-to-add-textarea-field-to-buddypress-xprofile-custom-fields-type

    thx!

    #249741
    Profile photo of johnywhy
    johnywhy
    Participant

    thank you very much!

    your solution is slightly different from this other one, which helps me learn.
    https://wordpress.org/support/topic/how-to-add-textarea-field-to-buddypress-xprofile-custom-fields-type?replies=5#post-8009134

    thx!

    #249706
    Profile photo of johnywhy
    johnywhy
    Participant

    BP IS AWESOME, AND THANK YOU to all the devs who built it.

    But, plz add multi-line, plaintext <textarea> field

    We don’t want our members formatting certain fields with bold text, big fonts, colors, etc etc. We want our CSS to control presentation of those fields.

    i feel this is a fundamental web-design principle, so i think it’s an important BP omission.

    i tried to add ‘textarea’ to plugin ‘buddypress-xprofile-custom-fields-type’. It almost works, and i think just needs a minor tweak to complete the mod, as explained here:

    How To Get Plaintext Multiline Field?

    thx!!

    #249701
    Profile photo of johnywhy
    johnywhy
    Participant

    note, i also edited the .po file, and generated a new .mo from that

    you can download my zip here:
    https://www.dropbox.com/s/nx0ox3weg5khlpi/buddypress-xprofile-custom-fields-type-JW-TEXTAREA.zip?dl=0

    i noticed modernizr.js mentions ‘textarea’. Not sure what it’s doing, but i don’t think this is the cause:
    ‘ var c = a.html5 || {},
    d = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,
    e = /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,
    f, g = “_html5shiv”,
    h = 0,
    i = {},
    j;
    (function() {
    try {
    var a = b.createElement(“a”);
    a.innerHTML = “<xyz></xyz>”, f = “hidden” in a, j = a.childNodes.length == 1 || function() {
    b.createElement(“a”);
    var a = b.createDocumentFragment();
    return typeof a.cloneNode == “undefined” || typeof a.createDocumentFragment == “undefined” || typeof a.createElement == “undefined”
    }()
    } catch (c) {
    f = !0, j = !0
    }’

    #249700
    Profile photo of johnywhy
    johnywhy
    Participant

    hmm, ok, taking a different approach. i’m inspecting donmik’s files in ‘buddypress-xprofile-custom-fields-type’. Hope that’s ok, donmik!

    i found ‘datepicker’ in:

    bp-xprofile-custom-fields-type.php
    classes\Bxcft_Field_Type_Datepicker.php
    lang\buddypress-xprofile-custom-fields-type.pot
    lang\en_US.mo
    lang\en_US.po

    (ignoring the non-english files for the moment).

    i simply duplicated all the ‘datepicker’ code-chunks in these files, and replaced ‘datepicker’ with ‘textarea’.

    also duplicated the file ‘classes\Bxcft_Field_Type_Datepicker.php’, renamed it ‘Bxcft_Field_Type_Textarea.php’, and removed any date-specific code i found there.

    and so on and so forth.

    then i zipped it, uploaded to wordpress, activate, and added my new Textarea field to a form.

    i actually got no errors, and actually got a text field on my registration form!

    unfortunately, it’s only a one-line textbox, not a multiline textarea.

    hrm. In inspector, the displayed field is:

    <input type="string">

    so something in donmik’s code, or BP, or WP, is causing this to render as an <input> rather than <textarea>

    ….

    #249696
    Profile photo of johnywhy
    johnywhy
    Participant

    thx for that! css will be our quick-and-dirty fallback. But not a long-term solution.

    it would be cool to develop a proper control. i’m guessing this is part of the recipe for displaying on the user-profile page:

    bp_profile_field_data()

    but would be awesome if someone can share the full recipe to develop a custom field.

    i’m looking here for clues-

    Profile Fields Loop

    and also searching the buddypress install for ‘multiselectbox’– just to see how that one gets handled :)

    thx!

    #249689
    Profile photo of calvinorenda
    calvinorenda
    Participant

    After adding the fields you want using xprofile, go to your regi page. If you are using google chrome, right click on the multiline box and inspect

    you should find out the the id of the visual/text box something similar this ‘wp-field_664-editor-tools’ (yours should be a bit different cos field number is different)

    you should also find out the id of the mce panel using the same method

    After that you should be able to add the custom css to your theme stylesheet.
    Example (hiding the item using css):
    #wp-field_664-editor-tools {display:none;}

    You may need to double check on the edit profile page. if it still appears there, you can use the same method to hide it.
    Hope this helps.

    #249668
    Profile photo of johnywhy
    johnywhy
    Participant

    hi, thx for reply.

    enter in user registration form, and display in user front-end profile.

    want to be able to use it like any other field in “user fields” editor.

    thx!

    #249651
    Profile photo of SuitePlugins
    SuitePlugins
    Participant

    Greetings vendocartoni,

    Cimy User Extra Fields seem to serialize these entries in the database. I do not know of a tool to assist with the import but if you are familiar with coding you can use maybe_unserialize to unserialize the data to an array then create an update/insert function to store the information to BP Profile.

    #249650
    Profile photo of vendocartoni
    vendocartoni
    Participant

    Hi, I’m trying to migrate from Cimy User Extra Fields (https://wordpress.org/plugins/cimy-user-extra-fields/) to BuddyPress xProfile to copy extra fields that I’ve used since 2014.

    On my db I’ve (for example) on _signups
    a:11:{s:20:”cimy_uef_wp_PASSWORD”;s:6:”user_password”;s:21:”cimy_uef_wp_PASSWORD2″;s:6:”user_password”;s:21:”cimy_uef_wp_FIRSTNAME”;s:0:”test_user_fn”;s:20:”cimy_uef_wp_LASTNAME”;s:0:”test_user_ln”;s:27:”cimy_uef_SCHOOL”;s:0:”test_user_schoolname”;s:13:”cimy_uef_CITY”;s:6:”test_user_cityname”;s:17:”cimy_uef_POSTCODE”;s:0:”19000″;s:12:”cimy_uef_JOB”;s:16:”cimy_uef_COUNTRY”;s:5:”Italy”;s:12:”from_blog_id”;s:1:”6″;s:10:”alo_em_opt”;s:1:”1″;}

    and I need to upgrade, for example:
    s:13:”cimy_uef_CITY”;s:6:”test_user_cityname”;

    a) _signups
    s:7:”field_4″;s:10:”test_user_cityname”;
    b) _bp_xprofile
    37(id autoinc) 4(cat campo) 6003284(id utente) test_user_cityname(city Genova in questo caso) 2016-02-09 09:54:05(data di inserimento autoincrement)

    I don’t understand how sync s:13 with s:7, what are s:13 and s:7?

    There is a tool to import/export users extra fields?

    Thanks.

    #249648
    Profile photo of johnywhy
    johnywhy
    Participant

    Solved.

    It’s this plugin:
    http://buddydev.com/buddypress/introducing-conditional-profile-fields-buddypress-plugin/
    really appreciate the awesome developer who built this!

    not this one. Unfortunately doesn’t work on WP 4.4.2
    https://wordpress.org/plugins/buddypress-conditional-profile-field/

    Profile photo of johnywhy
    johnywhy
    Participant

    BP 2.4.3
    Xprofile Custom Fields 2.4.1

    Hi

    How can i use BP controls on the registration page to load values into WP user fields?

    Alternatively, how to sync a BP field to a WP field, after registration?

    thx!

    #249600
    Profile photo of dlongm01
    dlongm01
    Participant

    WP 4.4.2
    X Theme 4.3.2
    BuddyPress 2.4.3

    Hi:

    This is a corrected version of a support query I raised the other day. I realised I had two plugins in use which were not helping and which are now deleted. But no change.

    However the issue described below persists.

    Plugins deleted: bbPress Enable TinyMCE Visual Tab (out of date) and Buddypress xProfile Rich Text Field (deprecated because rich text functionality now built-in to multi line profile field).

    Where necessary I have changed all my extended profile fields to multi-line.

    BUT:

    When I edit and add a URL on the profile front end the dialog box is displayed incorrectly. It appears below the page footer as a set of fields rather than a properly styled dialog box. Weird. (Link editign works fine on the back end).

    This screenshot here shows the link edit fields appearing below the theme footer: https://dl.dropboxusercontent.com/u/6442136/Buddypress%20link%20edit.png

    The theme developer (X Theme) say this is not a theme issue.

    Can anyone help me please. This is very inconvenient problem which I cannot figure out. All clues, hints and suggestions are welcomed.

    #249561
    Profile photo of dlongm01
    dlongm01
    Participant

    Hi:

    I have various rich text fields in my buddypress profiles.

    When I edit and add a URL the dialog box is displayed incorrectly. It appears below the page footer as a set of fields rather than a properly presented dialog box. Weird, messy confusing to users! (Issue drawn to my attention by a user.)

    Is this a known issue? Does anyone have any advice?

    Screenshot here shows link edit appaering below theme footer: https://dl.dropboxusercontent.com/u/6442136/Buddypress%20link%20edit.png

    I tried downgrading Buddypress to 2.4 so match the theme requirements but this made no difference

    Thanks for any guidance.

    WP 4.4.2
    X Theme 4.3.2
    BuddyPress 2.4.3

    #249532
    Profile photo of skunkgrunt
    skunkgrunt
    Participant

    Why in the world is it this difficult? This should be in buddypress core. Considering that buddypress is supposed to be a social network out of the box, and member profiles are such an integral part of any social network, very little thought has gone into the profiles page.

    Compare adding fields in buddypress to any other social network platform (elgg, oxwall, jcow, dolphin, etc.) and it’s just not there. Why should I have to dig into code just to add a profile field. There should be a drag and drop profile builder.

    Avatar location, cover photo, customizable sections and profile fields; they should all be drag and drop.

    I wish I was a coder. This is #1 on my priority list of buddypress improvements.

    #249530
    Profile photo of skunkgrunt
    skunkgrunt
    Participant

    I’d love to know more about this as well. I’ve been trying to find anything on modifying and customizing the profile page, but there is a serious lack of info on this subject. It’s like everyone using buddypress is perfectly willing to accept a crappy and mediocre profile page.

    The most frustrating part for me is the simple inability to add custom fields from the backend to the profile page. Why in the hell is this so difficult?

    Anyway, sorry for the mini rant, but at least I know I’m not alone in my quest.

    Profile photo of NixXxon23
    NixXxon23
    Participant

    Hello,

    i try to let users edit their profile fields in a thickbox “popup”.

    Here’s the code which is working so far BUT it’s not showing empty fields and i don’t get the clue why because it’s the same code like in /single/profile/edit.php.

    <!-- Begin display edit-profile button -->
    	<?php if ( bp_is_my_profile() ) : ?>
    
    <?php add_thickbox(); ?>
    <div id="edit_background" style="display:none;">
    <div>"here is the code of /single/profile/edit.php"</div>
    </div>
    <div class="background-edit" style="display: block;">
    		<a href="#TB_inline?width=600&height=550&inlineId=edit_background" class="overlay thickbox"><i class="icon-camera"></i> Hintergrund Bild ändern</a>
    	</div>
        <?php endif; ?>
        <!-- End display edit-profile button -->

    I hope someone can help me.

    I do have 1 or 2 other problems as well but maybe i should raise another topic for that?

    Thanks in advance and best regards,
    NixXxon

    p.S.: If needed i can provide an test-login and of course more infos.
    BP-Version: 2.4.3
    Wordpress: 4.4.2

    edit: removed the code of /single/profile/edit.php because it was confusing in the post … if needed i can put it back in the post.

    #249496
    Profile photo of Thakksy
    Thakksy
    Participant

    Hi folks,

    So on my site about a year ago i had Buddypress and bbpress installed on my site but recently decided to remove buddypress and keep bbpress. The only issue is that i’m not sure which database tables to delete below! I know that bbpress and buddypress are kinda related so don;t want to mess up bbress.

    wp_bp_follow
    wp_bp_friends
    wp_bp_groups
    wp_bp_groups_groupmeta
    wp_bp_groups_members
    wp_bp_notifications
    wp_bp_notifications_meta
    wp_bp_xprofile_data
    wp_bp_xprofile_fields
    wp_bp_xprofile_groups
    wp_bp_xprofile_meta

    Profile photo of Thorii
    Thorii
    Participant

    Hey,

    I hope someone can help my with a solution. I want to customize the member illustration in the members directory. In detail: I want to create special profile fields and these + an excerpt of an descriptional text should show up for each user in the members directory.

    So each member should be displayed in the members directory with his Image, first name/username, a excerpt of a text + 3 to 4 profile fields.

    Does anybody know how I can realize that?

    I would really appreciate any advice.

    Thank you in advance.

    Best wishes
    Thomas

    Profile photo of dlongm01
    dlongm01
    Participant

    Hi:

    I have various rich text fields in my buddypress profiles.

    When I edit and add a URL the dialog box is displayed incorrectly. It appears below the page footer as a set of fields rather than a properly presented dialog box. Weird, messy confusing to users! (Issue drawn to my attention by a user.)

    Is this a known issue? Does anyone have any advice?

    Screenshot here shows link edit appaering below theme footer: https://dl.dropboxusercontent.com/u/6442136/Buddypress%20link%20edit.png

    Thanks for any guidance.

    WP 4.4.2
    X Theme 4.3.2
    BuddyPress 2.4.3

    Profile photo of shanebp
    shanebp
    Moderator

    You can add profile fields via wp-admin > Users > Profile Fields

    You can search those fields with this plugin:
    https://wordpress.org/plugins/bp-profile-search/

    #249364
    Profile photo of shanebp
    shanebp
    Moderator

    My guess is that another plugin or some custom code or your theme is trying to apply a filter to
    bp_get_the_profile_field_id but the $field is not available.

    Try deactivating any plugins that deal with profile fields.

    To confirm that the issue is in your theme, try switching momentarily to a WP theme like 2013.

    #249255
    Profile photo of VlastimirSamolov
    VlastimirSamolov
    Participant

    Can anyone help me about Editing ‘Base’ Profile Group when i am going on the profile is just showing me the name but the other fields is not showing can anyone help me to show the other fields ?

    Best Regards

Viewing 25 results - 1 through 25 (of 4,562 total)
Skip to toolbar