Search Results for 'profile fields'
-
AuthorSearch Results
-
April 21, 2012 at 2:44 am #133342
In reply to: Collate Custom Profile Fields Data
Scorpiion4984
MemberCan anyone help with this please?
April 20, 2012 at 10:58 am #133283Paul Wong-Gibbs
KeymasterIs there a reason why you don’t want to use BuddyPress’ Profile Fields? You wouldn’t have to write any code. (wp-admin BuddyPress > Profile)
April 20, 2012 at 10:26 am #133278In reply to: bp_get_profile_field_data in group members loop
g1r2e3g
MemberHi Chris… In the list of group members it as default has Name & Last activity…. But instead I want to display name and a couple of profile fields… in the members loop you can use bp_get_profile_field_data() but it wont work in the group loop
April 20, 2012 at 10:08 am #133276In reply to: bp_has_members filter type=online is not working
hridaya
Member`
<?php
/*
Template Name: Who is online
*/
?><?php
get_header();if ( bp_has_members(‘type=online&per_page=30’)) : ?>
-
<a href="”><?php
$image_status=””;
if(is_user_online(bp_get_member_user_id())){
//$user_info = get_userdata($postcontent);
$image_status= ‘
‘;
}
else {$image_status= ‘
‘;}
echo $image_status;
?>
<a href="”>–
<?php
/***
* If you want to show specific profile fields here you can,
* but it’ll add an extra query for each member in the loop
* (only one regadless of the number of fields you show):
*
* bp_member_profile_data( ‘field=the field name’ );
*/
?>
`
April 19, 2012 at 1:04 pm #133227Hugo Ashmore
ParticipantThe devil is in the detail if asking for help, please provide it initially rather than us having to ask for it!
April 19, 2012 at 6:37 am #133221@mercime
Participant== I set up a membership setup page with custom fields? ==
Is this via a plugin or did you mean the fields you added in BuddyPress > Profile Fields?What do you mean by “none of the info she input in the fields is available”? Doesn’t show up when you open up her profile page? What theme are you using?
BP/WP versions? What theme are you using? What plugins are activated in your installation?
April 18, 2012 at 8:53 pm #133206In reply to: Display WordPress profile info in Buddypress profile
phobic
Memberokay, I gave up trying to do this from WordPress, and now have a custom field via Buddypress custom fields – but the field is editable by the user, I’d like it to be editable only by admins – is this possible?
Thanks.
April 18, 2012 at 8:30 pm #133205In reply to: [Resolved] Profile fields visible even to anonymous
April 18, 2012 at 5:43 pm #133191In reply to: [Resolved] Profile fields visible even to anonymous
shanebp
ModeratorYou want to not show profile fields on the profile pages for non-members ?
Try this – it should not show profile fields for users who are not logged-inIn /your-theme/members/single/profile/profile-loop.php
At the very top, replace this:
`
`with this:
`
`At the very bottom, replace this:
`
`with this
`
`
April 18, 2012 at 4:13 pm #133185In reply to: [Resolved] Profile fields visible even to anonymous
truden
ParticipantSure, it solves the problem, but for web site like our, people need to browse it as anonymous and then decide whether to register or not.
Closed web sites are for closed communities, and we are widely open community
April 18, 2012 at 3:10 pm #133183In reply to: [Resolved] Profile fields visible even to anonymous
neiloughton
ParticipantWouldn’t locking the whole community to unregistered users solve this? You leave profiles open and then just stop anonymous users from looking?
April 18, 2012 at 2:48 pm #133181In reply to: [Resolved] Profile fields visible even to anonymous
truden
ParticipantThank you for the advise, @neiloughton.
I know that the plugin can restrict from all and allow only friends, but best for our web site is to show information to all registered users and hide it from anonymous and bots
People are searching in our web site for o-negative blood donors and after they register, they should be able to see the information without becoming friends.
It is a matter of urgency and the minutes count.I know the plugin which you suggest, but that doesn’t work with our type of community.
April 18, 2012 at 2:34 pm #133180In reply to: [Resolved] Profile fields visible even to anonymous
neiloughton
ParticipantHello,
Within that plugin you can set it (without having to modify the plugin) to just to friends, private or public, this is done from within the plugin page within wordpress, this then allows the user to chose on the front end.
I might also suggest,
http://bp-tutorials.de/2010/09/private-buddypress
This plugin makes your whole install private to non logged in users, thus creating another layer of privacy.
I hope this helps somewhat.
April 17, 2012 at 4:02 pm #133139In reply to: HTML in button fields
shanebp
Moderator>You cannot use PHP in the button url field, only HTML.
You mean the onClick parameter?
Why not? Something like
`
global $bp;
$this_url = $bp->loggedin_user->domain . ‘profile/edit/group/1’;
<input type=button onClick="location.href=''” value=’edit profile’>
`I prefer to use this approach
`<a id="some-other-value" href="” title=””>`
If you want to include a nonce, it’s a bit more complicated.
April 17, 2012 at 3:50 pm #133138In reply to: Registration on Homepage
sammygone
MemberHey VeeBee and karmatosed
Just to update – I made a page template and copied and pasted the contents from register.php into the template file, nothing showed up, then i changed put this on top of the template file:
`<?php
global $bp;
if(empty($bp->signup->step))
$bp->signup->step=’request-details’;
?>`as mentioned here http://buddydev.com/forums/topic/move-registration-to-index-page#post-4235
and the form shows up but the profile field with Name does not, and after inputing data into the fields that do show up and hitting Complete Sign Up just redirects me to the same page.
Here is the page : http://lcfacademy.com/registeree/April 17, 2012 at 3:40 pm #133137bjkitchin
ParticipantI found this plugin to also be helpful, particularly at identifying the field names very clearly.
https://wordpress.org/extend/plugins/navayan-csv-export/
Simply install, go to tools, find the wp_bp_xprofile_data and wp_bp_xprofile_fields and export.
Actually with that info you can do quite a bit. But I think the profile fields is a great reference to complete the code array( above.
Warm regards,
BJ
April 17, 2012 at 5:13 am #133114In reply to: Rearranging Extended Profile fields
April 17, 2012 at 5:07 am #133113In reply to: Rearranging Extended Profile fields
@mercime
ParticipantThe profile labels and data are rendered in table rows. You could copy over the profile-loop.php file to your child theme folder /themes/childtheme/members/single/profile/profile-loop.php and change the table/rows/columns into divs/spans etc.
April 16, 2012 at 4:13 pm #133088aces
ParticipantApril 16, 2012 at 2:29 pm #133082Hugo Ashmore
ParticipantIs there any reason why you can’t have both/all fields on the initial signup and let the user choose which they complete? Fields required to display on registration need to go in the ‘Base’ group.
April 14, 2012 at 5:02 pm #132957gwu123
ParticipantI do not want to completely turn this off. Instead, I want to disable this only for specific profile fields. How can I do that?
April 13, 2012 at 11:59 pm #132939Norm1
MemberThank you!
April 13, 2012 at 11:45 pm #132938April 12, 2012 at 3:55 am #132854In reply to: Allowing Users to create profile pages
mrjarbenne
ParticipantBy default everyone has a profile page within a Buddypress site under domain.com/members/username. You can edit the information that gets added to that profile in Buddypress/Profile Fields. If you want to centralize the community around the profile you can add something like this: http://buddydev.com/plugins/bp-redirect-to-profile/ which would redirect your users directly to their profile when they log in.
You could also allow them to customize the background of their profile with this if you really want to go wild: http://buddydev.com/buddypress/allow-your-users-to-change-their-profile-page-background-using-bp-custom-background-for-user-profile-plugin/ although that has the potential to get really ugly.
April 11, 2012 at 8:14 pm #132846In reply to: mapping custom user fields to environment variables
meatloaf
MemberSorry, as you can tell I’m trying to troubleshoot an already configured WP/BP that I’m not familiar with. A sample URL would be:
http://bp.mydomain.org/members/first-last/profile
Not sure how to tell if it’s a custom theme, or something purchased…
-
-
AuthorSearch Results