Search Results for 'profile fields'
-
AuthorSearch Results
-
September 25, 2009 at 4:25 am #53036
In reply to: Upgrading to 1.1-rc/1.1-beta
Mike Pratt
ParticipantFinally starting diving into 1.1 on my dev site and encountered a strange issue.
wpmu 2.8.4a, bbPress 1.0
just using plain default theme for now. forums work great. saved all my old posts. all seems ok BUT
on back end no option panel for profile fields. on front end all profile data is gone but name and website. Under My Profile it just has Public (no edit profile or change avatar)
Is this just a butchered install or something else?
September 24, 2009 at 1:55 pm #53017In reply to: Setting user profile or blogs as a page
johnegg
Participantok, ive sorted the page thing by just removing components and adding custom fields.
Any help on the category thing?
cheers
September 24, 2009 at 11:15 am #52997Matze
ParticipantOk i now have WPMU 2.8.4a + Buddypress 1.1 Beta on lighttpd running.
Profile fields can be saved but accepting group membership or friend requests always leads to a site: “Are you sure you want to do this? Please try again”
So it is the same problem as with 2.8.3 + bp1.0.3 on lighttpd server.
Must be an url-rewriting issue!?
The generated acceptance url looks like this “http://domain.com/members/admin/friends/requests/accept/1?_wpnonce=94e23dc003”
Please let’s find some lighttpd/lighty rewrite rules that work with wpmu+buddypress perfectly…
With these rules everything works fine instead of the problem i mentioned above:
server.error-handler-404 = “/index.php”
url.rewrite-once = (
“^/(.*/)?files/$” => “/index.php”,
“^/(.*/)?files/(.*)” => “/wp-content/blogs.php?file=$2”,
“^(/wp-admin/.*)” => “$1”,
“^/([_0-9a-zA-Z-]+/)?(wp-.*)” => “/$2”,
“^/([_0-9a-zA-Z-]+/)?(.*\.php)$” => “/$2”,
)
Which rules do you use with Bp (if you have lighttpd) ?
September 24, 2009 at 3:18 am #52982In reply to: Bug: Register Still Skips Required Fields
Mohit Kumar
ParticipantIf you use custom profile fields in your registration spammers wont effect you.I dont know why but i havent had a spam sign up since i tried this
September 23, 2009 at 9:06 pm #52968In reply to: Does Profile Data Move Along With Fields?
wordpressfan
ParticipantThis loop, which is part of the profile, seems to indicate (in pseudo-code) the following is happening: if there is a group, display the group name and then the group field contents. I still don’t see why all of my groups – but just base – are displayed.
September 23, 2009 at 5:42 pm #52961In reply to: Does Profile Data Move Along With Fields?
Jeff Sayre
ParticipantHave a look at this Codex article.
As a general piece of advice, this is not specifically for the xprofile component, make sure that you check the codebase in the version of trunk that you’re using as there have been a number of changes to functions–some have been renamed, others deprecated, and new ones created. So it is possible that some of the Codex articles on BP loops may be slightly out of date.
September 21, 2009 at 6:22 am #52820In reply to: 10 000 users on WPMU and trying to activate BP
Paul Wong-Gibbs
KeymasterI literally have to go to work after this post but:
To fix your site, rename your plugins directory to anything else i.e. ‘aardvark’. Load admin again, it should load up OK. Rename ‘aardvark’ back to plugins. You’ll have to re-activate any existing plugins. Once those have been done, try activating BP site-wide again.
BP v1.0.3 tables are:
wp_bp_activity_sitewide,wp_bp_activity_user_activity,wp_bp_activity_user_activity_cached,wp_bp_friends, wp_bp_groups,wp_bp_groups_groupmeta,wp_bp_groups_members,wp_bp_groups_wire,wp_bp_messages_messages,wp_bp_messages_noticeswp_bp_messages_recipients,wp_bp_messages_threads,wp_bp_notifications,wp_bp_user_blogs,wp_bp_user_blogs_blogmeta, wp_bp_user_blogs_comments,wp_bp_user_blogs_posts,wp_bp_xprofile_data,wp_bp_xprofile_fields,wp_bp_xprofile_groups,wp_bp_xprofile_wire,
Safe to delete as you haven’t used BP yet. Also these records in wp_sitemeta:
Any “meta_key” beginning with “bp-” i.e. bp-core-db-version, bp-friends-db-version.
If you don’t remove those meta_key records, then BP will think it’s already installed and won’t install itself again.
Before you activate BP again, open up your web server error log in a window and see if you get any specific messages when you try to run.
Also, versions of WPMU and BP you are you trying to install here will help us help you.
September 20, 2009 at 11:21 pm #52806In reply to: Changing Profile Fields
gerikg
Participanthow do you sort??
September 19, 2009 at 8:18 pm #52760In reply to: How To View All Profile Fields
wordpressfan
ParticipantPartly. My goal is to create profiles available to all registered users. These profiles would include the “base” data (name, location, email, etc.) and then tabs which would display more field groups (such as clips, employment, etc.) Currently, however, the only way to view that data is if you either are an admin or the profile’s owner.
September 19, 2009 at 4:44 pm #52754In reply to: How To View All Profile Fields
Jeff Sayre
ParticipantI assume your are asking how users can view the other field groupings when they have selected “Edit Profile”. Look at the column heading. There are tabs for each field group. Clicking on a tab takes the user to that field group for editing.
September 17, 2009 at 7:00 pm #52677In reply to: Displaying Profile Fields in Blog Posts
Andy Peatling
KeymasterYou’ll have to echo that of course.
<?php echo xprofile_get_field_data( $field_name_or_id, $user_id ); ?>September 17, 2009 at 6:50 pm #52673In reply to: Displaying Profile Fields in Blog Posts
philbow
ParticipantThanks Andy!!!!
September 17, 2009 at 6:46 pm #52670In reply to: Displaying Profile Fields in Blog Posts
Andy Peatling
Keymaster<?php xprofile_get_field_data( $field_name_or_id, $user_id ) ?>A great plugin would be a profile badge widget, anyone care to write that using the template tags?
September 17, 2009 at 2:24 pm #52630In reply to: Private Profiles
madloki
ParticipantMe too! An privacy option is very important. This http://devbox.computec.de/2009/06/buddypress-xprofile-privacy-plugin/ does not work with 1.1

Edit: it does work! But user must select before. But privacy fields like birthday etc. should never be visible for guest. Maybe with an click to activate, but at the moment thats not good.
September 16, 2009 at 3:58 pm #52559In reply to: Private Profiles
Greg
ParticipantThis is a little risky for a non-programmer, but here is some code that would replace the profile-loop.php file in the skeleton member theme. Note that this theme is deprecated in the new parent-child theme setup. It is also not a sophisticated privacy component like the one Jeff is working on. It simply omits everything except the base profile fieldset when a non-member views the profile.
This is from my own installation, but I have removed some pieces (mostly formatting) to simplify things a bit. I haven’t tested it in the simplified form.
It assumes that “Base” is the base profile group name you specified in the BP dashboard settings.
<?php
/*
* /profile/profile-loop.php
* This file loops through the profile field groups, and then each profile field to
* display the profile information that a user has entered.
*
* Loaded by: 'profile/index.php' (via the xprofile_get_profile() template tag)
*/
?>
<?php if ( bp_has_profile() ) : ?>
<?php while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
<?php if ( (bp_get_the_profile_group_name() == "Base") || ( is_user_logged_in() ) ) : ?>
<div class="info-group">
<?php if ( bp_group_has_fields() ) : ?>
<h4><?php bp_the_profile_group_name() ?></h4>
<table class="profile-fields">
<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
<?php if ( bp_field_has_data() ) : ?>
<tr<?php bp_field_css_class() ?>>
<td class="label">
<?php bp_the_profile_field_name() ?>
</td>
<td class="data">
<?php bp_the_profile_field_value() ?>
</td>
</tr>
<?php endif; ?>
<?php endwhile; ?>
</table>
<?php else : ?>
<h4><?php bp_the_profile_group_name() ?></h4>
No info yet.
<?php endif; ?>
</div>
<?php endif; ?>
<?php endwhile; ?>
<?php if ( !is_user_logged_in() ) : ?>
<p class="not-a-member">You need to log in to see full member profiles.</p>
<?php endif; ?>
<?php else: ?>
<div id="message" class="info">
<p><?php _e( 'Sorry, this person does not have a public profile.', 'buddypress' ) ?></p>
</div>
<?php endif;?>September 16, 2009 at 2:45 pm #52552In reply to: Trouble logging in on v1.1
Ezd
ParticipantIt’s weird, if I login from the top nav. bar I get the “No input file specified” error but if I view a profile and log in using the login-fields inside a profile, I can log in without problems.
Is it just my buddybar which is messed up or is this a bug.
September 15, 2009 at 3:47 pm #52475In reply to: Extend Profiles.. wait.. not at signup!
John James Jacoby
KeymasterWith BuddyPress1.1, you can also recreate a custom registration page to include only the fields you specifically want them to have on sign-up, put it in your child theme, and let it do the dirty work.
September 15, 2009 at 3:23 pm #52470In reply to: Extend Profiles.. wait.. not at signup!
Andy Peatling
KeymasterJust don’t put the fields in the “base/first” profile field group. Only the fields in that group will show on the signup page.
September 14, 2009 at 3:08 pm #52385In reply to: Using xProfile custom field values
Chad Holden
ParticipantHey, one more question for you. Any idea how to make one of the custom fields and file upload button for the xprofile plugin? I do have the need. No worries if you don’t know.
September 12, 2009 at 10:31 am #52296In reply to: Founded problems with BP 1.1-pre
nandopax
ParticipantAnother.
The Profile fields lost the original ID order.
September 11, 2009 at 4:04 am #52262In reply to: custom Profile-Fields
John James Jacoby
KeymasterIn BP1.1 it would be easiest to make a custom theme file to do this inside the member-loop.php. You could check the field name and if it = the name of your field, then you can grab the next field, format it the way you want, and continue.
What BP version are you using?
September 4, 2009 at 6:17 pm #52025In reply to: Manually reset user id to higher number?
Jeff Sayre
ParticipantThat would be wp_users, but isn’t that ID used as a key (?) elsewhere in the database? Would it get “altered” automatically throughout the system?
No, in WPMU DBs, changing the auto increment field, or any other linked field, does not automatically propagate the changes throughout. The technical term for what you are referring to is referential integrity, with the specific subset of that called cascading changes.
With the MySQL engine, cascading changes (update or delete) throughout the DB only can occur if the tables in the DB have been set up as type InnoDB and the appropriate foreign keys applied. WPMU’s tables are set up as type MyISAM. Before assuming that this was/is a bad choice, when it comes to MySQL, there are pros and cons with each table type. A conscious decision went into selecting MyISAM table types for WPMU’s DB.
Now, with regards to the specific issue you are facing:
Although all the tables in WPMU’s DB have an ID field that is set to auto_increment, the ID field in wp_users is used to assign a unique ID to each registered member of your site. That ID field ties into the other tables in the DB, where necessary, by mapping to an appropriate field–but not to the auto incremented ID field of the other tables.
So, for example, the wp_user ID field forms a relationship in the wp_bp_friends table in two places–with the initiator_user_id and friend_user_id fields. Or as a specific example, wp_user ID field = 7 would form a relationship with the field in wp_bp_xprofile_data where the value of its user_id field equaled 7.
You are on the verge of potentially causing a very big, possibly fatal problem for your MySQL DB. Before doing anything, back up your DB and be prepared for the very-real possibility that you are going to alter the table relationships (break them) to such a point that your DB will not function anymore. You will then have to delete all the data in the DB tables and then restore the data from your backup.
You might even find yourself in the position of having to actually delete the entire DB and creating a new one from scratch. You’ will then need to restore from the back up. So you should also make sure you have a copy of the DB settings in WPMU’s wp-config.php file as you will have to recreate the new DB exactly to match the settings found in that configuration file.
September 1, 2009 at 5:49 pm #51881In reply to: How to make a safe community?
pxlgirl
ParticipantI found a plugin that lets users change privacy setting in their profile. It has effect on the profile fields. Users can make their content viewable for themselves, friends or everyone. Here’s the link: http://devbox.computec.de/2009/06/buddypress-xprofile-privacy-plugin/
pxlgirl.
September 1, 2009 at 4:15 pm #51877In reply to: How to disable a member?
Jeff Sayre
ParticipantWhat you need to do depends on what name is in question. Is it the member’s first, last, or nick name? Is it their full name which is displayed in the profile pane of BuddyPress? The data for those names are stored in two different places.
Also I editted his name from admin dashboard, but the name does not change? Is this a bug?
Since usernames (login names) cannot be changed, you must have tried changing either the first, last, or nick name. Did the questionable name even appear in any of those fields? Did you also select the newly-changed name in the “Display name publicly as” drop down list?
But, based on what you are saying here, I assume that the questionable name is the member’s BuddyPress full name. This can only be changed in the profile pane by the user. Currently the only recourse a Site Admin has is to go into MySQL’s backend and find the questionable field in the wp_bp_xprofile_data table.
Make sure that whatever changes you made to the user’s name in WPMU’s backend, you make in this table as well.
Just to give you a little more background into what is happening:
- When a user updates (changes) their name in the Full Name field in the BuddyPress profile pane, the changes do propagate throughout the MySQL DB. The datum in the following tables are properly updated: wp_bp_xprofile_data, wp_users, and wp_usermeta
- But, if you make changes to a user’s nickname field in WPMU’s backend, the changes are written to wp_usermeta only for that field. The changes are not written to the wp_bp_xprofile_data or wp_users table. You can have the changes written to the wp_users table if you select the proper value from the “Display name publicly as” drop down list. But, they are never written to the corresponding BuddyPress table.
- Finally, and this is even more confusing, changes to the nickname field are not written to the first name or last name meta values in the wp_usermeta table. Conversly, if you change the first name and/or last name fields, they are not combined and also written to the nickname field in wp_usermeta
So, there could be improvements in the way WPMU handles user name changes. But, it is a WPMU issue since changes at the Site Admin level in the backend are controlled by WPMU and not BuddyPress.
September 1, 2009 at 2:19 am #51863In reply to: How to make a safe community?
Jeff Sayre
Participantr-a-y
There are a number of new hooks and an array object that need to be available for the privacy component to function. Although the alpha versions may work with v1.1, the full-blown version is really targeted for v1.2 and will require that as a minimum.
Concerning your wire post, for some reason, I believe that I never received that email. Strange, since I do have all my email notifications set to “Yes”.
But, to answer that specific question, your direct calls to xprofile fields should still function properly. Since you are pulling your data directly from the table and not from a templatetag function, you should be fine. Now, if you want your direct calls to be subjected to privacy control, then that is a different matter. You would then need to pull your data after the fields array has been filtered.
There is a separate table that gets installed that handles all privacy object settings. The privacy component filters the fields array that populates the profile page, removing any field-level elements that a given user chooses to hide from a given viewer category.
-
AuthorSearch Results