Forum Replies Created
-
rayray,
What happens when you are logged in to your site and you put this in the address bar …
yoursite/members/me
Nothing?
What happens?It’s likely the stuff after the /???????/ which is the issue then.
Try /members/me/ to see if that gets you to the profile.
If yes, then you can experiment with removing /profile/ and other combinations.Hi,
Try “me”
Hi,
That looks like a shortcode as part of the BP Profile Search plugin, you will get an answer at the official site for that plugin.
Search for “dontdream.it”
Or even this might be suitable for you …
add_filter( 'bp_nouveau_feedback_messages', function ( $args ) { $args['request-details']['message'] = 'My custom message goes here'; return $args; } );
Hi,
Search for bp_before_signup_profile_fields , that would allow you to add content above the registration fields.
Similarly, bp_after_signup_profile_fields allows you to add content below the fields.
Hi, the “final final” snippet should be used alone, not combined. All other snippets should be deleted. If it’s not working then I’m stumped. I’d be interested in seeing the correct solution once the dev. has informed you.
Let’s me know if my “final final” guess worked. I had a look at how add_filter works in wordpress and I can’t imagine any other method being correct.
And my final final guess …
add_filter( 'wpstory_bp_profile_displaying_hook' , 'change_stories_display' ); function change_stories_display( $location ) { $location = 'bp_profile_header_meta'; return $location; }
My final guess …
add_filter( 'wpstory_bp_profile_displaying_hook' , '__return_false' ); add_action( 'bp_profile_header_meta' , function () { echo do_shortcode( '[wpstory-user-single-stories]' ); } );
Yes it goes in functions.php or you can use a plugin like Code Snippets to add it.
Ok that’s a premium plugin so I can not install and test.
Unless there’s a free version?In any case, you have paid for that so the developer should really supply you with the exact code snippet you need and not just point you in the right direction.
So I can not help really.
But you might try this… ( again, test first on staging site ) …but this could end up displaying stories both above AND below the cover image ..it’s just a guess
add_filter( 'wpstory_bp_profile_displaying_hook', function () { // Default: bp_before_member_home_content return false; } ); add_action( 'bp_profile_header_meta' , function () { echo do_shortcode( '[wpstory-user-single-stories]' ); } );
NOTE: this is not tested so please try it on a development site first, do not put it on your live site.
Try this …
add_filter( 'wpstory_bp_profile_displaying_hook', function () { // Default: bp_before_member_home_content return 'bp_profile_header_meta'; } );
If it doesn’t work, then point me at your Stories plugin please.
And re. number of members to show per page, try this …
(You can change the “100” to anything you like.)add_filter( 'bp_after_has_members_parse_args', 'show_more_members' ); function show_more_members( $args ) { if ( bp_is_members_directory() ) { $args['per_page'] = 100; } return $args; }
Re. Alphabetical, the code here will work if you are using bp Nouveau
Change the selection option from “Last Active” to “Alphabetical” by default
Easiest is to use the Code Snippets plugin. Download it from the wordpress plugins site. I can’t link to it because this fu***** sh** website holds my comment for moderation when I link to the Official wordpress website. Go figure.
You can try this …
function add_text_to_members_page() { echo 'This is my text intro etc.'; } add_action( 'bp_before_directory_members', 'add_text_to_members_page' );
Hi Paul
You can try this code to set one background image for all users.
Please change the image URL to point at your image.function set_default_cover_image( $settings = array() ) { $settings['default_cover'] = 'your-image-url.jpg'; return $settings; } add_filter( 'bp_before_members_cover_image_settings_parse_args', 'set_default_cover_image', 10, 1 );
Though that might annoy your regular users who also had dismissed it, when they see it reappear.
Sounds like you could simply delete it for everyone in the WP admin, then create a new one, same text.
You can add items to the main site menu …
WP Admin -> Appearance -> Menus
Is that not prominent enough?
Put your link in the main site menu.
Call the link “All Members” or whatever.
Point that link at the /members page.I just wanted to thank @dreampixel for the support they are giving here on the site. It’s very refreshing. Usually no help whatsoever is offered by any of the people behind Buddypress. None.
That page should exist already, anyway.