Search Results for 'profile fields'
-
AuthorSearch Results
-
May 1, 2009 at 5:00 pm #44053
enlightenmental1
Participanthow much would this cost:
modify rpx to insert fields into bp xprofle (as much as possible…name, email,)
specifically, we have a $session which stores a referral id… we’ve modified fbconnect to take the session variable and insert into the bp user profile
we need to modify the rpc to get the same $session and add that to a xprofile field
rpx sign-ups are redirected to a custom page, where we tell them to fill in their profile information… could you also redirect fb connect registers to the same page?
i.e. “you’ve registered using a 3rd party….. be sure to update/complete your profile info”
I would be interested in having this done
I believe you have my email
May 1, 2009 at 3:15 pm #44029enlightenmental1
Participantit works with RC2 and RC2, wpmu 2.7 / 2.7.1
just doesn’t work perfectly….
and it doesn’t work if you’re already using the fbconnect plugin
fbconect users are different from rpx users
so i’ve had to remove the fb from rpx
this needs some modifications to allow the rpx to insert data into the xprofile fields..
the only reason Im not using this currently, is because we’re using sessions to pass a referral code and we can’t get rpx to insert the referral code into an xprofile field..
May 1, 2009 at 4:13 am #43974In reply to: FAQ: How To, Code Snippets and Solutions
vsellis
ParticipantHow to show secondary profile fields while hiding the \”Base\” profile fields in a user profile:
On line 3 of profile-loop.php add:
<?php if (!bp_the_profile_group() == \"1\") : ?>
(after the
<?php while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
)and don\’t forget to close your \”if\” before the
<? endwhile; ?>
April 27, 2009 at 9:02 pm #43741In reply to: BP-Dev plugins issues
enlightenmental1
Participantflickr thickbox is a nice improvement….
for my site admin, everytime i refresh the profile, the username in the flick settings changes to a random user
I left the flickr settings fields blank
?
April 26, 2009 at 4:24 pm #43641In reply to: Recent blog posts (site wide) isnt working anymore
Ezd
ParticipantI think it was after i added the option for new user registrations and i added some extra profile fields that “Recent Blog Posts (side wide)” and sitewide activity for new posts broke.
Please help.
April 26, 2009 at 9:58 am #43616Paul Wong-Gibbs
KeymasterAt the moment, you can’t rearrange the profile fields. This is something that will come in future versions of BuddyPress.
Suppose you could dig inside the database but I don’t know offhand how it sorts them.
April 24, 2009 at 10:32 pm #43534In reply to: Links Fail in Profile, Groups, etc.
Scotm
ParticipantActually, no, the issue is there with the default bp-member theme as well. I’ve tried it with both the default and my own customization of the same. For whatever reason, all of the entries in my profile fields are hotlinked.
See: http://blogpei.com/members/admin/
Thx
April 24, 2009 at 7:30 pm #43511In reply to: Empty Profile Page
Will White
ParticipantI think we might be thinking of different things. I was just saying I used the “Profile Fields” option under the “Site Admin” drop down in wp-admin to add a few more fields beyond just name and email (the defaults).
There are only two users so far – “admin” (where I alter stuff) – and a basic user account I made just to test out the site and see if from the subscriber standpoint – not admin.
However on the page that should load up a users profile, including their name, avatar, etc – it loads the header, footer, sidebar, but in the “content” area it just says “Edit this entry.” with a link that just refreshes the page.
April 24, 2009 at 6:44 pm #43508In reply to: Links Fail in Profile, Groups, etc.
Scotm
ParticipantUpdate: This issue was on my end. I’ve customized the bp-member theme and found part of the problem (new profile groups not showing up) but the entries in those fields continue to be hotlinked. When clicked, they all go to the member directory.
Cheers
April 24, 2009 at 2:31 pm #43487In reply to: Empty Profile Page
Will White
ParticipantI made 8 custom profile text fields, like City, Company, Title etc. They “worked” as in when a user goes to the signup page they show up and get filled out they way they are supposed to.
The default email thing is in the WMU options where you can automatically send an email to folks who sign up. The default value is something like “Thanks for signing up for your blog… etc”. I changed it to “Thanks for creating your profile… etc” in the settings. However the email I got when I created a subscriber account was the original blog one.
Hope that clarifies it.
April 24, 2009 at 2:24 pm #43484In reply to: Empty Profile Page
takuya
Participantwhat do you mean by this?
I have about 8 profile fields and they all worked, but they sent the default message to the email address even though I updated it via wp-admin.
April 24, 2009 at 4:54 am #43404In reply to: How to make “about me” kinda profile field?
Burt Adsit
ParticipantThe action that triggers the ‘no linking’ workaround doesn’t exist in RC2. I made it easier to specify what fields you do not want linked. I haven’t tested this but it should work.
function my_no_links(){
remove_filter( ‘bp_the_profile_field_value’,’xprofile_filter_link_profile_data’, 2 );
add_filter( ‘bp_the_profile_field_value’,’my_no_links_filter’, 2, 3 );
}
add_action(‘plugins_loaded’, ‘my_no_links’);
function my_no_links_filter($field_value, $field_type = ‘textbox’, $field_id){
$no_links = array(1,5,99);
if ( in_array((int)$field_id, $no_links))
return $field_value;
else
return xprofile_filter_link_profile_data($field_value, $field_type);
}
This is also up on http://buddypress.pastebin.com/f461fc21e
Put the field ids that you do not want to have automatically linked in the $no_links array.
April 22, 2009 at 1:56 am #43191In reply to: Profile fields how to rearrange ?
John James Jacoby
KeymasterResolved. GJ Paul.
April 21, 2009 at 8:39 pm #43147In reply to: Profile fields how to rearrange ?
Paul Wong-Gibbs
KeymasterIf you mean on a user’s profile page, i.e. http://example.com/members/13hulyo/, you can’t. This will be an enhancement that might come in future versions of BuddyPress. You can edit the source files and change the order I believe but a) I don’t know how to do that b) you will have to make the change every time you upgrade and c) so I don’t recommend.
April 21, 2009 at 1:38 am #43082In reply to: MySQL Query Question
Burt Adsit
ParticipantFirst it would be nice to know what version of bp you are using. The latest trunk has lots of template functions and a new template class for the xprofile component.
Frankly the profile component is complicated in that it uses three tables to organize and get access to profile field data. Fields are accessed first by field group then field id then field value.
I don’t think that anyone is going to waste time on a detailed tutorial for RC1 code. Look at the following files and you’ll get an initial idea of how to access the profile fields.
/bp-xprofile/bp-xprofile-templatetags.php
/bp-xprofile/bp-xprofile-classes.php
With the template tags file being the most useful probably and the classes showing you how things are organized.
April 20, 2009 at 12:50 pm #43040In reply to: Displaying A User’s Profile with User ID
Wythagy
ParticipantI’m not quite sure what you are asking…judging by your thread title you’ll need this function:
bp_core_get_username( $uid )
and then you can just call the profile fields accordingly…
April 15, 2009 at 2:01 am #42674In reply to: Avatar Upload
Jeff Sayre
ParticipantVito687-
I can not change or create avatars
I assume you mean that you cannot create avatars at all. If that is the case, then you cannot even get the chance to change your avatar. Is this correct?
The error you mentioned in your OP is found in only two places in BP:
- bp_core_avatar.php –> in the function bp_core_avatar_admin
- bp_xprofile_signup.php –> in the function xprofile_validate_signup_fields
So, either you do not have sufficient permissions in the folder where the avatar is first uploaded, or you’re uploading an avatar that is too big. I will guess that it is the first problem based on the error message.
But, let’s be thorough.
You mentioned that you’re running a very recent BP trunk version and WPMU 2.7.1_beta from branch. We’ll assume that everything is correct with your upgrade and that you’ve also read the thread Lance mentioned and tried any applicable suggestions.
Here, then, are some additional or follow-up questions:
- What is the size of the avatar you’re trying to upload?
- What is the avatar’s format?
- Are you using the standard buddypress-member theme or a customized theme?
- What version of GD is installed?
- What version of PHP are you using?
- Have you checked all the folders in blog.dir and made sure that there are indeed no files?
- Have you checked the permissions of each of the subfolders in blog.dir?
April 14, 2009 at 5:33 pm #42646In reply to: Xprofile: Just show first Letter of last name
John James Jacoby
KeymasterHere is what I would do… And what I do mostly on all of my BuddyPress installations…
In your BuddyPress->General Settings, make the “Full Name field name” be called “Display Name” or in your case “First Name/Last Initial”
That way, people know right away what you want shown there. You won’t need to baby sit them because it says right there what you want entered. Most people will follow suit, and the ones that don’t, what’s the diff?
(Notice I use my middle name here on bp.org?)
Then, create extra fields for First Name and Last Name, for yourself to use. Make them visible if you’d like, or whatever.
This way you’re not trying to create a crazy filter to micro manage anything.
April 14, 2009 at 12:48 pm #42618In reply to: BP-FBConnect Plugin
2448027
Inactivegot it working it was my stupid php… so what exactly does this do ? when you post a blog on wpmu does it post it on fb as well?? and vice versa ?
also isnt there anyway to take out users profile info … and put em into there buddypress if they have the same fields..?
April 14, 2009 at 3:09 am #42584In reply to: How to use full name, first name + last name
Mike Pratt
ParticipantI’m sure you can but I haven’t looked at xprofile_fields just yet. A bunch of other problems to solve. Burt Adsit might be able to help
April 14, 2009 at 1:19 am #42579In reply to: Full Name –> Display Name
Jeff Sayre
ParticipantIt\’s not found in a form. It is located in the wp_bp_xprofile_fields table as a piece of data.
The function xprofile_add_signup_fields in the file bp-xprofile-signup.php extracts it from that table.
April 13, 2009 at 3:18 am #42494In reply to: How to use full name, first name + last name
peterverkooijen
ParticipantWhy don’t you just add two additional profile fields (last name & first name) , make them required so they show up on registration and then write a custom function to tweak the sign up email?
Yes, that’s what I want to do. But how would that work?
I’d already tried editing wpmu-functions.php, replace ‘Dear User’ with ‘Dear DISPLAYNAME’ and then add this line:
\’$welcome_email = str_replace( “DISPLAYNAME”, $user->display_name, $welcome_email );\’
But the display_name field in wp_users has the username, not the full name. Full name and other profile fields are in wp_bp_xprofile_fields + wp_bp_xprofile_data. I have no clue how to get them from there.
Is it possible to write a function to retrieve full name (or first + last) from wp_bp_xprofile_data and put the result in the email? How does that work? Can you point me to a code example that shows the basic principles?
April 13, 2009 at 2:20 am #42493In reply to: How to use full name, first name + last name
Mike Pratt
ParticipantWhy don’t you just add two additional profile fields (last name & first name) , make them required so they show up on registration and then write a custom function to tweak the sign up email?
btw, this is standard across a lot of social media sites. Look at Facebook – aside from the fact that they login with email instead of username, they also have display name, first and last….just like BP can have. Make FullName your Display name.
April 12, 2009 at 7:07 pm #42464In reply to: How to use full name, first name + last name
nicolagreco
Participantif i’m not wrong, the Full Name has a filter, if you use it, you could replace it with the wp built-in name & last name, or use xprofile fields fot that,
it depends on your php & wp skills
April 12, 2009 at 4:18 pm #42452In reply to: How to use full name, first name + last name
Jeff Sayre
ParticipantI assume you’re specifically talking about customizing a BuddyPress template. If so, then you need to look in the BuddyPress profiles tables in MySQL.
For instance, the field definition for the “Full Name” field is stored in the wp_bp_xprofile_fields table and any corresponding datum is stored in the wp_bp_xprofile_data table.
With respect to this:
At the moment Buddypress/WP MU makes it very hard, perhaps impossible, to flexibly use member’s real names or other data (companyname, city) in the site or have something like ‘Hello John’ in email notifications.
That is not true. Any piece of stored data can be accessed and spit out in any number of ways. It just must first be in the database. Look in the bp-xprofile.php file and the bp-xprofile subdirectory for a number of functions that can be called to extract a user’s data.
By the way, I did see your other post about this topic and it was answered appropriately. With the default WPMU and BuddyPress setup, you will not be able to use a user’s full name until they’ve entered that data. They will not be able to enter their full name until after they register.
So, unless you hack the wp-signup.php or register.php files, and require that a full name be provided when registering, you will not be able to send them a welcome email with their full name since that piece of data does not yet exist.
All of what you are asking is possible but requires either a pre-existing plugin, a custom hack, or your ability in customizing and coding a BuddyPress template.
-
AuthorSearch Results