Search Results for 'profile fields'
-
AuthorSearch Results
-
March 11, 2011 at 5:05 pm #107550
just2izy
MemberI am also having a similar error and Yes @djpaul it is the same Lines. I am also using custom fields but I have 3 groups, the group having the problem has only checkboxes and is a required field.
`
Warning: trim() expects parameter 1 to be string, array given in C:xampphtdocsashantibar.orgwp-contentpluginsbuddypressbp-xprofile.php on line 717Warning: Cannot modify header information – headers already sent by (output started at C:xampphtdocsashantibar.orgwp-contentpluginsbuddypressbp-xprofile.php:717) in C:xampphtdocsashantibar.orgwp-includespluggable.php on line 897
`March 11, 2011 at 2:53 pm #107538Hugo Ashmore
ParticipantBuddyPress users are essentially WP users there’s no separation and in this and other respects BP is a plugin running under WP and thus using aspects of WP such as users/signups
Buddypress has extended profiles that can be set in the dashboard under the BP menu there you can add new fields to the base group (base group fields are displayed on the initial signup page) or create new filed groups for anything you like and those will be displayed on the users profile screens and accessed under ‘edit profile’ by the user to complete.
As an admin you are very limited as to what you can set on a users profile, basically being restricted to the capabilities under the WP dashboard ‘users’ and ‘add users’
March 10, 2011 at 8:13 am #107382In reply to: How on earth did I do this?
Paul Wong-Gibbs
KeymasterBy default, all profile fields which you’ve put into the first (default) profile field group will appear on the registration template.
March 9, 2011 at 6:36 pm #107325maesutsuro
MemberDid you proceed with it? I need the same thing but i’m unfortunately not good at coding
March 7, 2011 at 1:36 am #107015In reply to: How do I add a menu item on the profile page?
Virtuali
ParticipantJust creating new profile page category from my understanding??? Just to go your buddypress admin page under profile setup and create new fields there, no need to hook anything.
P.S, why on your activity page is the header content below the avatar? Go into your theme’s CSS file and remove
`div#item-header div#item-header-content {
float:left;
}`To clear things up, it should look a-lot nicer.
March 5, 2011 at 9:15 am #106883In reply to: Purely Genius Way to Add Custom Profile Fields
Hugo Ashmore
ParticipantIt’s a syntax error so you need to examine the line it’s referring to and check and correct the syntax php met an unexpected double quote mark and seems to be suggesting there ought to have been an ) closing parentheses. this is an extremely old post you have dragged up and I would expect this plugin/code to necessarily work given the version updates to BP since this was written.
btw editing core files in this manner is not advised really, if it’s a filter it ought to be written to a functions.php file living in a child theme
March 5, 2011 at 8:46 am #106880In reply to: Purely Genius Way to Add Custom Profile Fields
richiedupe
MemberHello, Im pretty new to php and i pasted the custom profile code into my bp-xprofile-filters.php file, and it killed my site, i just get the error: Parse error: syntax error, unexpected ‘”‘, expecting ‘)’ in /home/richied/plainprofile.com/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-filters.php on line 158
i tried deleting and re-installing buddypress but im still getting it! site url is: plainprofile.com
Any help would be HUGELY appreciated!!!!
March 4, 2011 at 7:04 pm #106824jakeL
MemberI am definitely interested in this too. Taking it a step further, it would be nice to make users complete a full profile for the site after logging in through Facebook. Right now the WP-FB-autoconnect works great, creates the user and logs them in – but then it brings them back to the homepage without filling out the rest of their profile.
When you create an account in BP without logging in through facebook, the BP registration page asks users to complete all the required and optional fields in the profile – but I haven’t found a way to do this with Facebook, it just gives them a user name and logs them in. So I think what would need to happen is that after the facebook connect, the registration process isn’t complete – it points them back to the BP registration page (or something like it) where they can finish entering other required and optional fields.
Any ideas on how this might work?
A workaround might be that on the *first* login only, the user is redirected to the edit profile page, and on subsequent logins they’re redirected to the homepage and logged in normally.
March 3, 2011 at 7:50 pm #106744In reply to: admin-editable-only Profile Fields
clinthorner
MemberI have the same requirements. I guess I am not advanced enough to use the solution posted above. I tried messing with the solution above but am really getting nowhere. Can you elaborate on this? Does anybody else have a solution?
March 2, 2011 at 5:48 am #106650In reply to: Can a plugin create custom profile fields?
Paul Wong-Gibbs
KeymasterTake a look at xprofile_insert_field() in xprofile.php
February 24, 2011 at 8:33 pm #106168In reply to: How to create more fields in a group?
r-a-y
KeymasterNo plugin exists for this at the moment.
This has to be manually coded. If you’re a plugin developer, check out this codex article:
https://codex.buddypress.org/developer-docs/group-extension-api/And also check out the groupmeta functions in /bp-groups.php.
There are a few threads about this on buddypress.org. I’d suggest doing a search on Google.
An example can be found here:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/profile-fields-for-groups#post-78706February 24, 2011 at 8:09 pm #106159In reply to: Adding Custom Fields to members-loop.php doesnt work
eliasbr
MemberIt should be
`echo bp_member_profile_data(‘field=province’); `February 24, 2011 at 2:35 pm #106140In reply to: xprofile slugs for search
Dave Wright
ParticipantAnd another bump!
I am still stuck on this, searching specific x-profile fields and excluding others
PLEASE HELP!!!February 23, 2011 at 12:47 am #106007In reply to: Am I Breaking Something? Is There An Easier Way?
ssmith2
MemberJust started up Buddypress and Easy Albums. All ok except for no ability for a visitor / friend to ’register’, ’create account’ or ’sign up’ in the Members fields.
I have icons of Newest – Active and Popular but nothing for visitors to register and create profile. Currently I am the only one listed on site as a member with ability to create / edit my profile. Am I missing something obvious?
Can someone tell me where to start at getting a registration Sign up function operating?February 16, 2011 at 2:50 am #105506i_banks
Member“I don’t believe it does anything in BuddyPress itself.”
I’m sorry, I don’t understand what you mean with this line. From my understanding, every action has a function associated with it somewhere in the BuddyPress files. The line `do_action(‘bp_after_signup_profile_fields’)` (in the register.php file), seems like it does something like in the registration process…maybe some sort of an evaluation to make sure the user is ready for the next step…whatever that something is I’m trying to figure it out…
Now, I’m not familiar with “grep” and never used it. You say that it’ll tell me all of the instances of that text. Does that give me the function(s) associated with that action?
February 16, 2011 at 2:26 am #105505Boone Gorges
KeymasterUse grep. That’s what I do. From the UNIX or Mac Terminal command line, cd to your buddypress installation directory. Then:
`grep -nR ‘bp_after_signup_profile_fields’ ./`That’ll tell you all the locations of all the instances of that text.
In the case of this particular do_action, I am pretty sure it is just there for the use of other plugins. I don’t believe it does anything in BuddyPress itself.
February 15, 2011 at 7:39 pm #105480In reply to: How do I display full profiles?
r-a-y
KeymasterA user needs to fill in these fields in order for them to show up on their profile page.
The profile page can usually be found here:
example.com/members/USERNAME/profile/February 15, 2011 at 6:27 am #105448In reply to: How do I display full profiles?
Hugo Ashmore
ParticipantNeed to be a little more explicit with info please. You added extended xprofile fields, with new group or under the base group? What versions of BP and WP are you running? Are you using a custom theme? If you are can you try deactivating it and using the BP-default theme and verify whether the same problem still manifests.
February 13, 2011 at 10:26 pm #105346Luca Foss
MemberI followed the latter of the suggestion..it was the easiest because all of the conditional statements are to much to follow…but the error I’m getting now is
`Fatal error: Call to a member function profile_groups() on a non-object in /home/content/s/o/c/socialowner/html/21andolder/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-templatetags.php on line 160`
I’m researching this error as I speak…
February 13, 2011 at 8:32 pm #105321r-a-y
KeymasterTo find the profile group id, navigate to “BuddyPress > Profile Field Setup”.
Then under the profile group you want, hover over the “Edit” or “Delete” link.
You should see a link that looks like this:
`/wp-admin/admin.php?page=bp-profile-setup&mode=edit_group&group_id=2`“group_id” is the variable you’re looking for.
—
The alternative is to remove the `’profile_group_id=1’` declaration in the register template, that should show all profile fields that you have created.
February 13, 2011 at 12:32 am #105274In reply to: What Is XProfile?
pcwriter
ParticipantNo, uploading an avatar is the second step in the registration process. Once a user fills out the form on your signup page (filling in all the fields you define in “Profile Field Setup – Base Group”) and clicks the “Complete Sign Up” button, the next page they see will allow them to upload their avatar. Users can also change their avatar right in their member’s profile after they have registered on your site.
February 13, 2011 at 12:30 am #105273In reply to: What Is XProfile?
modemlooper
Moderatorafter they sign up the xprofile fields there is a second screen that asks to upload an avatar.
February 13, 2011 at 12:26 am #105271In reply to: What Is XProfile?
v_andreev
Memberthanks so much for the reply…
I found it almost right after I made my second post and began adding fields already…so basically the register.php code looks for these fields and displays them…my only other question is how would someone add a avatar for their profile..is this one of the options in the admin area too?…
February 13, 2011 at 12:08 am #105269In reply to: What Is XProfile?
pcwriter
ParticipantLike @modemlooper said, xprofile fields are added through your WordPress backend admin area (MUCH easier than trying to hack your way through register.php).
Go to “Buddypress” > “Profile Field Setup” and add your registration fields there. Any fields you add in the first (“Base”) group will appear on your registration page.
February 12, 2011 at 11:47 pm #105267In reply to: What Is XProfile?
v_andreev
MemberI came across this code in the register.php file
“
I’m creating a join page with registration fields (regardless of if someone has signed in or not) and I want all of them to show, but apparently the fields stop loading when it reaches the line above.
How does that line affect the display of my fields? Is it saying “if the ability for someone to create a profile has been approved”?..what does that mean?
-
AuthorSearch Results