-
Henry replied to the topic [Resolved] Different "profile" pages for passwords and avatars in the forum How-to & Troubleshooting 11 years, 5 months ago
It is part of the settings menu so with reference to support instructions you could put it like this:
Settings > General
Just to note the context – the settings menu on the same level as Activity, Profile, Friends. Account settings is a component that you can enable/disable so it is possible you don’t have it switched on currently. Go to…[Read more]
-
Henry replied to the topic Different colour per user level in the forum How-to & Troubleshooting 11 years, 5 months ago
You could do this via your style.css and some php logic/html markup in your theme. Or if username can be filtered then style.css and a function in functions.php. Can the username HTML be filtered, anyone?
-
Henry replied to the topic [Resolved] Different "profile" pages for passwords and avatars in the forum How-to & Troubleshooting 11 years, 5 months ago
BuddyPress already has a page for changing your password. It isn’t on the profile page directly – instead it’ll be
example.com/members/username/settings/general
-
Henry replied to the topic Activity Stream Profile Field in the forum Creating & Extending 11 years, 5 months ago
This Codex article will help…
https://codex.buddypress.org/developer/plugin-development/bp_activity_add/ -
Henry replied to the topic [Resolved] Avatar Upload on Registration redirects to registration page in the forum How-to & Troubleshooting 11 years, 5 months ago
I’m not sure of the exact one but a filter hook will be used to redirect the user after successful activation. Perhaps someone can suggest the best hook to use?
You then just write your function and add it to functions.php
function bp_redirect_after_activation() {
[Read more]
global $bp;
wp_redirect( bp_core_get_user_domain( $bp->loggedin_user->id ) .… -
Henry replied to the topic [Resolved] Avatar Upload on Registration redirects to registration page in the forum How-to & Troubleshooting 11 years, 5 months ago
The theme is a premium theme so i didn’t download (couldn’t justify spending $60 just for a peek at the redirect) – so i’m not sure how that theme does it.
-
Henry replied to the topic testbp.org down in the forum How-to & Troubleshooting 11 years, 5 months ago
@mercime ah OK, no worries then. it’ll give me an excuse to update my test site :}
-
Henry replied to the topic testbp.org down in the forum How-to & Troubleshooting 11 years, 5 months ago
wow! i found that site quite useful. any reason for the closure?
-
Henry replied to the topic Getting the large avatar in the forum Installing BuddyPress 11 years, 5 months ago
I’m not 100% sure this will resolve the issue but try deleting your avatar and then uploading a new one.
BuddyPress may have ‘crunched’ the image on upload (it may have created a full size image and also a much smaller thumb image). It is possible that it is still serving your old ‘very small’ thumbnail image at the bigger 192×192…[Read more]
-
Henry replied to the topic Getting the large avatar in the forum Installing BuddyPress 11 years, 5 months ago
You could always att this to bp-custom.php
define ( 'BP_AVATAR_THUMB_WIDTH', 192 );
define ( 'BP_AVATAR_THUMB_HEIGHT', 192 );
Then use this in your post page
$author = get_the_author();
echo get_avatar( get_the_author_meta('ID'), 120, '', $author );Not the ideal solution but it should work. Note that all you’ve really done is increased the…[Read more]
-
Henry replied to the topic Getting the large avatar in the forum Installing BuddyPress 11 years, 5 months ago
I’ve just raised a BP Trac ticket for this
https://buddypress.trac.wordpress.org/ticket/5074 -
Henry replied to the topic Getting the large avatar in the forum Installing BuddyPress 11 years, 5 months ago
BuddyPress seems to replace get_avatar() with bp_core_fetch_avatar_filter(). I did bring this up a while ago at WordPress Trac but the call was closed.
https://core.trac.wordpress.org/ticket/24596
Wonder if anyone thinks it’s worthy of a BP Trac ticket?
-
Henry replied to the topic Show members based on custom field checkboxes in the forum Creating & Extending 11 years, 5 months ago
Just a little tip for when you get your code working – check the pagination count is updated to account for the members you’ve excluded from the loop.
-
Henry replied to the topic Xprofile get field data checkbox returns array in the forum How-to & Troubleshooting 11 years, 5 months ago
Thanks for pasting everything. I see now exactly what you’re trying to do. This should work:
<?php if ( $sectors = xprofile_get_field_data( 'Specialist Sectors', get_the_author_id() ) ) { ?>
<?php foreach ( $sectors as $sector ) { ?>
<?php echo $sector; ?>
<?php } ?>
<?php } ?> -
Henry replied to the topic Xprofile get field data checkbox returns array in the forum How-to & Troubleshooting 11 years, 5 months ago
Can you paste the exact code which you are using in the text widget on the post page that works, and can you then paste the code you are using in the post page widget that does not work?
-
Henry started the topic testbp.org down in the forum How-to & Troubleshooting 11 years, 5 months ago
http://testbp.org/ seems to be down since yesterday. Anyone have an idea when it’ll be available?
-
Henry replied to the topic Xprofile get field data checkbox returns array in the forum How-to & Troubleshooting 11 years, 5 months ago
Try using the code in your user profile template, then if that works you’ll know the widget is the issue.
-
Henry replied to the topic [Resolved] Avatar Upload on Registration redirects to registration page in the forum How-to & Troubleshooting 11 years, 5 months ago
@musickjl thanks!
-
Henry replied to the topic [Resolved] Avatar Upload on Registration redirects to registration page in the forum How-to & Troubleshooting 11 years, 5 months ago
@musickjl which theme are you using? i’d be interested to see how to redirect users to the change-avatar page directly after registration
-
Henry replied to the topic Hide members from Members Directory in the forum How-to & Troubleshooting 11 years, 5 months ago
So 2 issues remain.
1. Pagination count
2. Filter by roleWith reference to the first issue, you’d need to rewrite function
bp_members_pagination_count()
which is found in bp-members-template.php. Your new function would go into your theme’s functions.php and would have to account for the recently inactive and blocked users.With reference to…[Read more]
- Load More
@henrywright-1
Active 9 years, 10 months ago