Search Results for 'profile fields'
-
AuthorSearch Results
-
April 1, 2009 at 9:39 pm #41623
In reply to: Changing Profile Fields
Roy McKenzie
ParticipantEXCELLENT!
April 1, 2009 at 8:02 pm #41607In reply to: profile fields not behaving correctly
Burt Adsit
ParticipantWell, that was easy. I just try and clarify things and it gets hunted down by Andy. I could get used to this.
April 1, 2009 at 7:36 pm #41605In reply to: profile fields not behaving correctly
Andy Peatling
KeymasterFound the problem, if you update to the latest it’s fixed.
April 1, 2009 at 7:35 pm #41604In reply to: Changing Profile Fields
Andy Peatling
KeymasterIn this first version it’s not possible to re-arrange, but it’s a high priority feature once 1.0 is out.
April 1, 2009 at 7:26 pm #41603In reply to: profile fields not behaving correctly
Shelley Keith
ParticipantI’ve reset my email domain registration limitations if you want to test on wearesau.net.
April 1, 2009 at 6:39 pm #41601In reply to: profile fields not behaving correctly
Andy Peatling
KeymasterChecking this now.
April 1, 2009 at 6:23 pm #41600In reply to: profile fields not behaving correctly
Shelley Keith
ParticipantIf I leave it blank or deselect checkboxes (or any applicable action that means leaving it blank/unused) the information does not disappear from the user profile. The previously active checkboxes still show, the deleted information in the text field still shows, etc.
If you go back to the “edit” screen the checkboxes will still be deselected and the text field will still be empty, and hitting “submit” will give you a success message, but the info will still show on the viewable profile.
April 1, 2009 at 4:59 pm #41597In reply to: profile fields not behaving correctly
Burt Adsit
ParticipantI’m way confused as to what you are talking about.
1) You enter info in a profile field. Save the profile.
2) The info shows in the profile field.
3) You change the info in a profile field, leaving it blank. Save the profile.
What happens then?
March 31, 2009 at 3:13 pm #41646In reply to: custom filter for xprofile needed(you need this too)
Burt Adsit
ParticipantThe theme and the profile back end don’t support this right now but there is a mod you can try.
Change line 11 which reads:
<?php if ( bp_field_has_data()) : ?>
To read:
<?php if ( bp_field_has_data() && bp_field_has_public_data()) : ?>
In /bp-themes/buddypress-member/profile/profile-loop.php
Then you will manually have to use phpmyadmin and go into the table bp_xprofile_fields and change all the profile field records that are parent fields and have \’0\’ in the column \’is_public\’ to \’1\’ for the fields you want to show on the profile and \’0\’ for the fields you don\’t want to show.
Parent fields are the ones that have a \’0\’ in the \’parent_id\’ column.
March 31, 2009 at 6:14 am #41484In reply to: How to make “about me” kinda profile field?
Burt Adsit
ParticipantAny field you create in the profile backend will appear in each user’s profile. Even if it doesn’t have anything in it.
More fields:
if ( 999 == $field_id || 998 == $field_id || 2 == $field_Id)
March 31, 2009 at 3:55 am #41482In reply to: How to make “about me” kinda profile field?
takuya
Participantand if I want more fields not auto-linked? How can I set multiple field ids?
March 29, 2009 at 5:16 pm #41303In reply to: Importing data from Excel, CSV sheet
thebigk
Participant@DJPaul: I tried that. I created one profile and exported the database using phpMyadmin. But the excel sheet looks too confusing. I’ll try this once more time though.
@Burtadsit: Yes, that’s most confusing.
Let’s say, I’ve created following fields in buddypress:
Name:
Email:
Phone
Job:
Occupation:
My old database too; has all this data. How do I go about importing? Is there any better way than excel import?
March 29, 2009 at 1:25 pm #41284In reply to: Importing data from Excel, CSV sheet
Burt Adsit
ParticipantYou can import anything you want into a mysql table. The catch is that tables relate to each other. The profile fields you see are composed of three tables that interrelate. We’ve got profile groups, fields and field data. Groups are composed of Fields and Fields have Data. They are all linked to each other.
What is the source data you are working with?
March 29, 2009 at 1:14 pm #41278In reply to: How to get rid of autolinking on profile fields
takuya
ParticipantWhen will this be fixed officially? Commenting out the add_filter removes all the auto linking functions. I only want one section without auto linking.
March 28, 2009 at 1:29 pm #41234takuya
ParticipantUser generated profile fields! I’d like if this feature is built in or by a plugin. However at this moment, wpmu admin is the only person who can add/delete profile fields.
March 28, 2009 at 12:53 pm #41228In reply to: XProfile fields: Full Name
Burt Adsit
ParticipantNot sure egerrits. Don’t know what the context is. Are you sure that is what is happening there? If those are single quotes in this chunk of code then $meta[‘field_{$custom_field_id}’] = ‘Hello World’; then that won’t work. The resolve as string operation ‘{}’ doesn’t work in single quoted strings. Only double quoted strings.
March 27, 2009 at 4:51 pm #41173In reply to: Date’s bug
Burt Adsit
ParticipantNever mind the question about date format. We don\’t get a choice. I need to know if the data is getting saved and not being displayed or just not getting saved. Can you take a look at the bp_xprofile_data table and see if there is anything in there for that date field?
The bp_xprofile_data table looks like this: id, field_id, user_id, value, last_updated. The field_id is basically the sequence you entered the fields in the backend. Starting at 1, you can prob count down the list and guess at the field_id. If you’ve done alot of arranging things with deletes and adds it might not be that simple.
field_id comes from another bp table called bp_xprofile_fields. If you browse that table with phpmyadmin you’ll see your date field. Whatever you called it will be in the ‘name’ column. The field_id you are looking for is the ‘id’ column in that table. Match that up with the field_id in the bp_xprofile_data table and tell me what that row says for that field_id.
You should have a number like: 1210392000 in the ‘value’ column. That’s a linux time number. What’s in that spot for your date field? Matter of fact, try changing and saving the profile data and then go look at the tables. What does phpmyadmin say for that row in the table?
March 27, 2009 at 3:12 pm #41157In reply to: Unsanitised fields in profile editor
Andy Peatling
KeymasterAll the fields are sanitized as long as you are using the correct template tags and functions.
March 27, 2009 at 3:08 pm #41153In reply to: How do you delete user profile text
Andy Peatling
KeymasterUser fields are sanitized if you are using the standard BuddyPress template tags or function calls.
March 27, 2009 at 2:53 pm #41151In reply to: How do you delete user profile text
Burt Adsit
ParticipantIf you haven\’t altered any of the profile filtering mechanisms then the js will get removed. It gets filtered out by the standard wp filters which get run on the profile fields. The profile fields don\’t show up in the wp backend. If you have a user trying to insert js into a profile field I would delete that user. Now.
What version of bp are you running? I see all sorts of filtering going on in trunk.
bp-xprofile-filters.php
March 27, 2009 at 2:50 pm #41150In reply to: How do you delete user profile text
halfpint
ParticipantI went into the data base and deleted it, but this wont stop people from injecting malicous code into “unsanatised” user fields…
March 27, 2009 at 4:18 am #41121In reply to: How to make “about me” kinda profile field?
takuya
Participantthanks for the reference, but I’d like it fixed within the next releases. In fact, it’s the only “about me” section, and I like the auto linking for other fields.
March 26, 2009 at 1:40 pm #41051In reply to: Importing data from existing database to buddypress
enlightenmental1
Participant@ Manoj
thanks for answering me on your site… I\’ll move my issues to this thread
while the \”Full Name\” field cannot be changed, I was able to change it by duplicating the url to change a different field…
example:
when you edit any of the xprofile fields, the url shows somwthing like this:
http://mysite.com/wp-admin/?edit=profile_pageID=2
i just changed the \”2\” to a \”1\” and hit refresh…that allowed me to change the \”Full Name\” field to \”first name\”
my install is very customized, so I simpley can\’t \”roll back\” to a fresh install…
I will try changing the profile name back to \”Full Name\” and see if that works….
(more to follow)
@ theBigK
Well that would be bit difficult but not impossible because we have about 2200 users to be imported from old database. I also need to import their other profile data. Is this possible?
it doesnt look like you can add any additional information currently, however this plugin isn\’t super-complex, so you could probably add the functionality to add more user data by adjusting the PHP code (not sure how though)
you may also be able to export your SQL file in a | \”pipe\” delimited fashion
something like this:
\’
SELECT * FROM TABLE
ORDER BY ID INTO OUTFILE \’out.file\’
FIELDS TERMINATED BY \’|\’;
\’
I dont know much about this, but google it and Im sure you\’ll find something
March 25, 2009 at 6:26 pm #40923In reply to: New Plugin Idea: MySQL Report
fishbowl81
Participant1. congrats on the members
2. I don’t believe it has been done yet.
Depending on your mysql abilities, you may find it easier to just write a quick and dirty php file with a mysql connect to show members. The overhead that wordpress and buddypress would add to this process wouldn’t be worth the minimal gains of the buddypress functions.
But if you don’t know much mysql, then you may be forced to do it inside of an admin plugin.
Here are a few quick and dirty sql lines to get you started:
find all users:
SELECT user_nicename FROM wp_users;
find all users, and show full name (from profile fields)
SELECT users.user_nicename , profile.value FROM wp_users users, wp_bp_xprofile_data profile WHERE users.ID = profile.user_id AND profile.field_id =1
March 24, 2009 at 10:08 pm #40849In reply to: Purely Genius Way to Add Custom Profile Fields
gpo1
ParticipantThanks for the effort…please create a plugin for it. Also is it a ebay widget,so if can one get lastFM widget?
-
AuthorSearch Results