Search Results for 'profile fields'
-
AuthorSearch Results
-
July 15, 2013 at 6:49 am #168107
In reply to: Interactive Profile Fields During Registration
meetvora2006
Participant@marcella1981 hello i required same registration form as @davidveldt..and you have already given an solution to it but i cant understand where the ” pastebin ” you gave should be copy in buddypress theam..?
July 15, 2013 at 12:14 am #168100theflyingkitty
Participant<?php } /*EDIT*/ function filter_xprofile_groups_with_acl() { global $bp, $profile_template, $current_user; get_currentuserinfo(); foreach($profile_template->groups as $key => $profile_group) { if( ! in_array($profile_group->id, $this->user_allowed_xprofile_groups) ) { unset($profile_template->groups[$key]); } } } /*EDIT*/ function filter_xprofile_groups_with_acl() {} function block_screen_edit_profile() {July 15, 2013 at 12:13 am #168099theflyingkitty
Participantazchipka, would you happen to have a copy maybe of the file you edited?
Maybe they changed the scripts in the last three months, but following directions exactly and it keeps giving me a fatal error.
July 11, 2013 at 1:28 am #167913In reply to: Have a look at HumanEKO.com and give your feedback
ericrosete
ParticipantWow! Great work. A great example of what BuddyPress can really do!
I’m curious, what other plugins did you use when building the site? I’m guessing Advanced Custom Fields is one of them. Did you also create custom post types?
I’m also building a similar recruiting site and I’d like to build member profiles just like you did.
July 10, 2013 at 11:40 pm #167910In reply to: [Resolved] Add profile fields to Group Members loop
maikunari
ParticipantJust posting back with the solution in case it helps anyone else. This function will do it:
xprofile_get_field_data('Profile',$u_id);In my case it’ll be:
<?php if ( xprofile_get_field_data( 'Profile', $user_ID ) ) : ?> <?php echo xprofile_get_field_data( 'Profile', $user_ID ); ?> <?php endif; ?>Thanks to chifliiiii on WordPress Answers and to @shanebp.
July 10, 2013 at 9:31 pm #167906In reply to: [Resolved] Add profile fields to Group Members loop
July 10, 2013 at 9:29 pm #167905In reply to: [Resolved] Add profile fields to Group Members loop
maikunari
Participant@bphelp Thanks for the answer, but that doesn’t seem to be it ๐
I tried
<?php echo bp_member_profile_data( 'field=Profile:' ); ?>but no dice.
Also it seems to work fine without echoing it on members/members-loop.php.It may be that the function only works inside the members loop, but I’m not sure?
July 10, 2013 at 9:28 pm #167904In reply to: [Resolved] Add profile fields to Group Members loop
shanebp
ModeratorUse bp_get_group_member_id() and pass the id to xprofile_get_field_data(…)
If you can’t figure it out and/or you want to honor field visibility settings,
there is a premium plugin available: BuddyProfileDataJuly 10, 2013 at 9:23 pm #167903In reply to: [Resolved] Add profile fields to Group Members loop
bp-help
Participant@maikunari
Looks like you forgot to echo it. Try this!<?php if ( bp_get_member_profile_data( 'field=Profile' ) ) : ?> <?php echo bp_member_profile_data( 'field=Profile' ); ?> <?php endif; ?>July 10, 2013 at 5:34 pm #167896In reply to: Use BP data to populate per-user forms
4ella
ParticipantI am trying something similar with gravity forms, I am trying to pre-populate gravity forms fields with buddypress profile data fields and I can’t get it work too, I am using something like this in functions.php if it helps:
// Buddypress pre-populate phone add_filter("form_field_value_phone", "populate_phone"); function populate_phone() { $current_user = wp_get_current_user(); $current_user_id = $current_user->ID; $phone = bp_profile_field_data( array('user_id'=>$current_user_id,'field'=>'phone' )); return $phone; }July 10, 2013 at 9:37 am #167867In reply to: remove empy description
Tammie Lister
ModeratorIs this a plugin or BuddyPress? I’m asking as you say custom subscribe fields. Are those profiles or using a custom plugin?
July 9, 2013 at 3:58 pm #167809In reply to: Help with populating form
4ella
ParticipantThis is the old thread but the same question, I didn’t want to spam here that’s why I will ask the same question here again, I would like to dynamically populate buddypress data into custom post types gravity forms when the user is logged in, I am succesfully populating wordpress user meta, but I don’t know the code in functions.php for buddypress profile fields to make them work, I have already asked on Gravity Help forum, but there are plenty of questions like that and the same as mine question they have never been answered, I hope that maybe somebody from this forum already had to resolve that problem in the past.
July 9, 2013 at 5:17 am #167792In reply to: How Do I Hide Extended Profile Fileds from Users
nobodymove
Participant@bphelp. I think I have discovered the culprit to this little mystery.. I have been using the Buddypress Members Import plugin: http://www.youngtechleads.com/buddypress-members-import/
For some reason when I import my database, the plugin does not seem to process the xProfile Field visibility settings properly.. The profile fields are still listed as “Admins Only” But for some reason they are still visible to all users.
Earlier, I manually added some new test profile fields and they worked fine. I also discovered, that if I edit, and re-save a user’s profile field after import, all profile fields for that user will then revert to the proper visibility settings.
I have contacted the plugin author to make him aware of the issue, hopefully he can fix it. If you have any suggestions that might be a quick fix for this I’m all ears! ๐
July 8, 2013 at 8:57 pm #167767In reply to: How Do I Hide Extended Profile Fileds from Users
nobodymove
Participant@bphelp. Upon a little further research, I wanted to note that I created a new User Profile Group, created a private field seen by Admins Only in that group, and the settings seem to be working fine in that group. In my Base (Primary) group though, all profile fields still remain visible to all users. Does the Base (Primary) group automatically force all fields visibility public by default? If so, is there way to override?
If there is no way to change the visibility in the Base (Primary), I suppose I can just put private info in the other Profile Group, but I’m curious if or how that may effect my database import..
July 3, 2013 at 5:30 am #167443In reply to: How Do I Hide Extended Profile Fileds from Users
nobodymove
ParticipantThanks @bphelp. Info listed below:
1. Which version of WordPress are you running?
3.5.2
2. Did you install WordPress as a directory or subdomain install?
Directory
3. If a directory install, is it in root or in a subdirectory?
root
4. Did you upgrade from a previous version of WordPress? If so, from which version?
3.5
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
Wordpress seems to be working fine
6. Which version of BP are you running?
1.7.2
7. Did you upgraded from a previous version of BP? If so, from which version?
1.7
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
Yes, a lot. ๐
Allow Multiple Accounts
amr users + buddypress
buddypress group email subscription
buddypress member import
buddypress message attachement
Buddypress Toolbar
Buddypress Xprofile custom fields type
comprehensive google map
contact form manager
events manager pro
easy table
form lightbox
GRAND Flash Album Gallery
Lightbox Galleries EWSEL
Mass Messaging in Buddypress
Online Backup for WordPress
Peter’s Login Redirect
SHortcode Widget
User Switching
WP Full Calendar
WP Wunderground9. Are you using the standard BuddyPress themes or customized themes?
I’m using Razor 1.1.3 from Themeforest/Parallelus
10. Have you modified the core files in any way?
No
11. Do you have any custom functions in bp-custom.php?
No
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
13. Please provide a list of any errors in your serverโs log files.
14. Which company provides your hosting?
Network Solutions
15. Is your server running Windows, or if Linux; Apache, nginx or something else?
VPS hosting package
July 1, 2013 at 11:25 pm #167393In reply to: Add links to specific profile fields
modemlooper
ModeratorIf you look at this snippet for allowing youtube link to embed instead of showing a link you can wrap a function in an if this field is X then don’t remove link.
July 1, 2013 at 4:33 pm #167360In reply to: Role-based Profile Fields
blg002
ParticipantI am also curious if there is an answer to this.
June 30, 2013 at 3:38 pm #167277In reply to: Creating New Plugins
bp-help
Participant@modemlooper
I can understand that. It is better for everyone. Once I downloaded a plugin that was supposed to let you have conditional profile fields or something to that effect and it did not even work at all so I can appreciate them taking a closer look before blindly allowing a useless plugin on the repository. Anyway I will be making the changes you suggested after I go out and get my lunch. Thanks again for the advice!June 26, 2013 at 7:30 am #166899mixali
ParticipantHi Jay,
I was having a similar problem and did as suggested here:
https://buddypress.org/support/topic/bp-default-sidebar-login-not-working/#post-166898
Hope it serves! Good luck!
June 24, 2013 at 4:54 pm #166760In reply to: Im Multisite , Remove SITES Fields from Profile Nav
walvin
ParticipantThanks for the code @sbrajesh
I had the same issue, so I added it to my bp-custom.php and it worked liked a charm.
June 24, 2013 at 1:32 pm #166737In reply to: Xprofile get field data checkbox returns array
applegateian
ParticipantYes it works on profiles.php… but the text widget I use on a post page works for all the other xprofile fields?
June 24, 2013 at 10:03 am #166722In reply to: Xprofile get field data checkbox returns array
applegateian
ParticipantHi there
I’m using it in a text widget sidebar, which works for all the other fields.
The spelling is correct and there are multiple options selected.
Thanks,
Ian
June 22, 2013 at 9:29 pm #166630otfromtot
Participantxprofiles works perfectly so far. Is anyone else having issues using required fields for the different profile groups?
June 22, 2013 at 12:44 pm #166595Sea Jay
ParticipantThank you for the diagnosis and recommendations.
I am using Responsive child theme with the default template. I’ve remove all plugins remotely related to registration.
The last thing I just removed is a functions.php script to automatically add new users to a particular group when they register, below.
So, then the question arises: where does the “Posted in” text come from? In BuddyPress settings, I chose a page called “Register” for registration, and the page itself uses the “Default” template. However, what Responsive file is default? I’m not seeing “Posted in” in /page.php/ or /post.php/. It’s in /sidebar-content-page.php/ but I haven’t selected it.
Also, I am using Types and Views, but no views or templates are applied to any of those page types.
/**
* Automatically adds members to group when they are registered
*/
function automatic_group_membership( $user_id ) {
if( !$user_id )
return false;groups_accept_invite( $user_id, 6 );
}
add_action( ‘user_register’, ‘automatic_group_membership’ );June 22, 2013 at 1:17 am #166576In reply to: new fields on register page
@mercime
Participant -
AuthorSearch Results