Search Results for 'profile fields'
-
AuthorSearch Results
-
August 7, 2012 at 4:02 pm #138646
In reply to: Strange field in the registration form?!
Paul Wong-Gibbs
KeymasterIt’ll be a profile field set up in wp-admin. Look for “Profile Fields” under the “Users” menu, and delete it.
August 7, 2012 at 9:12 am #1386069087877
Inactive@jloc14 Install and activate @modemlooper ‘s BuddyPress Extended Settings plugin from here https://buddypress.org/community/groups/buddypress-extended-settings/
In the dashboard go to BuddyPress/Extended Settings put a check beside “Profile Field Links Disable auto linking of user profile fields” and at the bottom click “Save Changes.” This will remove the auto linking of those profile fields. Alternatively you can create a file named bp-custom.php and place it in the plugins directory and copy and paste in the below code:
`<?php
// hacks and mods will go here
function remove_xprofile_links() {
remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 9, 2 );
}
add_action( ‘bp_init’, ‘remove_xprofile_links’ );
?>`
Save the file and this will accomplish the same goal.August 6, 2012 at 7:44 am #138457In reply to: BuddyPress 1.6 is now available
mairaj
ParticipantJust updated! the new privacy option added to the profile fields are creating confusion in my setup. Is there a way I can disable it?
I requested urgent help on this please.
Thank you very much
August 5, 2012 at 4:00 pm #138429In reply to: How to validate custom profile fields.
Roger Coathup
ParticipantIf you want validation as they type / enter — hook some jQuery onto your form. [That’s standard jQuery form validation, for which you’ll be able to Google for plenty of examples]
In your jQuery, you can call out (POST) to your PHP validation function. Look up AJAX in WordPress for details on how to do this – in particular you are interested in using admin-ajax.php and registering your function as an action. You then specify that action in your jQuery AJAX call.
You might also want to look at some of the WordPress data validation functions.
August 5, 2012 at 11:40 am #138421In reply to: How to validate custom profile fields.
enderpal444
Participant@boonebgorges @djpaul Can you toss a dog a bone on this? I’d really like to know how to do it.
August 2, 2012 at 7:33 pm #138334In reply to: Feature Request: XProfile Programmable Custom Fields
Tammie Lister
ModeratorIt’s not a perfect solution but have you look at gravity forms for registation forms and BuddyPress? http://www.gravityforms.com/
August 1, 2012 at 11:25 pm #138288In reply to: Interactive Profile Fields During Registration
jaimebib
ParticipantAnybody got this to work??
July 31, 2012 at 7:52 pm #138222mariazapata
MemberHello Roger,
Yes I am sure that i set up that correctly $curauth->ID, is just a number….
:S…
Thanks!July 31, 2012 at 8:48 am #138201Roger Coathup
Participantok… as I guess you know, modifying the core code isn’t a good solution!
Am not sure why your original code isn’t working, as the later $r = wp_parse_args( $args, $defaults ); call should overwrite user_id with the one you supplied anyway.
Did you check that $curauth->ID was set correctly?
July 31, 2012 at 8:18 am #138200mariazapata
MemberHi commented this line out, on the bp_members_template.php
//$user_id = 0;
and it works… I didnt want to touch this… but i cant find any other way
July 30, 2012 at 7:22 pm #138185In reply to: Buddypress Profiles feature request
Susan Adams
MemberMy network is a bunch of baby boomers selling crafts. I teach them how to be a merchant more effectively. Their stores on Artfire.com has a widget per seller where they can add a rapid cart, shopping window or a collection. All the code is clean and safe, no other code will be allowed. I’m aware of the spammer risks..been there, done that.
The field should look similar to a blog post editor or text widget. Besides, the rapid cart code won’t work unless a shortcode is made by adding the script to the widget area and then shortcode for it in the field. This is why I’m wondering if the multisite is a better fit, harder, but better fit for what I want to offer.
The Ning sites had pages for members like such. They were drag and drop fields with the ability to accept code. Like a comment box might. This is what I need for members. I already have a member approval mechanism installed. They have to attend the basic instructions of how to blog, to be able to use the field I need made. A sign of who they are.July 30, 2012 at 6:25 pm #138183In reply to: Buddypress Profiles feature request
modemlooper
ModeratorIt’s dangerous to allow code to be entered into profile fields. Why HTML?
July 28, 2012 at 6:23 pm #138106In reply to: How to validate custom profile fields.
enderpal444
Participant@karmatosed I had seen that but didn’t see an answer on how to do what I’m trying to do. I need a live validation to show the user whether or not their entry is a valid url for facebook or twitter.
July 28, 2012 at 6:06 pm #138105In reply to: How to validate custom profile fields.
Tammie Lister
ModeratorI think https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/validating-a-url-from-xprofile-field/ may provide a good starting point. If I am wrong though please let me know and I’ll take a look.
July 28, 2012 at 1:47 pm #138090In reply to: BuddyPress Profile Privacy Extension
modemlooper
ModeratorAre you referring to the profile fields or the tabs?
July 27, 2012 at 8:47 pm #138060In reply to: Tagging Members
r-a-y
KeymasterLike Juan mentioned, XProfile already autolinks various profile fields.
eg. http://testbp.org/members/johnjamesjacoby/profile/Check out the links in the profile page. They will automatically redirect to the members directory with the search term.
It might not fit your spec exactly, but maybe it can give you some pointers.
The BP Profile Search plugin also enhances the xprofile search a bit as well.
July 27, 2012 at 8:10 pm #138055In reply to: Tagging Members
juanmaguerrero
ParticipantI think that depending on the final result you want to achieve, there are already a few tools that will get the work done. For example: if you want to mention your users, you can use de bp labs plugin that will add the “autocomplete” feature to the mentions for more usability (also could be used vía comments for mimicking the picture-tagging like Facebook). In the other hand, you can use profile fields to let members “tag” themselves on a different number of topics… etc.
Maybe if you tell us what would you use it for we can think of a posible way to achieve that
July 27, 2012 at 1:55 am #138021In reply to: activation email goes to user’s spam folder
raminjan
ParticipantHey Modem Looper bud the plugin you wrote custom profile fields is there anyway to prevent some not all profile fields to show up on registration page? and also about the age drop down so is there really cure for that year problem with wp? because it goes up to 2037.
July 23, 2012 at 8:04 pm #137851In reply to: Profile Fields deleting on profile saving
Paul Wong-Gibbs
KeymasterBuddyPress comes with a default “Name” field in the Extended Profile components. Are you using the Extended Profile component; have you renamed the default Name field, and what are you using that field for?
July 20, 2012 at 12:58 pm #137673In reply to: Spamming Issues HELP!
danbpfr
ParticipantHello,
registration process has nothing to do with BP, it’s WP stuff. For some technical answers to your question, be inspired by reading here:
http://www.esecurityplanet.com/open-source-security/top-5-wordpress-vulnerabilities-and-how-to-fix-them.htmlTo avoid robot resgistration, there is nothing definitve to do at this time. But to get sure you don’t get a robot in your user list, you can add a mandatory field to your registration via custom profile fields.
For example, “city”. Because this field is custom, no robot will fill it correctly. And most will not fill it at all. Each subscription with “doe” as city name or empty city field can be banned and/or erased from your DB. This will calm down spam activities for a while. The price of this is a constant admin work. But consider that a daily managed site is lesser spammed than a site with randomised webmastering each 31th february… And a site with 50 000 unique visitors will be more attacked that a 70 hits/day site. Just the price of glory, nothing to do with buddypress. [exit]
July 19, 2012 at 3:43 pm #137616In reply to: Create profile fields visible only to administrator
Roger Coathup
ParticipantWhat was the problem you encountered with your approach?
Paste your code, and let us know the error messages, and someone may be able to assist.
July 19, 2012 at 9:10 am #137583PE Scholar
Member@djpaul – Just the standard, out-of-the-box BuddyPress registration process for now. Couple of additional fields, all added as standard (via BP profile settings).
We are looking into using Gravity Forms for user registration in the future, mainly so that we can hook Twitter (& other social url’s) into extended & custom profile field, and also to make the registration process self-contained (not requiring email activation), but right now, we’re just using out-of-the-box functionality/forms.
FYI – We’re also using the Mingle theme by Parallelus but having raised this issue over on their support forums, I was informed that it’s highly unlikely to be a theme-related issue, which is fair enough really.
July 18, 2012 at 11:06 am #137488frank tredici
MemberWell, yes and no @hotsitez….
Here’s what I have:
I went into WordPress/BuddyPress via wp-admin — then navigated to Buddy Press > Profile Fields
On the Extended Profiles Fields page, I added a “Start Date” for our members to populate which is the date they started with our company. Then on the Base (Primary) tab on that page, I got my extended field positioned where I want it to display.
Perfect (so far).
Now what I want to do is apply some PHP to calculate how many months and years the person has been with our company and parenthetically display it next to the start date value on the member’s profile page in Buddy Press when people view a person’s profile.
How To Do That?
So where/how in member-header.php do I add that bit of PHP code? Note, I am a PHP coder, so I have no problem producing the code to make the calculation — I am not asking for that guidance. I simply need to know (a) what script/document file do I go to to add my code, (b) where in the page production stream in that script/document file do I add my code, and (c) how do I grab the start date value that is stored in the BuddyPress DB?
This maybe too complicated for Buddypress to do, but I am willing to give it a shot.
[Note: I toyed around with member-header.php per @hotsitez suggestion. The profile area that this script impacts is the upper “header’ area for a member. I am interested in getting into the flow of the Profile > Base page.]
July 18, 2012 at 8:07 am #137480Roger Coathup
Participantan outline solution (there are lots of areas where you’d have to work to implement it):
When a group is created, you could write a hook that creates a corresponding xprofile field group (remember to hook on delete group as well to remove the profile field group)
In the member’s profile screens, you would hide that xprofile field group if the member is not a member of the group
In a hook on Join Group, you’d want to display an additional screen that prompts for the user fields, and when that is submitted use the xprofile API to write the data to the user’s profile
I guess finally, you’d also want to modify the members loop inside the group to show that informationThere’s a lot of code for you to trawl through
July 17, 2012 at 9:24 pm #137457hotsitez
MemberFrank – while I am new to BuddyPress (started it on a site today), i think you are working on similar layouts at moment that I am. The file I just finished re-working was “member-header.php” – I had added Profile Fields like Gender, Age, Etc. to display Gender for Example I used:
‘[?php bp_profile_field_data( ‘field=Gender’ );?]’
basically add the name of the Profile Field you wish to display and use the Field Title name you gave it in the format above.
Other than that its just editing CSS and adding text etc to layout. I am still working on many things – its the one area I really want to pop is the Profiles pages.
I hope it helps!
-
AuthorSearch Results