Search Results for 'profile fields'
-
AuthorSearch Results
-
June 3, 2016 at 12:02 am #254074
In reply to: Registration and Edit Profile Issue
r-a-y
Keymasterthat worked!!
Glad to hear you’re up and running!
But should I now see 5 tabs of Field Groups that all say “Base (Primary)” when I go to Profile Fields under Users?
No, you shouldn’t.
You should leave the first “Base (Primary)” tab alone, but do delete the rest of them.
Do the same for the “Name (Primary)” field in the “Base” group. Keep the first one, but delete the rest.
Note that this is a new install. I’ve never used BuddyPress before
This does sound like a bug. It would be great to retrace your steps so we can duplicate this problem. Did you activate / deactivate / activate the plugin multiple times?
Same goes for the components list under “Settings > BuddyPress > Components” in the WP admin dashboard. Did you uncheck / check / submit certain components multiple times?
June 2, 2016 at 11:54 pm #254073In reply to: Registration and Edit Profile Issue
AngelaQ
Participantthat worked!! But should I now see 5 tabs of Field Groups that all say “Base (Primary)” when I go to Profile Fields under Users? Each of these have 5 fields called “Name (Primary) (Required)”.
Note that this is a new install. I’ve never used BuddyPress before and tried using xTended Profiles and gave up…
June 2, 2016 at 6:45 pm #254057In reply to: Buddypress member directory
shanebp
ModeratorThis premium plugin – BuddyProfileData – will add profile data to the members loop.
It will add fields in a vertical stack.
If you are comfortable with css and maybe a little php, you can change it to horizontal.Or you can write your own solution using this hook:
do_action( 'bp_directory_members_item' );
in this file:
buddypress\bp-templates\bp-legacy\buddypress\members\members-loop.phpOr you can create a template overload of that file and hardcode your solution directly in the template wherever and however you want it.
Re the ‘>’ – the best solution is to find out where it is being added by your theme css and change it.
June 1, 2016 at 7:36 pm #254003In reply to: Users cannot register since update 2.53
Earl_D
ParticipantI ran a test this morning with BP as the only plugin activated using tiny framework theme. Ran the same again two minutes ago with twenty twelve as theme. I do NOT use any special registration template only what comes with BP out of the box. This is the third time I have done that to prove convincingly that it isn’t simply plugins. Each time the result is the same. Whenever extended profile fields turned on registration does not go through.
I have removed all the extended profile fields except the one on the Base which cannot be removed. That is display name. That is the only thing other than account name, email and password fields that shows up on the registration form.
I am not the only one experiencing this issue I linked to support topic here on this board where someone else having the same problem.
This is literally ruining the launch of my site all my marketing has been wasted since no one can register. If his is not a problem that can be fixed can someone PLEASE tel me how to downgrade. So all my money and effort don’t get blown away.
June 1, 2016 at 6:37 pm #253998In reply to: Users cannot register since update 2.53
r-a-y
KeymasterI also tested BP 2.5.3 on WP 4.5.2 on a fresh install and cannot duplicate your problem, Earl_D.
I tested with the Extended Profiles component enabled.
Are you using any caching plugins? If so, try to disable it or whitelist the
registerandactivatepages from caching.Do you have any special extended profile registration fields? If so, can you list what they are and how they are configured?
June 1, 2016 at 1:42 pm #253992In reply to: Membership Codes
danbp
Participantit’s possible. I suppose you need a unique code for some later user specific actions. But that code exist nowhere when a user register. What can we do ?
1) generate a 6 digit code and show it on the register page
2) asign that code to the user
3) show the code on his profile1 – we use php mt_rand to generate the code and one of the available action hook on the register page for his output. Add this snippet to bp-custom.php
function bpfr_digit_generator() { $num = mt_rand ( 0, 0xffffff ); $output = sprintf ( "%06x" , $num ); echo '<strong>Your personnal code: '. $output .'</strong>'; } add_action( 'bp_after_account_details_fields', 'bpfr_digit_generator' );2) create a new xprofile field, call it Personnal Code or whatever. Make it mandatory and asign it the visibility level you want. In field description, ask the user to copy/paste in the code.
3) as the user entered the code in a xprofile field, you get automagically this field on his profile.
I’m a bit unsure how to insert this field value in the activation email, or if it’s even possible. Perhaps somebody else can help you. See email on codex.
A bit raw, but at least you have a start point how to do that.
Here also another method, you may use if you don’t want the user to copy/paste the code.
June 1, 2016 at 12:19 pm #253983In reply to: Admin approval for profile changes
danbp
Participantnothing out of the box on hand, but what if you make any of the fields with “only me” visibility level as default , for everybody ? If site admin approve the content, he can change the level to something more public.
For email notification, a solution is given in this topic.
Perhaps you can also use this plugin, with some custom restriction/adaptation.
May 31, 2016 at 3:38 pm #253939In reply to: Users cannot register since update 2.53
Earl_D
ParticipantI am running the lest version of Buddypress and WordPress on a VPS server NOT running multisite. Tiny framework is the theme I am using. However the first thing I did to trouble shoot was try to replicate problem without any plugin and using 2012 theme (which tiny frame is based on) and 2016 theme. The issues remained the same with but those thems and th social me theme.
I will try to check the MYSQL question as I am familiar with that having done MYSQL database programming. However I have narrowed done the problem to something related to the extended profile fields component. Through trial and error and some research I surfaced the correlation which one other person seems to have referred as well. If extended profile fields are turned OFF the registration is completed and the activation email sent. If it is on the registration process is not completed. I tested this extensively turning on and off and it followed that pattern. I currently have the component turned off and users are able to register. When I turned on again I was unable to complete a registration.
It may be unrelated but no registration spam protection plugins will work now either I have tried several with recaptcha and without and in every case the registration process short circuits.
Thanks for any help in advance. I would like to get the extended field working again.
EarlDMay 30, 2016 at 7:55 pm #253909shanebp
ModeratorHave you tried using a standard theme like WP 2015?
Are you running any membership plugins or code that affects profile fields?
You may want to wipe the installation, including the database, and start over.
May 25, 2016 at 3:03 am #253739In reply to: Is BuddyPress suitable for my project?
mcpeanut
Participant@insearchofasolution Just thought I would chime in on this.
You would be able to do this but it depends on the approach you take, You could use buddypress for the social network side of things for the messaging between users etc and profile pages/groups etc whilst building a custom user interface for most of the other options you mentioned and tie them together for each user.
Its good you are clear about what you are exactly wanting to build and its all down to research, You can most definitely create separate vendor pages and account pages using custom post types and fields and creating templates for these pages etc.
If you don’t know how to do all of this you may struggle though, unless a specific plugin meets your requirements, I myself have been using an amazing suite of plugins over the past year or so that will help you do a lot of this yourself , they are brilliant for creating complex websites and layouts without having to write everything from scratch. You will have to have knowledge of html and css etc at the very least to use them efficiently though, they do come at a cost and you are looking at $300 for the complete set, these plugins are a little more advanced than other plugins to use as they are developer orientated and can be overwhelming at first if you are new to them, but if you stick with them you will start to realize the doors these plugins can open for you on wordpress and can help make your workflow loads faster and make your project come to life. do a search for TOOLSET PLUGINS by wp-types.
I hope this helps a little bit, creating a complex website as you mentioned above will take patience and time if you are new to doing it, I am in the middle of a few complex builds myself and to be honest with you I now pre-fare to use these plugins for most of my projects now as I can easily create any type of custom post with custom fields and display them via content templates without having to create the templates from scratch on each project.
The best thing about the custom fields you can create with these plugins is that you can create user specific fields and control access to everything with the access plugin, giving you full control over everything and you can create quite complex membership sites yourself.
May 24, 2016 at 7:50 pm #253729In reply to: HTML not sticking in Profile Field…
danbp
ParticipantMost of bp files are in php, so i can’t answer for YOUR php file.
I you modify the register page, where xprofile fields are showing at first, the template file i’m talking about is in bp-templates/bp-legacy/buddypress/members/register.php.
If you don’t know about template overload, read here first.
Or if you use a custom function to fire your work via an action hook, perhaps you could try to use bp-custom.php
May 22, 2016 at 4:40 pm #253639In reply to: Link To Member Profile In Form Field
danbp
ParticipantThat’s unfortunately what i expected… GF is a third party premium plugin for which nobody can help you here, except if he/she use that plugin.
If you read here, it’s somehow explained in details.
What you already used (gform_field_value_linkuser), linkuser is a GF field name. If i’m right, see the advanced tab of that field and complete the name parameter.
Here a snippet which let you see how to link a username to his profile, when you’re outside of the member_loop. It will output the current user name on the site wide activity header. For test only.
Note that it use BuddyPress default Name field and that it comes from a BP form. As you use GF, you certainly need to find how to grab properly a GF field value.
Function goes to bp-cutom, may also work in theme’s functions.php
function bpfr_my_profile_link_on_SWA_header () { $user_id = get_current_user_id(); $profile_url = bp_loggedin_user_domain(); if( !is_user_logged_in() ) { return; } echo '<br>Test userlink: '; if ( !$data = bp_get_profile_field_data( 'field=Name' ) ) : echo xprofile_get_field_data( 'Name', bp_get_member_user_id() ) .'<a href="'. $profile_url .'">'. bp_core_get_username( $user_id ).'</a><br>'; endif; } add_action( 'bp_activity_type_tabs', 'bpfr_my_profile_link_on_SWA_header' );Sorry, I can’t help you more.
May 19, 2016 at 7:03 pm #253565In reply to: Finding profile field id
navyspitfire
ParticipantThank you. However, this only returns the value. How would I return the field name/label associated with that value?
Updated block:
$this->tabs_instance->fields_data[$name] = '<dt class="bp-field-name bp-field-id-' . bp_get_the_profile_field_id() . '">'. bp_get_the_profile_field_name().'</dt>'; $this->tabs_instance->fields_data[$name] = '<dd class="bp-field-value bp-field-id-' . bp_get_the_profile_field_id() . '">'. xprofile_get_field_data( 'Eye Color', bp_displayed_user_id() ) .'</dd>';May 18, 2016 at 5:52 pm #253525In reply to: Profile field visibiltiy
danbp
ParticipantPerhaps this can help you to go further.
For point 2, maybe this snippet can do the job. Give it a try ! Add it to bp-custom.php
function custom_display_xprofile_fields() { // single field item if ( $data = bp_get_profile_field_data( 'field=Industry' ) ) : // change field name to yours echo '<div class="industry">'. xprofile_get_field_data( 'Industry', bp_displayed_user_id() ) .'</div>'; endif; } add_action( 'bp_after_profile_loop_content' , 'custom_display_xprofile_fields' );May 18, 2016 at 11:52 am #253498In reply to: Import profile fields?
sharmavishal
Participantdont think so…just export the 4 xprofile fields rows form the db via phpmyadmin and import them back
May 16, 2016 at 2:45 pm #253421In reply to: Adding XProfile Fields to Registration Form
modemlooper
Moderatorany profile fields you add to the first field group get added to the registration form.
May 14, 2016 at 3:13 am #253367prdufresne
ParticipantI was able to override the offending settings by adding a few lines in the custom css file of my theme. Below are the changes I made to resolve the issue, in case anyone else runs into a similar problem
#buddypress table.profile-fields td.label { color: #555555; display: table-cell; }May 5, 2016 at 10:40 pm #253164shanebp
ModeratorYour task is very logical – but fraught with danger.
Have you noticed that emails can be edited from a Profile page via Settings?
And how a confirmation email is sent?And this setting:
wp-admin/admin.php?page=bp-settings > Profile Sync?So it’s possible but not easy.
Display of those fields is fairly simple – but writing handlers to save those fields… eek.If it was me, I’d just add Profile fields for bio and website – and move on.
April 30, 2016 at 12:00 am #253044In reply to: Remove zebra striping from profile
yoast79
ParticipantHey Henry,
After some more hours of trying I managed to find the right code to get it done!
This is what made it work;
.profile-fields { color: #ffffff } .profile-fields { background: #000000 } .profile-fields tr.alt td { color: #ffffff } #buddypress table.profile-fields tr.alt td { background: #000000 }I’m sorry to bother you with my question.
April 28, 2016 at 11:06 am #252991In reply to: Terms & Conditions Checkbox
sharmavishal
Participantare you using this one? https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/
April 28, 2016 at 4:17 am #252972In reply to: Terms & Conditions Checkbox
sharmavishal
Participanti use donmik’s excellent plugin “BuddyPress Xprofile Custom Fields Type” for this…you can add a TOS to xprofile field
April 27, 2016 at 10:43 am #252937In reply to: Updating extended profile field (checkbox data)
BobSD99
ParticipantA quick followup, I see the permitted field value for the checkbox (in this case) is stored in field 315 in table
wp_bp_xprofile_fields– how do I query this checkbox setting value?I want to pull the correct value from the database, so in case I update that checkbox field’s option in the backend, I can correctly set it.
I don’t see a function in
/buddypress/bp-xprofile/bp-xprofile-functions.php:that seems to pull this, and nothing is locking in with Google….April 26, 2016 at 9:57 pm #252927In reply to: Updating extended profile field (checkbox data)
shanebp
ModeratorIt won’t work unless you pass a ‘valid’ value. And you don’t have to use an array for a single value.
So if you have not changed theoption value( via Users > Profile Fields ) to ‘Subscribe to Newsletter Digest’, it will fail.To ‘uncheck’ the box – just delete that row for that user in the _bp_xprofile_data table.
xprofile_delete_field_data( field name or ID, $user_id )April 26, 2016 at 9:22 pm #252923In reply to: Updating extended profile field (checkbox data)
BobSD99
ParticipantTo keep this simple, and for illustration purpose, I edited the data I wanted to update in the question, which given it’s a checkbox, is confusing.
I actually want to toggle that element off, so I assume I’d actually either a) update the array to an empty field, or b) delete the entry entirely.
I assume I want to change the field to an empty string, but now that doesn’t seem as obvious. Some guidance is appreciated on updating this field and any curves a checkbox might throw in working with BP XProfile fields.
April 25, 2016 at 6:42 am #252869Naomi
ParticipantBecause adding them as xprofile fields doesn’t add them to the TML registration page that I need to use. Have you looked at the TML instructions? I followed them exactly and they don’t use xprofile fields so it’s glitchy.
-
AuthorSearch Results