Search Results for 'profile fields'
-
AuthorSearch Results
-
October 11, 2010 at 5:56 pm #94855
islandcastaway
ParticipantFigured it out .
global $bp;
echo get_usermeta( $bp->displayed_user->id, ‘aim’);October 9, 2010 at 5:36 pm #94687islandcastaway
ParticipantCan anyone point me in the right direction please?
October 7, 2010 at 7:20 pm #94517In reply to: problem with custom field radio button
Hugo Ashmore
ParticipantTo get you started create three new profile fields for users to complete, probably radio button choices, the users will select one of these at signup? make the selection obligatory.
Now in the members profile loop you will use a simple check to determine which field has been returned or selected by the user and display whatever particular elements you want for that selection.
The code used here is not the type you want, in a profile loop it’s easier as you can run checks using something like:
if(bp_get_member_profile_data( ‘field=account type’ ) == ‘special’) :
‘ Do stuff based on the type above’;October 7, 2010 at 7:11 pm #94516In reply to: problem with custom field radio button
Hugo Ashmore
Participantmaybe you could write full code?
here are several topics on this question, but as I see, those who have done it do not want to share their result.
@janismo please take care not to come across as treating this support forum as though it was a service with some sort of obligation on the part of the members to write code for people
If you look around you will see that many of the experienced BP developers spend a great deal of their time helping out non coders with a great deal of code.
Not including this thread where I didn’t really end up having to help to any real degree I have responded on two other threads today about profile fields, along with other threads I have read or participated in I know that the answers you seek are available. Sometimes you have to piece together bits of the jigsaw to start with, then show us how far you have got and the problems you might be having and we’ll help out further; of course also someone may come along and just write what you want

I only know what I do about the profile fields and manipulating them from needing to do so myself then reading a few posts but other than that I sat down and started coding and worked it out the hard way.
October 7, 2010 at 6:15 pm #94512In reply to: problem with custom field radio button
James
Participanthi @jarvo1980 ,
could you please tell whether is it possible to use your approach/code to make 3 types of account and each of them would lead to different custom profile fields?
probably, this is exactly what you want to do, maybe you could write full code?thank you!
P.S. there are several topics on this question, but as I see, those who have done it do not want to share their result.
one of them:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/can-you-run-multiple-profile-loops-in-singleprofile-loop-php/If someone knows how to, please share. I’m sure, a lot of people would love to use it.
October 7, 2010 at 2:58 pm #94490In reply to: problem with custom field radio button
Hugo Ashmore
ParticipantEdit// just saw your last post- not sure how that slipped past
so you are using xprofile field data and so yes your first example won’t work I think you’re on the right track now and it is easier if in a members loop. There was a post earlier today discussing this. Have a search back about 20 odd postsThen we would need to know the mechanism you’re using to pass that variable around I guess.
When you say “select account type” what exactly do you mean, is this a snippet of custom code you have written or are you using the custom profile fields to create new profile fields? If new profile fields ( the best way I would have thought ) then you are taking the wrong approach to fetching those fields back.
October 6, 2010 at 5:59 pm #94387In reply to: dynamically create new sets of profile fields
Natasha
ParticipantThank you very much for responding so fast!
The company wants to develop with different profiles, for example for people in human resources, technology, etc. for different areas of the company.
I’m looking at the function you gave me. My question was if suddenly you had already somewhat developed because i have little experience in PHP.
Thank you very much.
October 6, 2010 at 3:25 pm #94361In reply to: Display email on profilepage
islandcastaway
ParticipantI am also looking for info on passing user_meta to the profile page. Let’s keep in touch.
October 6, 2010 at 10:42 am #94344Anton
ParticipantThanks @nit3watch
Will test it out tonight. Did you ever release a plugin where you can add more profile fields to groups such as address, website, etc?
October 5, 2010 at 10:41 pm #94318In reply to: dynamically create new sets of profile fields
Roger Coathup
ParticipantI don’t know if you found any code in the meantime, but in case you haven’t:
The basic function to insert a new profile field is: xprofile_insert_field()
And, to populate a field use: xprofile_set_field_data()
They are defined in bp-xprofile.php
October 5, 2010 at 10:26 pm #94317In reply to: dynamically create new sets of profile fields
Roger Coathup
Participant@slashnata – no entiendo tu pregunta exactamente
October 5, 2010 at 3:56 pm #94270In reply to: dynamically create new sets of profile fields
Natasha
ParticipantHello Roger, at the company where I work are asking me to do a development similar to your questions …. and you develop something?, suddenly you develop a plugin?
Thank you very much!!!
October 4, 2010 at 2:04 am #94164In reply to: BuddyPress Spam
Pisanojm
ParticipantI’m using:
Si Capthca
BuddyPress Humanity Plugin
BP Signup Xtra (with required birthdate and checkbox)
Extra Profile Fields that require text input.
Bad Behavior with HTTP:BL enabled…I’ve not noticed any spam logins yet…. knock on wood/cross fingers.
October 3, 2010 at 9:49 pm #94149In reply to: Adding Custom Fields to members-loop.php doesnt work
LPH2005
ParticipantWriting from ignorance but should the Field Name start with the capital letter P?
`bp_member_profile_data( ‘field=Province’ )`
October 1, 2010 at 8:29 pm #94005In reply to: Plugin development — xprofile questions
Ashwani
ParticipantI have found ans to first question also. I have hooked my function to ‘bp_after_profile_field_content’, so now all new fields I can display before ‘Save’.
Still working on 3rd question.
Regards,
AshwaniOctober 1, 2010 at 12:33 pm #93962jarvo1980
MemberOoops sorry “ AND “
Both to no avail..Oddly, this does work for one of my other custom fields though:
`<?php
$account_type= xprofile_get_field_data( ‘Account Type’,bp_get_member_user_id());
if ($account_type== ‘Standard’) {
echo ‘standard’;
} else {
echo ‘premium’;
};
?>`
Most confusing!!September 30, 2010 at 1:50 pm #93861Ehegwer
ParticipantNot to hijack, but I saw this and thought someone might have some suggestions for adding profile updates to the activity feed. (I’ve got custom fields, and want a notification to show up in the feed, when updated).
September 26, 2010 at 2:46 pm #93474Roger Coathup
ParticipantIt’s not possible with the current profile implementation to have structured fields made up of several component parts (they’d be useful though!).
As a workaround – you could group them together in their own profile group – and then it would require some rework of the edit / view profile templates to present the profile as you want it.
September 26, 2010 at 12:32 pm #93465In reply to: BuddyPress 1.2.5.2 with WP 3.0.1 = No Forums?
Maciej Skrzetuski
ParticipantYes, /httpdocs/wp-content/plugins/buddypress/bp-forums/bbpress and all the *.php files exist.
I use the default buddypress theme. I don’t use any plugins besides buddypress. My httpdocs is chmod 777 for installation. BP has written the following into .htaccess:
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]# END WordPress
bb-config.php has the same config for database as wp-config.php.
I have following tables in my db.
wp_bp_activity 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_activity_meta 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_friends 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_groups 1 MyISAM 4.1 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:30 PM
wp_bp_groups_groupmeta 2 MyISAM 7.1 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:30 PM
wp_bp_groups_members 1 MyISAM 8.1 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:30 PM
wp_bp_messages_messages 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_messages_notices 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_messages_recipients 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_notifications 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_xprofile_data 1 MyISAM 4.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_xprofile_fields 1 MyISAM 7.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_xprofile_groups 1 MyISAM 3.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_commentmeta 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_comments 1 MyISAM 7.2 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_links 7 MyISAM 3.5 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_options 155 MyISAM 344.3 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:29 PM
wp_postmeta 1 MyISAM 7.1 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_posts 3 MyISAM 8.7 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_terms 2 MyISAM 8.1 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_term_relationships 8 MyISAM 3.2 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_term_taxonomy 2 MyISAM 4.1 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_usermeta 15 MyISAM 7.6 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:29 PM
wp_usersIs it a problem if you are running BuddyPress in a subdomain like http://sub.domain.pl?
September 26, 2010 at 6:28 am #93435In reply to: Remove Automatic Links in Profile
zanzaboonda
ParticipantOkay, so what if I’m looking to do the exact opposite? What if I want to specify which fields are always clickable? I’d like to be have members’ locations always clickable.
Any thoughts?
Thanks and best wishes,
KristenSeptember 26, 2010 at 1:51 am #93428In reply to: Creating a directory of already existing blogs
Colton
ParticipantSo I’ve created the profile fields. How do I go about creating a directory template with a custom members loop that checks for the blog fields and displays them?
September 25, 2010 at 10:57 pm #93415In reply to: Creating a directory of already existing blogs
Roger Coathup
Participant1 solution: Add profile fields for them to enter their blog details, create your directory template with a custom members loop that checks for the blog fields and displays them. This may be inefficient for a sparse databse with lots of members
September 24, 2010 at 9:17 am #93282In reply to: Add users profile fields to the activity page
Roger Coathup
Participantp.s. your profile pages exist, so it’s just the menu / nav bar that’s missing: e.g. http://lumosnorge.no/members/kristin/profile
Once you’ve fixed that problem – your site looks good – you should add your site to the gallery group on here
September 24, 2010 at 9:10 am #93281In reply to: Add users profile fields to the activity page
Roger Coathup
ParticipantHej Christine – the code is in the default theme, in the file: bp-default/members/single/home.php
Did you create a child theme, or edit your changes directly over the default theme?
Note: you shouldn’t edit the default theme directly – as you will run into problems when you upgrade BuddyPress.
Have a search in Docs on here for details of creating a child theme.
Anyway, the section of code (from the default theme) that creates the nav bar is:
``
It goes between the item-header and item-body blocks.
You need Harry and Hermione helping you write the code!
September 24, 2010 at 6:54 am #93271In reply to: Add users profile fields to the activity page
Christine og Kristin
ParticipantOh, that explains the trouble. Any idea where I can get that code? I’m just a beginner at this and don’t know much about coding yet, but I’m eager to learn.
-
AuthorSearch Results