Search Results for 'profile fields'
-
AuthorSearch Results
-
November 27, 2018 at 3:39 pm #282205
In reply to: Different avatars being set……?
lookingahead
ParticipantOH guess what…? 😀 Figured it out.
I have a solution that so, sooo…..SSOOOOOOO many other people have been looking for, and I’m elated to say I’ve found it.
Been cruising Stack Exchange, various WordPress plugin support threads, installing plugin after plugin, reading blogposts made by developers, comments made by disillusioned masses….I mean, it’s endless.
But THANK GOD I found a solution!
So it turns out that the code that BuddyDev mentioned was not to blame for the 500 error I mentioned in my intro. It was actually due to one of the two plugins that is recommended in BuddyDev’s tutorial (and they are now fixing that bug). 🙂
I figured this out as I tried to reproduce the error while activating plugins in a different sequence.
The first time I did this, I’d had BuddyPress disabled when I’d installed both plugins. I’d also already put the code mentioned in their tutorial into my bp-custom file. I then activated BuddyPress, and the site failed.
This time, I had BuddyPress already activated, then installed and activated one of the two plugins BuddyDev recommended to use in the tutorial…and all was well. THEN…I installed the second plugin. And upon clicking ‘Activate’ the site failed again. NOTE: on the second attempt to reproduce the 500 error, I hadn’t put the code from the tutorial into my bp-custom file….
And according to BuddyDev, even before I tried to reproduce the error, the bp-custom code I was using was sound.
So when the site failed upon my attempt to reproduce the error, I knew: that plugin was to blame.
Then, I found out more about that plugin…it is designed to be used for users to have extra fields to fill out upon signup, fields that would show in their Member Profile. And I have Member Profiles disabled. Wa-la!
I then asked BuddyDev if I needed the plugin that failed…and THANKFULLY they said, ‘no — not needed for what you want to do.’
WHEW!! 😀
So, a summary:
– Use custom code in bp-custom (pasted below)
– Use one plugin in particular from BuddyDev
– Do not use another plugin recommended by BuddyDevThe plugin to DEFINITELY use, that was listed in their tutorial: ‘BuddyPress Member Type Generator’…that affects the ability for Webmasters to set custom member types AND an avatar specific to every custom type created! 😀
The other plugin that was recommended in that tutorial, that is NOT needed to change user avatars for custom member types…not ever, as it has nothing to do with avatars — it was merely recommended in their tutorial so people could manage user profiles: ‘BP XProfile Member Type Field’
SO. If you want to have a different default avatar for different member types, then you will need to use the ‘BuddyPress Member Type Generator’ plugin. Not the other one.
Steps to take:
1.] Download the ‘BuddyPress Member Type Generator’ plugin from BudyDev2.] Read their tutorial (I’ll paste a link below in follow-up comments to this comment)…do everything EXCEPT install the ‘BP XProfile Member Type Field’ plugin — it’s not needed for assigning an avatar via custom member type; it just is recommended in their tutorial to use so you can manage user fields 🙂
3.] Use the code I’ll also paste below (in the follow-up comments) — modify it to your site’s name but insert your site name where I typed ‘sitenameprivate’…etc.
4.] For creating more avatars with custom member types in the future, you’ll always have to update that same code in the bp-custom file…via FTP/SFTP; tbh that process is easy as pie once you realize how to do it
5.] For making your life easier with switching out avatar images for member types without having to re-do the bp-custom file: just save over the image in your media library that is used for that particular member type…so the path is the same and your code won’t need to be changed
Simple, yet difficult to find.
Thank GOD FOR BUDDYDEV!!! <3
November 18, 2018 at 11:35 am #282003Topic: Mapping the xprofile fields
in forum How-to & Troubleshootinggiannisff
ParticipantHello all, i’m happy to be back after a lot of years. The project is… i have 10 xprofiles fields “places i love”. Place1, Place2…. and so on. Is there a way to transfer all of the places to a google map? Then i try a new tab to the user profile named “Places i love” to show the map.
I have check some plugins with no luck.
Thank a lot.November 8, 2018 at 11:53 am #280876In reply to: Problem Profile Visibility Settings
Prashant Singh
ParticipantHi,
That is a default profile field and you can not change the visibility of that. But if you will create other profile fields then you will be able to change their visibility easily.
Thanks
October 30, 2018 at 12:20 am #279677In reply to: nowhere for user to enter bio
3diuk
ParticipantThanks, with your advice I was able to add the fields to the users edit profile page, but I dont see a way of getting the information to appear on their profile page when others view it.
Can you advise?
October 29, 2018 at 9:07 pm #279666In reply to: Display member details in card
Prashant Singh
ParticipantHi,
Please check this thread: https://buddypress.org/support/topic/adding-xprofile-fields-to-members-directory-list-items/ as well as you can test this plugin https://github.com/wbcomdesigns/bp-modify-member-directory-header as well.
Thanks
October 27, 2018 at 10:54 am #279456In reply to: members page
Venutius
ModeratorOne option would be to take a look at BP Profile Search with this you should be able to specify which fields get searched.
October 21, 2018 at 10:32 pm #279275In reply to: No “Create Group” button is visible
tsortore
ParticipantHere is my theme and a list of plugins, most of which came with the premium theme. There have been no complaints I’ve found of the groups not working “out-of-the-box” with this theme.
*** These were the only plugins that did NOT come with the theme.
Theme: WOffice
Active Plugins:- Akismet Anti-spam
- All in one WP Migration
- BP xProfile Location ***
- BuddyPress
- Buddypress Xprofile Fields Custom Css Classes ***
- DP Pro Event Calendar
- Eonet Live Notifications
- File Away
- GamiPress
- LocateAnything ***
- Slider Revolution
- Unyson
- User Role Editor ***(suggested and tested compatible plugin)
- Wise Chat
- WP ERP
- WP ERP – PDF Invoice
- WP Bakery Page Builder
Still no luck getting group creation working.
Thanks for your response! Any ideas?
October 16, 2018 at 4:05 pm #278930In reply to: members csv
shanebp
ModeratorIf that plugin creates WP users, then BuddyPress will find all 200 members.
And:- You will need to create BP profile fields and data for all those members
- You could write a custom script to do that
- You do not need to export / import a .csv
October 14, 2018 at 7:34 pm #278679Prashant Singh
ParticipantYes, it is valid for legacy template.
Also in place of #input you have to use (.profile-edit #field_number).
‘field_number’ represents fields like field_1, field_2 so you have to just replace field_number with real field id. You can find it in inspection like this: https://prnt.sc/l61ajf
October 12, 2018 at 6:39 pm #278546In reply to: social media links in profile
Prashant Singh
ParticipantYou can add profile fields for them and name them on social media accounts like Facebook Twitter and all then members will see them on their profile.
Thanks
October 10, 2018 at 12:38 pm #278440Bit Boy
ParticipantIn that case, you can put it in your bp-custom.php or your theme/child theme’s functions.php
/** * Start buffering the visibility template. */ function bitboy_start_buffering_visibility_template() { ob_start(); } add_action( 'bp_custom_profile_edit_fields_pre_visibility', 'bitboy_start_buffering_visibility_template', -1 ); /** * End buffer and discard. */ function bitboy_end_buffering_visibility_template() { ob_end_clean(); } add_action( 'bp_custom_profile_edit_fields', 'bitboy_end_buffering_visibility_template', 1000 );It will remove the visibility options completely.
Best Regards
BOctober 9, 2018 at 8:44 pm #278414In reply to: Links in members-loop for Profile Field
Prashant Singh
ParticipantHi,
I found that those links are generated from the plugin Custom Profile Filters For BuddyPress and it only works on profile. So to get the same data with the link on members-loop.php we need to print fields like this:
$data = bp_get_member_profile_data( 'field=Expertise' ); echo '<a href="' . bp_get_members_directory_permalink() . '?s='.$data.'">'.$data.'</a>';Hopefully, this will help you.
Thanks
October 9, 2018 at 7:45 am #278358In reply to: Links in members-loop for Profile Field
israel4lincelot
ParticipantHi Prashant, I should have maybe started with listing following information:
1. Which version of WordPress are you running?
WordPress 4.9.82. Did you install WordPress as a directory or subdomain install?
Subdomain4. Did you upgrade from a previous version of WordPress? If so, from which version?
I installed the latest.5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
Yes6. Which version of BP are you running?
Latest Version 3.2.07. Did you upgraded from a previous version of BP? If so, from which version?
No8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
BuddyDrive, Custom Profile Filters for BuddyPress, Gravity Forms, K Elements, Really Simple SSL, rtMedia for WordPress, BuddyPress and bbPress, Slider Revolution, What The File,
WPBakery Page Builder9. Are you using the standard WordPress theme or customized theme?
Customized.10. Which theme do you use ?
Kleo Theme from seventhqueen11. Have you modified the core files in any way?
Yes I have, but always in the child-theme.12. Do you have any custom functions in bp-custom.php?
Yes
<?php
// hacks and mods will go here
define( 'BP_DEFAULT_COMPONENT', 'profile' );?>
15. Which company provides your hosting?
CompbellSo to answer your other questions, I added a new Profile Field with checkboxes. Indeed you have to select it and that’s why I can’t just wrap it in an anchor tag because I need the fields to be clickable separately.
In Profile fields the Expertises are individually links. In my Members page all the Expertises ar put in a Paragraph. But I’d like them to be individual links such as in Profile page.
See Screencast here: https://screencast-o-matic.com/watch/cF6QiCYqw6
Thx!
October 9, 2018 at 4:21 am #278352In reply to: Profile field groups tabs while editing profile
amkh
ParticipantAdditionally I want each “tab” to show “Save and Continue” button. So when the member finishes editing profile fields in Group 2 then once he clicks “Save and Continue” then he should be taken to profile group 3.
October 7, 2018 at 11:15 pm #278299In reply to: Hide profile fields from editing for specific users
Prashant Singh
Participantfunction ps_hide_profile_edit( $retval ) { // remove field from edit tab if( bp_is_user_profile_edit() && !current_user_can('edit_users')) { $retval['exclude_fields'] = 'field_id'; // ID's separated by comma } // allow field on register page if ( bp_is_register_page() ) { $retval['include_fields'] = 'field_id'; // ID's separated by comma } return $retval; } add_filter( 'bp_after_has_profile_parse_args', 'ps_hide_profile_edit' );Please try this snippet.
Thanks
October 4, 2018 at 8:25 am #277182In reply to: Hide profile fields from editing for specific users
Prashant Singh
ParticipantHi,
Please try this plugin https://wordpress.org/plugins/buddypress-admin-only-profile-fields/
The UI is changed now so you will find the option in visibility drop-down.
Thanks
October 4, 2018 at 3:49 am #277172olandir
ParticipantI have a corporate Intranet running on WordPress 4.9.8 and BuddyPress 3.1.0
I have specific xprofile fields that I’d like only editable to people who have the “Edit Users” capability.
I’ve seen snippets of code here or there that almost do what I’m looking for but everything I’ve found is old and out of date.
Could someone help me with this.
Basically I need the PHP equivalent of
If we’re on the edit BuddyPress profile page AND user does not have the “edit users” capability then hide profile fields with X id(s).
I’d also be happy with specifying a role instead of capability as long as I can specify multiple role ids.
Thank you in advance.
October 1, 2018 at 9:25 pm #276906In reply to: Creating members outside of theme
scott8035
Participantbp_core_screen_signup() does several other things besides creating the user and saving xprofile fields…it does validation, optionally creates a user blog, provides several action hooks, etc. Are you saying it’s just not practical to use it?
October 1, 2018 at 8:57 pm #276902In reply to: Creating members outside of theme
scott8035
ParticipantBut I also need to save some xprofile fields programmatically, too. Won’t I eventually have to run bp_core_screen_signup() in order to “fully create” a BP member profile?
October 1, 2018 at 3:13 pm #276890In reply to: Profile Info such as About
Prashant Singh
ParticipantHi,
You just need to create a profile field. Please go to your dashboard and find xprofile fields under ‘Users’ menu and there add a new field and name it About and in field type you can choose multiline text area.
As soon as it is created you will be able to see it on signup form(register form) and profile itself.
Thanks
September 26, 2018 at 3:25 pm #276816In reply to: Members Masonry – Element
Prashant Singh
ParticipantPlease check this thread once: https://buddypress.org/support/topic/line-breaks-in-profile-fields-descriptions-not-showing/
Thanks
September 25, 2018 at 8:45 pm #276781In reply to: Field for data processing
Prashant Singh
ParticipantYou can go with this plugin https://wordpress.org/plugins/buddypress-admin-only-profile-fields/ to set the visibility to hidden/admin only.
Thanks
September 25, 2018 at 8:08 am #276725Prashant Singh
ParticipantOk, got that.
Please check this thread: https://buddypress.org/support/topic/adding-xprofile-fields-to-members-directory-list-items/
Thanks
September 24, 2018 at 11:09 am #276683In reply to: Two membership directory
pavelmititel
ParticipantThanks, but isn’t enough..
Here is beta version for my website: http://beta.onemillionnights.com
To be more specific:
I need two members directory, one for free level and one for levels which requires payment with different settings and fields. For example Advisors are displayed on ADVISORS page and they are specific field & settings on profile and CLIENTS are displayed on another page with their’s specific field & settings on profileSeptember 22, 2018 at 10:45 am #276651In reply to: Active directory infos in the BP cover options
Prashant Singh
ParticipantHi,
Please try to use this plugin https://github.com/wbcomdesigns/bp-modify-member-directory-header
It says that it allows showing profile fields on members directory and profile’s header.
Thanks
-
AuthorSearch Results