Search Results for 'profile fields'
-
AuthorSearch Results
-
October 19, 2010 at 7:24 am #95550
In reply to: Multiple user types – possible?
Matt Edminster
ParticipantYou once mentioned having a proprietary solution for user lists using xprofile fields.
In redesigning my organization’s website I need to 1. display certain users (organization members in various departments) in a directory and 2. limit certain kinds of content creation to these lists (group creation only for organization members). We still want the site open to the public and use it to recruit new staff so I can’t just close down registration. Also, I can’t use wp roles because write permissions don’t line up with our organizational groupings (eg, some organization directors will be contributors while others are editors).
I’d be interested to know what you’ve come up with and would be willing to purchase it if it meets our needs and fits our budget.
October 18, 2010 at 2:51 pm #95476In reply to: How can I make a company listing Directory?
Roger Coathup
ParticipantThere’s no off the shelf plugin for this, but it is possible to develop a solution (a lot more than a workaround!):
You could either do this by having a profile type for businesses, or developing a solution around custom posts / custom fields.
You’ll then have to build your own custom listing directory – not too hard! The BP profile directory already has a built in search that you could adapt / use directly.
We are building similar in a number of current BuddyPress client projects – and Poolie has also developed a very nice listings site based on BuddyPress: http://plazaa.de
October 17, 2010 at 3:18 am #95367Jean-Marc
ParticipantSure have you considered the group document plugin? Each Shop Profile could be a group. Install the plugin and see if that can help.
October 15, 2010 at 2:50 pm #95255In reply to: Multiple registration pages
Rose Taylor
ParticipantThanks for the help. I understand how to create additional groups and fields. In there it says only fields added to the base group or ID=1 will be displayed on the registration page. Looking at Dorothy’s page it looks like she has multiple groups in there. I wanted to do the same. I don’t see a way of creating a group under that base group.
I could create all of the fields under the base group but this will cause display issues under the profile. I want certain info to display in a certain order (company and contact information). Code in register.php only calls one group. Not proficient in php enough to change it to call one or more by ID. Obviously the base group is 1. Can change this to any other but need to add multiple. i.e. group 1 and 3. Any ideas would help me a lot.
<?php if ( function_exists( 'bp_has_profile' ) ) : if ( bp_has_profile( 'profile_group_id=1' ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?
missing closing at the end i know
Do you know also why all of the information in a profile display as a link? Please see http://marketplace.questus5.com for more information. Thanks in advance for any help.October 14, 2010 at 1:21 pm #95153In reply to: Multiple registration pages
Hugo Ashmore
ParticipantLook at your bp admin section, you will see the custom profile link you use that to create new groups and fields, as long as a new group is created under the ‘Base’ level then it will appear on the registration page.
@dorothysulzmann
As a workaround I would move the three type selections labeled ‘Fan off’? to just after the primary details and use the tree types as just that to confer a user type to each member but also run a simple jQuery show/hide on the further groups so all are hidden and then a check is performed to catch the radio selection and the appropriate group revealed with perhaps a ‘none’ control selection default.The proper approach would be to complete a section and then pass the form control fields in a session or buffer to the next view to complete further sections but with BP that will likely start to get complicated, as techguy says there is no quick easy way to do this but with client side scripting it wouldn’t be that difficult.
October 13, 2010 at 10:31 am #95039James
Participantthnaks @boonebgorges ,
somehow first place where I get mistake is your mentioned `if` before `bp_has_profile`
taking all together I got this code for profile-loop.php :`
<?php
$field_id = xprofile_get_field_id_from_name( ‘Account Type’ );
$field = xprofile_get_field( $field_id );
$value = $field->data->value;if ( bp_the_profile_group_name() == ‘Account Type’ && $value == ‘Selection 1’ ) {
(if ( bp_has_profile( ‘profile_group_id=1,4’ ) ) ?><div class="bp-widget “>
<tr>
}
`
does this code make any sense for anyone?
Am I correct, that even if I will get this code to work, it still returns only one selection of radio button?thank you!
October 11, 2010 at 5:56 pm #94855islandcastaway
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?
-
AuthorSearch Results