Search Results for 'profile fields'
-
AuthorSearch Results
-
March 31, 2010 at 2:56 am #70976
In reply to: BuddyPress Multilingual
sannymedia
ParticipantHi jozik,
I’m dealing with a big problem regarding Buddypress multlingual: no matter what I do, I can’t figure out how to make the BP Registration page multilingual, since the Registration/ Sign Up Fields are dynamic I guess, I don’t know how to translate them from EN to IT once I set them up??? Also because at the moment my Italian version is a mixture of the following fields to name just the first 2 that can’t be translated:
Dettagli Account (obbligatorio) –> is fine
Indirizzo Email (obbligatorio) –> is fine
Scegli una Password (obbligatorio) –> is fine
Conferma Password (obbligatorio) –> is fine
Dettagli Profilo –> is fine
Name (obbligatorio) –> here its starts since Name is set in “general settings”
Last Name (obbligatorio) –> and Last Name was added by me in “profile field setup”
…
.
.
Do you have an idea how to solve this problem? Or am I missing something? Please help!
Thanks & Grazie!!!
Sanny
(my site: WPMU 2.9.1, Buddypress 1.1.3, WPML 1.7.1. & Buddypress Multilingual 0.9.2 )
March 31, 2010 at 2:07 am #70971sannymedia
ParticipantHey everyone,
I’m dealing with a similar problem: no matter what I do, I can’t figure out how to make the BP Registration page multilingual, since the Registration/ Sign Up Fields are dynamic I guess, I don’t know how to translate them from EN to IT once I set them up??? Also because at the moment my Italian version is a mixture of the following fields to name just the first 2 that can’t be translated:
Dettagli Account (obbligatorio) –> is fine
Indirizzo Email (obbligatorio) –> is fine
Scegli una Password (obbligatorio) –> is fine
Conferma Password (obbligatorio) –> is fine
Dettagli Profilo –> is fine
Name (obbligatorio) –> here its starts since Name is set in “general settings”
Last Name (obbligatorio) –> and Last Name was added by me in “profile field setup”
Does anyone have an idea how to hack the register.php? Or am I missing something? Please help!
Thanks & Grazie!!!
(my site: WPMU 2.9.1, Buddypress 1.1.3, WPML 1.7.1. & Buddypress Multilingual 0.9.2 )
March 30, 2010 at 5:29 pm #70857In reply to: Simple BuddyPress Profile Privacy
Mark
Participant@mrjarbenne – Good point.
To set a default privacy level that ensures no one inadvertently exposes info, open the file simple-buddypress-privacy.php using a basic plain text editor like Notepad on Windows (do not use Microsoft Word to edit code). Find this line near the top somewhere:
define( ‘CPT_BP_XPROFILE_PRIVACY_FIELD_DEF_VALUE’, ‘3’ );
Change the number 3 to 0 (zero). Save the file, then upload the plugin and activate it. By changing 3 to 0 the plugin will default to making all profile fields invisible to everyone except the profile owner. Then students can edit their profile and intentionally choose which fields to expose.
That’s the quick fix for your particular situation.
Of course that still doesn’t allow you to force any permanent settings since students ultimately get control. But I see your point – I just don’t agree with it entirely even in the case of elementary school students.
As a parent, I advocate teaching along with careful monitoring – the two go hand in hand. Of course being taught involves the student making mistakes – granted. So, if you really want to ensure that no student exposes sensitive information then consider not providing a mechanism for such information to be put into a Web site – particularly since unless you put those computers in a vault at night then you have no idea who is really accessing that information nor when it is accessed. For example, what if your school is burglarized and the computer(s) stolen? Or if your site is not hosted in the school itself, then you have no total control whatsoever over what happens to the information in the site.
March 29, 2010 at 8:05 am #70623In reply to: Plugin: BP Blog Author Link
@mercime
Participanthttps://wordpress.org/extend/plugins/bp-profile-widget-for-blogs/
– enables blog admins to show their BuddyPress avatar with link to BP profile page plus own xprofile fields
March 20, 2010 at 1:13 am #69374In reply to: plugin request for LinkedIn integration
Pedro Miguel
Participant+1
If plugin can also import/export Resumees (CV’s) maked with x-profile fields (with a map fields from linkedin to bp option) will be gold.
March 19, 2010 at 8:54 pm #69326peterverkooijen
Participantissue could only be the Email Domain setting on the Facebook application, as far as I know
That sounds like it to me. Have you checked that Greg? I don’t think it’s anything Buddypress-specific.
Andy’s version of the plugin works brilliantly for me, including custom queries – except a query for xprofile fields, haven’t figured that out yet.
March 18, 2010 at 10:28 pm #69113In reply to: Simple BuddyPress Profile Privacy
Mark
Participant@r-a-y: Didn’t see that one, and after hunting around for a while I decided to stop hunting and make one work. I read and write code pretty fast so for me making one work is faster than hunting in this case.
Anyway, the one I released allows for only showing info to logged in users. The plugin you linked doesn’t do that. Plus I don’t see any reason not to give the user total control over their profile since it’s their info (thus no need for a setting to “Let user decide” )
Also, the one you linked has controls in the admin panel that govern a user’s profile. So if you want to let a user control their own settings you have to set every profile field to “Let User Decide” which is fine, until you add new profile fields and forget to go back and make that adjustment for the new fields.
I like the no maintenance route of just automatically letting the user take total control of their info.
Thanks for the link though.
And for clarity’s sake, I didn’t write the original code. I simply modified it to work with BP 1.2 and added a few features.
As for UI, there’s no need for an admin interface so none exists. To handle display of the field controls you have to modify CSS to work with your particular template unless it works out of the box Ok for you. Same as any plugin that puts content on a site.
March 18, 2010 at 9:20 pm #69083peterverkooijen
ParticipantThanks justin_k. The discussion mentions this function from “Andy”:
<?php
function bp_fbconnect_modify_userdata( $userdata, $userinfo ) {
$userdata = array(
'user_pass' => wp_generate_password(),
'user_login' => $fbusername,
'display_name' => fbc_get_displayname($userinfo),
'user_url' => fbc_make_public_url($userinfo),
'user_email' => $userinfo['proxied_email']
);
$fb_bp_user_login = strtolower( str_replace( ' ', '', fbc_get_displayname($userinfo) ) );
$counter = 1;
if ( username_exists( $fb_bp_user_login ) ) {
do {
$username = $fb_bp_user_login;
$counter++;
$username = $username . $counter;
} while ( username_exists( $username ) );
$userdata['user_login'] = $username;
} else {
$userdata['user_login'] = $fb_bp_user_login;
}
return $userdata;
}
add_filter( 'fbc_insert_user_userdata', 'bp_fbconnect_modify_userdata', 10, 2 );
?>Where should I add this? Does this use ‘firstnamelastname’ as username and check for doubles? Does it synchronize and update all the fields in wp_users, wp_usermeta and xprofile?
Usernames like this, ‘community.net/members/fb_100000441950350’, are really not acceptable imho.
Where is the query that actually stores the new user data in the database? Is it in the plugin or does the plugin send data back to WP/BP files? I also need to that data stored in mailinglist tables.
March 15, 2010 at 11:44 am #68399In reply to: How to grab xprofile data?
gaysurfers
ParticipantHi r-a-y
I have tried to post specific xprofile fields with no success.
It did work but since I installed the new version of buddypress (Version 1.2.2.1) it seems to have stopped working.
http://www.gaysurfers.net/members/I have tried the following:
<div class="item-meta"><?php bp_profile_field_data( 'field=Country' ) ?> - <?php bp_profile_field_data( 'field=Surf Spot' ) ?></div> and also <div class="item-meta"><?php bp_member_profile_data( 'field=Country' ) ?> - <?php bp_member_profile_data( 'field=Surf Spot' ) ?></div>I don’t know which one to use, but anyway none of them works. Is there some more code I need to add for it to work?
ThanksMarch 14, 2010 at 11:45 pm #68317gaysurfers
Participantif you want to have a look at the site, I am talking about this page:
http://www.gaysurfers.net/members/
The fields should be displayed next to each members, but it does not happen
March 14, 2010 at 3:00 pm #68225In reply to: Spam, Spam and more spam
David Lewis
ParticipantSo to sum up:
- Change your signup slug
- Add some required custom profile fields (or use the hashcash trick posted at the start of this thread)
- Disable “Allow blog administrators to add new users to their blog via the Users->Add New page”
- Delete BuddyPress credit in footer.php
- Delete wp-signup.php
- Create a robots.txt file with User-agent: * Disallow: /register/ (or whatever your slug is)
- If all else fails, use CAPTHCA or preferably a simple random question (what colour is snow)
Am I wrong or missing anything?
Also… all of my SPAM registrations were coming from .info domains. I added this to my .htaccess file but I’m not sure it’s correct. I found a million examples via Google search for how to ban full domains or subdomains… but nothing about blocking an entire extension (i.e… whatever.info). Anyway, this is what I wrote:
RewriteCond %{REMOTE_HOST} \\.info$
RewriteRule .* - [F]March 12, 2010 at 10:44 pm #68044In reply to: WP + BuddyPress Private Profile Fields
Pedro Miguel
Participanttheres already a plugin who does that, ,you can use the plugin or check the source and adapt to your needs.
March 12, 2010 at 6:33 pm #68003In reply to: WP + BuddyPress Private Profile Fields
e_mcpartlin
ParticipantWas this ever solved? I am trying to accomplish the same thing – make some profile fields private. Thanks!
March 12, 2010 at 2:04 pm #67948In reply to: Buddypress forum (bbpress) profile custom fields
enzyad
Participantup
March 12, 2010 at 3:35 am #67901In reply to: Help migrating my site to a new server
Psyber
ParticipantI have was able to export and import my WordPress content into WordPress, getting all of my users, their info, and buddypress x-profile fields is where I am getting hung up. I keep gettin the #1062 – Duplicate entry ‘1’ for key 1 error message.
March 9, 2010 at 6:32 pm #67421In reply to: How to grab xprofile data?
Boone Gorges
KeymasterOho, I learn something new every day!
So r-a-y – since it’s profile-field specific, you can probably skip
while (bp_profile_fields() ) : bp_the_profile_field()right? #toolazytotrymyselfMarch 9, 2010 at 5:46 pm #67409In reply to: How to grab xprofile data?
r-a-y
KeymasterBoone is right; however there is a way to post specific xprofile fields!
Check out a nifty function called bp_profile_field_data().
Say I have an xprofile field called “Bio”.
I’d use this code snippet:
bp_profile_field_data('field=Bio');This will echo the “Bio” xprofile field of the displayed user.
If you want to manipulate the data, use:
bp_get_profile_field_data('field=Bio');March 9, 2010 at 4:53 pm #67401In reply to: Saving Selection Field Issue
Mark
ParticipantI just discovered the same problem of getting the same “Please try again” when attempting to save a profile with empty not required fields. Also only One (the last) item selected in a Multi Select Box is being saved and displayed on the Pubic Profile page. Check Boxes do work properly and display all checked items on the Public Profile Page. I’ll enter this in the Trac later today unless someone shares some additional insight.
March 9, 2010 at 4:35 pm #67399In reply to: How to grab xprofile data?
Boone Gorges
KeymasterIf you want to get information out of the custom xprofile fields, you’ll need to use some of the functions in the profile-loop. I don’t think there are any core BP functions that allow you to pull a specific profile field by name or ID, so you’ll have to create a profile loop (
<?php if ( bp_has_profile() ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>), then a profile field loop (<?php if( bp_profile_group_has_fields() : while ( bp_profile_fields() ) : bp_the_profile_field(); ?>) and then loop through the items, picking out the ones you want by field name. Use the code in profile-loop.php as a template for what you want to insert into members-loop.March 6, 2010 at 8:35 pm #67039In reply to: WP + BuddyPress Private Profile Fields
freebee1989
MemberOkay, thanks! Anyone have any idea o how this can be done now?
March 6, 2010 at 7:59 pm #67038In reply to: Turn off links for profile fields
Nick Watson
ParticipantOh okay, so I read through the readme, and I see the line:
“Future features include: admin tab with toggle switch; ability to tweak BP’s automatic profile filter”
So in the future, there’ll be a way to turn off the auto filters. The plugin always worked, it was just the automatic BP linking that I was not aware of.
Thanks.
March 6, 2010 at 7:43 pm #67036In reply to: WP + BuddyPress Private Profile Fields
r-a-y
KeymasterThat code snippet probably applied to an older version of BP.
March 6, 2010 at 5:18 pm #67022In reply to: Turn off links for profile fields
Paul Wong-Gibbs
KeymasterIf someone posts this on the Ideas forum, that’ll get this flagged for a future BP release. I know John’s working on xProfile in BP 1.3, so it’ll never work again properly *hides*
March 6, 2010 at 5:06 pm #67018In reply to: Turn off links for profile fields
Boone Gorges
KeymasterThanks for the plug, Erich

https://wordpress.org/extend/plugins/custom-profile-filters-for-buddypress/ is the plugin you’re thinking of. I updated it about a week ago to work on versions of BP 1.2+ (though you should definitely let me know if it does not work!).
@Nick – the plugin will do what you want. Check out the readme file, which will explain how to make it work.
@gregfielding – That’s a good idea, but at the moment BP is not set up in a way that makes it easy to create those check marks with a plugin. Maybe I’ll submit a core patch that does it, as I’d like to see it too.
March 6, 2010 at 4:27 pm #67015In reply to: Turn off links for profile fields
abcde666
Participantcheck this out:
http://teleogistic.net/2009/05/custom-profile-filters-for-buddypress/
Boone for President

BTW: please let me know if this Plug-in works fine with BP-version 1.2.1
-
AuthorSearch Results