Search Results for 'profile fields'
-
AuthorSearch Results
-
September 22, 2014 at 5:09 am #199338
In reply to: Creating a new profile -“field type”
triplebit
ParticipantThank you all,
As ACF doesn’t do the job,
is there any other way to add an edit box to the fields profile as my client wants?
Thanks in advance
I. LesherSeptember 21, 2014 at 4:52 pm #198961In reply to: Creating a new profile -“field type”
1a-spielwiese
Participant“BP’s xProfile component is not intended to be used as text editor, like the one you use to publish posts.”
However, if someone decides to have xProfile-fields like ‘Favorite Books’ or ‘Favorite Movies’ it would be nice, if the users could style the
- titels in italics
- and the authors respec. directors in regular.
As well ul- and li-tags for lists like, ‘favourite bands’ or ‘favorite dishes’ would be nice.
September 21, 2014 at 4:36 pm #198958In reply to: Creating a new profile -“field type”
danbp
ParticipantSeptember 21, 2014 at 10:53 am #198939In reply to: Add a new field in the "profile fields"
1a-spielwiese
ParticipantYes:
- Settings/BuddyPress/Compenents: Activate ‘Exteneded Profiles’
then:
- user/profile fields/add field – select the ‘field type’ you like
September 20, 2014 at 7:15 am #198033In reply to: Confirm Email Address – Registration Form – HELP
WisdmLabs
Participant@monicajay:
You can easily add one more profile field as “confirm email” from dashboard->users->Profile Fields.
You don’t need to mess with bp files.
For validation, you just need to add few lines of code to match email ID using javascript(for client side validation). It doesn’t need high level of coding skill.
@dhyana:
Don’t add fields directly in the core file, Buddypress provides you option page to add fields here. dashboard->users->Profile Fields
FYI registration file is located at –
/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/register.phpSeptember 18, 2014 at 7:22 pm #197868In reply to: Duplicate edit-profile groups
adamt19
ParticipantYa I’m using sweetdate. Definitely a child-theme issue. I restored to base SD and it went away. I’ve disabled all plugins (other than BP) and am deleting functions.php code like 100 lines at a time.
interestingly, I added a 4th profile group, and now this problem only occurs on the FIRST profile group. The second profile group (About) no longer repeats fields.
I know it’s not your job to support this! 🙂 just wondering if anything popped into mind. I have the production site in maintenance mode because if people edit + save their profiles with the repeated fields populated, it’s saving the information doubly as well, which will persist even after I fix this bug. D: eek.
September 18, 2014 at 7:13 pm #197867In reply to: Duplicate edit-profile groups
shanebp
ModeratorIt sounds like a theme issue.
Are you using a custom template for profile edit?The fact that the 3rd group doesn’t exhibit the same behavior is a clue.
Try adding a fourth group and see if the 3rd group starts to also duplicate fields.September 18, 2014 at 8:59 am #1973341a-spielwiese
ParticipantPS.:
I have no problem to access the BuddyPress Settings within the Dashboard (components, pages, settings).
I can as well access to “Benutzer/Profilfelder” (users/profile fields), “activity” and “groups” within the Dashboard.
September 18, 2014 at 8:57 am #197333In reply to: BuddyPress registration terms and conditions.
danbp
ParticipantUnder users> Profile fields> Add new field. This is only allowed to site admin, so i guess TOS is not intended to him.
Adding a TOS link to register page would be more usefull, no ?
This example snippet will do that (add to child-theme functions.php or bp-custom.php):
function bpfr_tos_link() { echo ' <b><i class="icon-thumbs-up"></i> Terms and conditions</b>'; } add_action( 'bp_before_register_page', 'bpfr_tos_link' );September 18, 2014 at 2:48 am #197316Iryna_B
ParticipantYes, I’ve seen the calculator, but that’s not exactly what I am looking for. I want a feature in Buddypress profile fields, that when a woman puts her child’s age or pregnancy week, she could see week by week development information on her profile page. Many baby web-sites have this feature, I was just wondering if BP has something similar.
September 17, 2014 at 7:28 pm #197289In reply to: [Resolved] Plugin suggestions please
danbp
Participant1 & 2) xprofile component let you add all fields you need – styling is theme related and on your side css work.
3) buddydrive
4) field values are clickable, this let the user find similar values on others profile.
5) buddypress default datajohnhutchy2014
Participanthmmmm!! Ive deleted the additional fields I added and change first name to full name, I then ran a bogus registration, and its given them a username as it should and then gave them a full name as inserted during the registration process, so fingers crossed it appears to have worked!
Now my next big dilemma is can I change those have already registered, so that their profiles read correctly ?? is there a way that you know of??
Thanks
danbp
ParticipantIf you created additionnally first and last name fields, it’s useless somehow, but i don’t think that it is related to your issue. Or only if you create those fields with an extra function related to the user table.
You have nothing to loose to remove them and give a try to your profile by using only the default name fields.
Username | Password | Email| ( wp part)
NAME (bp part)
The important thing to know is that the values of this 4 fields are stored in wp_users table.Any other profile field values are stored in _bp_xprofile_data table even if you create 20 first name or last name fields on the default showing BASE group.
What you can do is to give some guidance in the NAME field description, such as: enter here your first name and last name. Alas without any waranty that the user will follow your advice.
It’s exactly the same problem for the original wordpress “username” field. Some enter Bobby as username and John Doe into the name field (wow! correct !). Others do the opposite and others enter StupidCow in both fields. 😉
johnhutchy2014
ParticipantHi
“The NAME field in BuddyPress is intended to receive first and last name and replace the two original fields (first name, last name) coming with WordPress.”Does this mean that If I remove the first name and last name fields from ‘profile fields’ then that should fix the issue?
Thanks
September 16, 2014 at 8:43 pm #197213cwjordan
ParticipantJohn,
Thanks. I’m sure caching that data speeds things up in normal use, however I do regularly need to export all the extended profile fields, and it doesn’t make sense to try and cache that.
What exactly do you need to know? I’ve got 13302 users, with roughly 115 extended profile fields (many of which tend to be blank for a given user). My little test script is below, although what I actually use is the “Export User Data” plugin.
<?php /* Template Name: test template */ ?> <h2>TEST of BP_XProfile_ProfileData::get_all_for_user</h2> <?php global $bp; $start_time=microtime(true); $memory_use = memory_get_usage(true) / 1024 / 1024; echo "<br/>Start Memory Use = $memory_use MB"; for ($userid = 1; $userid <= 5000; $userid++) { BP_XProfile_ProfileData::get_all_for_user($userid); } $times_run = $userid -1; $finish_time = microtime(true); $elapsed_time = $finish_time - $start_time; $avg_time = $elapsed_time / $times_run; echo "<br/>Ran get_all_for_user for $times_run users"; echo "<br/>Elapsed time = $elapsed_time seconds"; echo "<br/>Avg time = $avg_time seconds"; $memory_use = memory_get_usage(true) / 1024 / 1024; echo "<br/>End Memory Use = $memory_use MB"; echo "</p>"; ?>johnhutchy2014
Participanthmmmmm I like to keep buddy press up to date 🙁 and my scripting skills are rather poor! I would have thought that there should be some validation already built in, why have the field as required otherwise?
During registration they enter their account details which consists of a username,email addy, password and confirm password, then they create their profile details on the right of the page, which Ive added fields for first name , last name, gender, DOB etc, and Ive selected that the first name and last name are required fields, so surely if they fail to enter data the form shouldn’t submit??
or am I missing something here 🙁
September 15, 2014 at 9:37 pm #197025applegateian
ParticipantApologies, I’m not a developer but trying to find a solution that works.
I tried editing bp-profile-filters.php by adding
add_filter( ‘xprofile_get_field_data’,’wpautop’ );I also tried upgrading Buddypress Xprofile Custom Fields Type plugin, as it was out of date, but this hasn’t helped.
From my rudimentary understanding, What I think I need to do is edit echo $data; to somehow include wpautop but I am not finding a way to do that…apologies if it is simple.
Thanks,
Ian
September 15, 2014 at 3:57 pm #196713In reply to: Is Buddy Press Right for me?
sundev
Participant@joedostie buddypress can achieve that as @ubernaut has said.
(1) When your users register, they will have their own profile page to put their details by default. You’ll need to create extra fields for bio/phone/etc as many as you want through the admin User->User Profile Field.
(2) For the animals profile, Wp static page or Category could be use to achieve that.
(3) For each user to blog independently, you can use these 2 plugins together: http://buddydev.com/plugins/buddyblog/ and http://buddydev.com/plugins/bp-simple-front-end-post/see function on site http://sunmyke.com
September 15, 2014 at 3:53 pm #196711In reply to: Is Buddy Press Right for me?
Ben Hansen
Participantwell out of the box you can set up any kind of fields with any label you wish i think a lot of what you need would be covered with text area fields. i would suggest you try it out on a test or stagaging server so you can get an idea for how xprofile works its pretty adaptable as is.
September 15, 2014 at 4:13 am #195823In reply to: Is Buddy Press Right for me?
Joe Dostie
ParticipantThanks Ben,
I appreciate the input. Any chance you may have examples? The more and more I read the more I seem to be understanding. I guess I am trying to accomplish 2 things here.
First I think I am trying to possibly extend and customize the “Portfolio” portion of WordPress.
As a very simple example I would like make the Project = to an Animals if you will.
The Categories would be their Species, Breed, Gender, etc.
The Skills could be Friendly, Likes Kids, House Trained, etc.I think the part the it troubling be is that this may require some customization in the form of renaming fields to be less confusing to the non-technical user. I consider myself technically savvy and I am lost! 🙂
I am guessing this could be accomplished with a Form like page or a plugin. But I was hoping someone was going to say…”oh ya, easy, just use XYZ”
——————————————-
So this would be my thought…
1.) A generic user with very little technical skill would come in to a very simple profile page of some sort.
2.) They fill in some info about themselves (so other fosters can see it – bio/phone/etc)
3.) They have a section on animals(s) they foster
4.) The animal would have its own profile if you will (because its a foster it can move around)It would be nice to use the blogging feature so each person can add, stories, pictures, links, videos and everything else WP has to offer.
——————————————-
Again, thanks for the reassurance, I think I am on the right track. I just think I may be putting the cart before the horse right now as there is a ton to do and a ton more to learn!
Anyone else reading this please feel free to send along some suggestions.
Thanks
September 14, 2014 at 11:12 pm #195818applegateian
ParticipantThanks for the pointer @henrywright – I’ve tried a few executions but can’t seem to generate the breaks/p tags that are needed.
Here is an example of where I am seeing the problem with profile fields – is there a way within the text that is outputted to enable wpautop? Thanks…
<div class="keyPeople"> <?php if (bp_get_profile_field_data('field=Key People') == "") : echo ''; else: // display code $data=bp_get_member_profile_data(array('field'=>'Key People')); echo '<h3>Key People</h3>'; echo $data; endif; ?> </div>September 13, 2014 at 3:54 pm #193476In reply to: [Resolved] Customise register page
danbp
ParticipantThe field NAME in the field group BASE is required. This group is used for the registration page to work. As you already know, it’s also this group who allows you to show custom fields on the registration page.
The NAME field in BuddyPress is intended to receive first and last name and replace the two original fields (first name, last name) coming with WordPress.That said, you can hide this field to users, but you can’t give them the choice to show/hide it.
The above snippet will hide the field NAME to all visitors/members, but not to site admin and the concerned profile.
function bpfr_make_name_members_only( $retval ) { //hold all of our info global $bp; // is xprofile component active ? if ( bp_is_active( 'xprofile' ) ) // The user ID of the currently logged in user $current_user_id = (int) trim($bp->loggedin_user->id); // The author that we are currently viewing $author_id = (int) trim($bp->displayed_user->id); // user can see only his name && admin can see everyone if ($current_user_id !== $author_id && !current_user_can('delete_others_pages') ) { $retval['exclude_fields'] = '1'; } return $retval; } add_filter( 'bp_after_has_profile_parse_args', 'bpfr_make_name_members_only' );Add this to your child-theme functions.php or to bp-custom.php
September 12, 2014 at 5:55 pm #192577In reply to: [Resolved] Need a plugin to require xprofile fields
samdobrow
ParticipantGood points.
Initially, I’d be glad to have a check to require completion of all the xprofile fields then automatically (approve) change the user role to allow more access.
Another option might to be to grant access to the xprofile fields while in a pending status, then manually approve when the profile is completed. Currently, I have an intercept in the login routine that logs users out if their status is pending and redirects them to a “Pending Approval” page. Perhaps I could leave them logged in and force the redirect to the xprofile page. Any ideas on how to form the correct url to the xprofile page? Will all xprofile tabs be accessible under the single url?
Thoughts? Ideas?
September 12, 2014 at 11:29 am #192184In reply to: [Resolved] Need a plugin to require xprofile fields
colabsadmin
ParticipantHave you asked the BP Private plugin devs? Seems that you could edit their code to do a check of each required field. They’re probably only checking if a person is logged in.
if (!bp_is_my_profile() && !bp_custom_get_member_list_xprofile_data('Company') && !bp_custom_get_member_list_xprofile_data('Location'))The unfortunate part of this is that check would have to be done on every page causing unnecessary processing time to every page load, unless you set a cookie or a single flag in the db. But then what happens if a user removes the information in one of the fields at a later date.
September 12, 2014 at 9:00 am #192180In reply to: Can BuddyPress Do This?
danbp
Participantyes, you can have all this !
Profiles are public, but you can set them as “members only”.
And each member can choose the field visibility. Also it is very easy to let some fields public, allow to members or only to users friends.You can also hide comments with your conditionnals.
Discover here all buddypress features and read a bit the codex to see all things you can realize with buddypress.
-
AuthorSearch Results