Search Results for 'profile fields'
-
Search Results
-
Topic: How to Get User Profile Data
Hi,
I am new at BP and on this forum and I was not able to find an answer to my question. Maybe it exist already, if so I apologize. Should I mention that I’m a poor developer ?
I have 500 (already) registered users on my blog, and I just installed BP and BP custom profiles .
I noticed that the BP community is empty, and will only increase when the user logs in. So it would be good that the (already registered) user be obliged to fill his/her BP profile, so to enlarge the community.
The redirect-to-profile plugin does this, but for each login.
I would like that the redirection occurs ONLY IF (but as long as) the BP profile is not saved (for instance, that some required fields are empty). And when the profile is saved, there will be no redirection any-more. At least, a warning “your profile is not complete” would be appreciable.
Thank you for help and advice.
RegardsHello..
Not sure why this is happening, but I have about four more fields classified as “base” profile fields that aren’t showing. I only have “one” additional group of fields and all of those are showing just fine. Just trying to see if this can be resolved with a little tweak of code, instead of me having to go back and reclassify those additional “base” fields as a new group and just rearrange everything. Any ideas?
Hello, I’m having hard times with the content profile filters, it’s very annoying, perhaps it can be helpful if we can choose what fields exactly to enable this for, It can be enabled for simple: (male/female) field to find all females or males on network, but in a profile field like: (about me) it’s a nightmare.
can someone help me disabling this option at all as proper configurations are not available?I need to show certain profile fields outside of a members profile page. I have created a page to show the members of a specific group. The members of the group would like certain profile fields visible for each member.
Any ideas on how to do this?
Thanks
I’m setting up a BP installation and using the AD Integration plugin in order to auto-create WordPress accounts when people log in with existing Active Directory credentials. While the AD Integratration plug-in autofills in the new user’s login name, First Name and Last Name, these fields don’t carry into the user’s Buddypress profile.
Is there any way to do this? Even better, is there any way to automatically import other info that can be retrieved via AD authentication (title, phone number, etc.)?
Hello,
I’ve run into something strange.
I’ve created custom profile fields and noticed that “select-box” field types aren’t being found by the search.
Yet if I create “text” fields then the content is being searched and found when performing a search in the members-loop.Does this mean BuddyPress can’t read content in the profile fields if they aren’t a plain text value? The content in my select box is made up of very simple texte (lawyer, doctor, politician, revolutionary, dictator, geek…).
Has anyone encountered this? Do you know of a solution?
Thanks a bunch,
C.Topic: edits not showing up?
Super easy one folks.
for some reason, my edits are not showing up.example:
BuddyPress Default: Single Post (single.php) – editing through WP editor. so I know it’s the right page.
deleting huge chunks, adding test text. Nothing.profile-loop.php
see other post -> http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/restructuring-profile-fields-from-table-to-divs/am I not editing the right pages?
am I not viewing the right pages?
kind of baffled and quite ready to pull out my hair.what am I missing here?
Thank you!
Topic: Tag cloud from profile data
Hi everyone-
I’m trying to create a tag cloud from items listed in the profile fields (for example, “Personal Interests,” which would have stuff like “tennis, traveling, running,” etc.). Right now the code I have goes through the xprofile fields data table and pulls out everything with the specific field id relevant to the group and puts it in an array, using spaces and commas as delimiters. (Don’t get me started on the dolts that write “I like to take long walks along the bike path with my 19 kids” as their tags. Or separate them with period, or semi colons, or write them on separate lines…)It then counts the number of users that have that specific tag, but ONLY if it’s an exact match… e.g., “running” and “runner” aren’t going to match and will show up as separate tags. (At that point, it does a title on the href search link to list how many users have that tag.) We then list every tag that’s been used on “list all tags” page, but I forsee it becoming a total behemoth and it’ll need to be trimmed somehow.
The xprofile field data is kind of clunky, and I haven’t figured out a way to put up a tag cloud. The Groups tags plugin (http://wordpress.org/extend/plugins/buddypress-group-tags/) seems to work OK, but I can’t translate it to the profile field tags.
One thought from our production team was to use facebook-like functionality that “suggests” tags when you start typing them in, which would lead to a cleaner tag cloud.
Anyone have any ideas on how to better the profile tagging process? It’s driving me nuts, and I’m seriously thinking of deactivating the next dumb user that writes out a run on sentence in their Personal Interests text area.
Thanks in advance-
KC
, does someone knows better and a little bit more painless ?
thanks !
During a recent project, I needed to get certain User Profile Data to be used. This was used outside any loops and not on the Profile page. Hopefully this will help others seeking the same information.
To obtain the default data (such as User ID, User Login, ect) use the following:
`global $bp;
$the_user_id = $bp->loggedin_user->userdata->ID;
$the_user_login = $bp->loggedin_user->userdata->user_login;`
Userdata values include:
ID
user_login
user_pass (this is encrypted MD5 Hash)
user_nicename
user_email
user_url
user_registered
user_activation_key
user_status
display_name
To get field data from extended profile fields for the current logged in user, use the following:
`$the_first_name = bp_get_profile_field_data(‘field=First Name&user_id=’.bp_loggedin_user_id());
/* Change field name to the one you added to the profile, or if you know the field’s #, you can use that instead. */
`
I do hope this helps someone else. It drove me nuts trying to track down the info, but after piecing bits of information together, I was able to get this figured out.
Have fun!
Ed