Hi
I have 3 questions that are related:
1. Is it possible to get two different roles to have two different types of user with different profiles?
I want have two different roles (e.g. company and person) with different profile content.
E.g. the user Company should have different profile fields than the user Person.
The user Person should have for example a field for birthday but the company not because it doesn’t make sense.
Is that possible?
2. Another thing what would be great is to have a group in the profile for picture upload of recent work of the Person.The Company shouldn’t have that. Would that be possible too?
3. Can the different User (Company and Person) get a different theme? Is it possible with “Theme my login”-plugin or is there something else?
Thanks a lot
My versions:
Wordpress 3.5.1
Buddypress 1.6.4
@inkblots Thank you for your input. I guess I just feel that when the profile fields privacy options was introduced in BP 1.6 it seems like it would have made sense to have activity stream privacy as well. Whether its used or not it would make more sense because if you don’t want non friends seeing your profile then you probably don’t want them seeing your posts in the activity stream either. I wish the activity stream would have another scope so you could see your friends and your own activities in the stream only. Never the less I am grateful for the hard all the hard work the core team has done thus far. I guess we always don’t get everything we want in life though but thanks again!
I’m having a hard time figuring out how I can get some extra profiles fields that are in wp_usermeta into the members loop.
I’m trying to get the value of “profile_company”
I’ve seen a lot of posts saying that this should work. But it doesn’t.
`
`
I also don’t have any problem getting this field on my single profile page using this
profile_company; ?>
Any help would be greatly appreciated. Thanks in advance đ
Oh I’m also using Buddypress 1.7
Ok so my login form isn’t working properly then, I’m using
`wp_login_form( $args );`
to log in users, I realized that the xprofile_data is for the profile fields.
What should I do to properly login a user. or where in the database is that saved?
Wordpress: 3.5.1
buddypress: 1.6.4
site url: http://alchemy-tm.com/register/
The problem is that, I can’t see any field under the “profile details” section.
because of that my register page is not working. when i click on submit nothing happens.
I have customized the register page to fit my custom theme. I have also tried the default buddypress theme to check if it shows there. but it doesn’t.
i have the same setup on my local server. Where i have wordpress 3.5 and there i can see the “name(required)” filed under profile details.
I don’t know how to solve it. Please help đ
WP 3.5.1, BP 1.7-beta1.
I’m working on a BP network for my company and there are some fields that users don’t need to edit themselves (branch they work at, date of hire, etc.), but I still want them to be visible in the profile.
From what I’ve read, this kind of functionality isn’t available out of the box. BP 1.7 adds fields that can be edited by the user and viewed only by admins, but I want the opposite: edited only by admins but can be viewed by anyone (well, anyone who’s logged in).
Two questions. Would this be a good feature to request? And if I were to attempt to make a plugin, could someone point me in the right direction? What things do I need to hook into to make that happen? (I’m a designer not a programmer, so basic steps to start would be helpful!)
Hi guys,
I’m customizing the profile page member-header.php adding some fields in there.
I tried both commands:
`bp_profile_field_data( ‘field=Location’ );
echo xprofile_get_field_data( “Location”);
`
And they do indeed display the field value, but without the automatic linking normally added to the profile-loop.php output.
I can’t figure out how to keep the links, how does it work?
Thanks!
Thanks @bphelp. Would have been nice to have it on the back end but that will work for now.
I did notice that members that logged in prior to the installation of BP Force Plugin don’t have fields for First Name, Last name, and date of birth which is odd. Those fields were on the registration form and were “required” through bp. It appears that BP Force is the only way to make them be actually “required”.
I now have to get the fields back on the users that don’t have them. I have so many questions and issues with buddypress… I’ll keep plugging away…
@supernaturalbrews user profile extended fields doesn’t show up in the dashboard. you can however click on a member in the front end then as an admin you will see the toolbar change up near the left where it says edit member. click edit member/edit profile and then you can see what info they entered in the extended profile fields.
@hnla I just installed BP Force Profile but I don’t think that was the problem.
The problem is the back end in wordpress. When a profile field is filled out it is not showing up on the back end under the users tab in wordpress.
I get the username but that is all. Can I view a registered users info somewhere?
Say I register and filled out the First name and Last name field. When I go look at users in wordpress those fields are not filled in? I just want to make sure people put in there full names. Otherwise its hard to tell if its a real person or just another spam bot.
thanks.
That is not the experience I’m finding, required fields left empty are returning an error, so please check all your mods and alternative methods of signing in/registering
I have several fields on the registration form set to “required”. I’ve had people sign up without filling these fields in. Is there a fix?
Running wp 3.5.1 buddypress 1.7.
http://www.kcnanobrews.com
Chouf1,
Merci pour ta rĂ©ponse ! Je suis dĂ©solĂ©, je continue en Français mais ça sera plus simple pour moi de comprendre et d’expliquer ma problĂ©matique… En fait, tu me conseilles d’installer BP User Profile Map (ce que j’ai fait, je passais avant par une solution codĂ©e Ă la main qui nĂ©cessitait une clĂ© pour l’API de GG Maps donc je vais abandonner ça) et de laisser les utilisateurs rentrer eux-mĂȘme leur pays manuellement lors de l’inscription ou de l’Ă©dition de leur profil ?
Cette solution m’a effectivement l’air sĂ©duisante mais pour les villes surtout, qui sont effectivement impossibles Ă toutes recenser. Penses-tu qu’il soit possible de dire au plugin de prendre en compte deux profile fields au lieu d’un (Ville + Pays) ? De maniĂšre Ă ce qu’il localise encore mieux, et pour Ă©viter les erreurs (il existe des villes qui ont le mĂȘme nom dans des pays diffĂ©rents).
Pour l’intĂ©gration d’une liste de pays dans BuddyPress, j’ai suivi le process dĂ©crit ici :
https://buddypress.org/support/topic/how-to-make-a-country-drop-down-list-in-profile-field/#post-147697
J’en suis Ă l’Ă©tape de copier coller une liste des pays du monde dans mon fichier CSV extrait de ma BDD, mais je bloque sur les ID par pays : dois-je les Ă©tendre simplement sous Excel ? J’ai peur en faisant ça de me retrouver avec un ID de pays identique Ă un ID d’autre chose de mon WordPress (ID de post, ID de catĂ©gorie ou autre)… ça serait problĂ©matique ?
Merci pour ton aide et dĂ©solĂ© pour l’emploi du Français.
Hi,
I want to use wordpress username in every field of my site instead of buddypress’ “Name”. Â Is it possible to disable the whole name system and use Username instead or to hide Name from every possible field and display Username instead.
I’m totally newbie to this whole coding stuff, found a code and managed to hide “Name” field in profile edit but this is only preventing from changing it. I need to disable it or change it’s usage to Username. (in Activity feed, mentions & comments at least)
—
In case anybody wonders what did I use for hiding Name from profile edit section;
`add_filter(“xprofile_group_fields”,”bpdev_filter_profile_fields_by_usertype”,10,2);
function bpdev_filter_profile_fields_by_usertype($fields,$group_id){
//only disable these fields on edit page
if(!bp_is_profile_edit())
return $fields;
//please change it with the name of fields you don’t want to allow editing
$field_to_remove=array(“Name”,””);
$count=count($fields);
$flds=array();
for($i=0;$iname,$field_to_remove))
unset($fields[$i]);
else
$flds[]=$fields[$i];//doh, I did not remember a way to reset the index, so creating a new array
}
return $flds;`
Added this code to bp-members-functions.php
Hi,
It is coming from members/single/profile-loop.php
It seems you don’t have the xprofile fields(or the user has not entered data) or you have some sort of privacy enabled on those fields which are preventing the fields to be visible. Otherwise, the xprofile fields should be visible there by default.
ok, what I just figured out two is that if you do not close the boxes with radiobuttons on the register page. It actually saves your choices correctly. So actually the ‘close’ option on the register page sets it back to the default, public. Still, I would like that default to be private, or better to speak in terms of ‘loggedin’ or ‘friends’…
I’ve figured out how to display extended profile fields in the member directory. Â But now I need to get the profile fields to show up in the individual profiles. Â Can someone tell me what member file does that? Â Is it bp-members-template.php?
Just need a little direction.
Thank you.
Thank you so much for this, especially the conformation I’m not loosing it :p
I will try and see if I can hack the register page of my theme so it has the ‘private’ setting as a default.
@jordas Yes I’ve created a ticket for the issue and it looks like a general issue rather than just affecting you.
Hey Hugo, yes, I have done this. But no matter if user override is set or not. At the registration page everything stays public, even if the admin forces it to private. Is this only me who has this problem? Can you keep me updated on this?
Hi@evo252,
in the BP 1.0 branch there was a CSV based country field in xprofile.
https://buddypress.trac.wordpress.org/browser/branches?order=name#1.0/bp-xprofile/prebuilt-fields
Take a look in the code and see if you can build something for 1.6.4 or 1.7.
Since 2008, Google Map became a must have. And IMO it’s a better geoloc tool as a simple city/country dropdown witch only prevent end users from having to write themselves the name of their city and their country….
Doing this is much more complicated as you think. Over 160 countries on earth and millions of cities. What kind of server do you need to just store these informations and to make them work together ?
Typing country and city is the same effort as typing name and first name for the end user. Let them write and use something powerfull, existent and easy to use and show AND effort less for you too.
Spare your time and made it simple so far ! đ
Give this plugin a try: https://wordpress.org/extend/plugins/bp-user-profile-map/
Or search another map plugin : https://wordpress.org/extend/plugins/search.php?q=map
Looks like it is achievable but not without its headaches and a considerable effort.
Found this article relating to what you ask, ‘I think’ …
http://alextheafrican.wordpress.com/2012/03/10/how-to-add-an-image-field-to-buddypress-extended-profile-fields/
Though I can not say how, secure/suitable it will be to current Buddypress versions, perhaps ask the guy who wrote it, if it is still a valid solution.
Off top of my head can’t recall where I was up to in testing ( I’ve created a ticket on the clear issue I found) but check carefully that you have set the option to allow user override on the profile field settings in backend.
Cool. Yes, the problem is only limited to registering, because registered users can change these privacy settings without any problems. But I want to give registering users already the possibility not to share every account detail.
Looking at the function that retrieves this label value it’s checking for an array name that doesn’t exist so is defaulting the label to ‘public’ This probably needs looking into, I’ll raise a ticket.