-
Henry replied to the topic Duplicate profile field names in the forum How-to & Troubleshooting 11 years, 5 months ago
I may be wrong but
echo bp_get_profile_field_data( 'field=Email' )
won’t necessarily echo the “Email” field in profile group 2. Allif ( bp_has_profile('profile_group_id=2') )
does is check if profile group 2 exists. -
Henry replied to the topic Members directory sorting not working in the forum How-to & Troubleshooting 11 years, 5 months ago
@cyber49 the ajax functionality when searching, filtering or using the pagination is heavily reliant on the HTML markup in members/member-loop.php and members/index.php
If any of the page elements have been modified or deleted then you’ll hit problems. If you have customised any of these two files then perhaps try starting with a fresh install…[Read more]
-
Henry started the topic Duplicate profile field names in the forum How-to & Troubleshooting 11 years, 5 months ago
I have set up a profile group and called it “Work” and within it I have created a field called “Email”. I am displaying the field value in my theme like so
echo bp_get_profile_field_data( 'field=Email' )
If I now set up a new profile group called “Home” and have a field in it called “Email”, how can I display the value in my theme without…[Read more]
-
Henry replied to the topic Multiple Email Addresses Per Username? Or Something Else? in the forum How-to & Troubleshooting 11 years, 5 months ago
You could have the login form use username/password. That way, there is no need for multiple email addresses. The username and password could then be handed out to trusted people.
-
Henry replied to the topic How to check if member has avatar ? in the forum How-to & Troubleshooting 11 years, 5 months ago
Make sure you have this inside your
<head> </head>
in your header.php file<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
jQuery doesn’t work without it.
-
Henry replied to the topic How to check if member has avatar ? in the forum How-to & Troubleshooting 11 years, 5 months ago
You sure can use jQuery. To hide the alert after the user has clicked on close
<script>
$(".close").click(function(){
$(".no-pic").hide();
});
</script> -
Henry replied to the topic How to check if member has avatar ? in the forum How-to & Troubleshooting 11 years, 5 months ago
So it will look something like this
<?php if ( current_user_has_avatar() ) {
//do something for people who have uploaded an avatar
} else {
//do something for people who haven't
} ?>
-
Henry replied to the topic How to check if member has avatar ? in the forum How-to & Troubleshooting 11 years, 5 months ago
If you want to use the function you put in your functions.php then you should use
current_user_has_avatar()
instead ofbp_get_user_has_avatar()
-
Henry replied to the topic Private message from non-members in the forum How-to & Troubleshooting 11 years, 5 months ago
When non-members are browsing through member profiles, the default behaviour is for them to be able to see each member’s avatar. The
bp_displayed_user_avatar()
function takes care of that.If this isn’t happening then I suggest you check there isn’t a
is_user_logged_in()
check which is used to display content to only logged-in (registered…[Read more] -
Henry replied to the topic Private message from non-members in the forum How-to & Troubleshooting 11 years, 5 months ago
Not out-of-the-box. In order to send a private message the sender will need to be registered and logged in.
-
Henry replied to the topic How to check if member has avatar ? in the forum How-to & Troubleshooting 11 years, 5 months ago
Humm.. this always seems to return true for me @megainfo
Update: issue resolved. i was defining a custom default avatar hence why the check always trued true e.g
define ( 'BP_AVATAR_DEFAULT', get_stylesheet_directory_uri() .'/img/avatar.png' );
-
Henry started the topic Limit members search to full name only in the forum How-to & Troubleshooting 11 years, 5 months ago
Currently the member search searches anywhere in the member profile. How can I change it to search in full name only?
-
Henry replied to the topic Complete list of all BuddyPress pages in the forum How-to & Troubleshooting 11 years, 5 months ago
Ah right, and i never knew that! i’ll try to make my list a little more comprehensive before I create a new codex page, i’m sure i’m still missing one or two important site pages
Thanks again :}
-
Henry replied to the topic Complete list of all BuddyPress pages in the forum How-to & Troubleshooting 11 years, 5 months ago
Thanks @hnla
i’ve been through the directory structure with a toothpick and have come up with a good list. It would be great if you could feed back to the documentation team that a full list published somewhere in the codex would be greatly appreciated :}
-
Henry started the topic Complete list of all BuddyPress pages in the forum How-to & Troubleshooting 11 years, 5 months ago
I am looking for a list of all BuddyPress pages as i’m developing a custom theme and need to check i’ve covered every possible page.
Anyone know if a list is available?
-
Henry replied to the topic Change avatar template notice bug – Tester needed in the forum How-to & Troubleshooting 11 years, 5 months ago
-
Henry replied to the topic A potential security issue with avatar uploads in the forum Requests & Feedback 11 years, 5 months ago
Once you’ve confirmed it is a bug/security issue, you can raise a ticket at BuddyPress Trac. The development team will then take a look.
-
Henry started the topic Change avatar template notice bug – Tester needed in the forum How-to & Troubleshooting 11 years, 5 months ago
Straight after you either delete or update an avatar via the change-avatar page, an information message is displayed telling the user the changes have been saved (avatar updated or deleted).
If from here you navigate straight to the edit profile page the information message seems to persist. I would have expected it to disapprear.
Can anyone…[Read more]
-
Henry replied to the topic Member search results in the forum How-to & Troubleshooting 11 years, 5 months ago
Got a response over at Trac if anyone is interested
-
Henry replied to the topic [Resolved] Changing the default mystery man avatar in the forum How-to & Troubleshooting 11 years, 5 months ago
Thanks @naijaping
- Load More
@henrywright-1
Active 9 years, 10 months ago