Search Results for 'profile fields'
-
AuthorSearch Results
-
October 8, 2009 at 6:31 am #54114
In reply to: Function/Call to access Custom Profile Fields?
shedmore
ParticipantAndy let me ask you….I am playing with the bp-facebook plugin you ported, and specifically trying to add a value to the insert function you have in there now
function bp_fbconnect_insert_data( $user_id, $usermeta )
///////I tried setting an extra value inside that function – statically for now (just for testing) right under the default “full name” insert you have in there now.
I set it up like this:
xprofile_set_field_data(‘Age’, $user_id, ‘Test’);
I have tried setting with double quotes, no quotes, and several different ways, but it never seems to insert into the “Age” field I created in Buddypress.
Any ideas whats going wrong here? I am wondering if this function isnt firing at the right time? OR maybe I am making a stupid mistake
Thoughts? Thanks
October 8, 2009 at 1:01 am #541034828920
InactiveIf I am sure .. I did a fresh install .. before had given me an error with the same file. but with the following function:
$fields = bp_xprofile_field_deprecated::get_signup_fields();
the error was that he was in all caps and put it in lowercase worked .. but now I get the avatar.
if I upload the files .. but I do a fresh install. bd untouched .. could be solved?
I already have is very progressed to delete it.
excuse my English is not very good
October 7, 2009 at 2:09 am #54024In reply to: calling specific profile fields individually
Andy Peatling
Keymasterecho xprofile_get_field_data( $field_name_or_id [, optional $user_id] );
October 6, 2009 at 8:47 pm #54004In reply to: Public Blog missing from blog list
stripedsquirrel
ParticipantWell, I found that in the BP-blogmeta table the blog in question only had one row (last_activity), but not the Name and Description fields, so I added them manually and now they appear.
I have no idea why they were not added in the first place though…
Oh, and he was also missing from the bp_user_blogs table, have added that too and now his profile shows his blog.
Hope this can be useful for others with the same problem,
Cheers
October 6, 2009 at 1:35 pm #53942In reply to: Sign up page problem with 1.1
stripedsquirrel
ParticipantI just noticed I have the same problem. I am not sure if this is a bug as maybe not all admins check the old sign-up page?
I had renamed it to stop splogs, but after the BP installation (1.1, from scratch, with new standard themes), the register pages shows the entire form, including extra profile fields, but the ‘regular’ sign-up page only shows up half (see http://biketravellers.com/wp-newblog.php )
What is going on? No errors, it just stops halfway.
Cheers
October 5, 2009 at 3:42 pm #53871In reply to: Forums and Profile Fields
lewbell
ParticipantThanks DJ
Reinstalled bbpress once again and it seems to respond now.
Still can’t get the Profile Field questions to show up for new users.
I think I’m missing something small.
October 5, 2009 at 8:26 am #53847In reply to: Forums and Profile Fields
Paul Wong-Gibbs
KeymasterSounds like your MySQL database connection details aren’t proper. However, if the rest of your WPMU site works…
Was your previous bbpress install in a seperate database? (i.e. not in the same one as wpmu/buddypress)
October 3, 2009 at 7:25 pm #53712In reply to: Function/Call to access Custom Profile Fields?
shedmore
ParticipantThanks Andy, I appreciate it. I can see it now…I will dig through the bp-xprofile.php to figure out the other functions.
Thanks for the great work!
October 3, 2009 at 2:12 am #53663In reply to: Extending Featured Member Widget
4727579
InactiveOK Andy solved this one for me in this thread. The answer is this:
xprofile_get_field_data( $field_name_or_id, $user_id );
Where
$user_id
is (in this case)$member
and$field_name_or_id
is (in my case)61
. I got the number by looking at the Profile Field I was after in Firefox with the Web Developer toolbar and it showed me the number in the class. I can’t work out another way of seeing a custom profile field’s id.. Off we go!!!October 3, 2009 at 12:19 am #53657In reply to: Function/Call to access Custom Profile Fields?
Andy Peatling
Keymasterxprofile_get_field_data( $field_name_or_id, $user_id );
October 2, 2009 at 11:30 pm #53651In reply to: Function/Call to access Custom Profile Fields?
shedmore
ParticipantAnybody???
I could really use the help please!
September 30, 2009 at 6:26 pm #53335John James Jacoby
KeymasterI’m closing this topic since there is another one announcing the official release. Please route your responses here going forward.
September 30, 2009 at 2:03 pm #53317westpointer
ParticipantReleased today! I appreciate all comments!
https://buddypress.org/forums/topic/auto-group-join-plugin-added
September 29, 2009 at 3:17 am #53214In reply to: Extended Profiles on Sign up?
lostdeviant
ParticipantI also just noticed that buddypress profiles don’t import from wordpress profiles or vice versa. It takes enough tooth pulling to get people to complete one profile. Adding those fields to sign up would be good because required fields would also have some anti-spam benefits.
September 25, 2009 at 4:25 am #53036In 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 ); ?>
-
AuthorSearch Results