Replies
I think you misunderstood me what im trying to say is while bp rewrites is activated the pages section in buddypress settings is totally disabled so its no longer possible to assign pages for branded login plugin.
BP REWRITES plugin removes the pages setting in buddypress and replaces it with a new slug management section.
Now in this slug management section there are not options for branded login.
You might need to activate the BP rewrite plugin and navigate to buddypress settings.
I could not get anything to work, I just got confused with making the send donation link dynamic.
WHAT IM TRYING TO ACHIVE
1. Create a (send-donation) page which contains the shortcode [bp-shortcodes-profile context=display group_id=2]
2. Clicking send donation link in either blog post or single user profile would redirect to (send-donation) page.
3. On this page the potential donor/sender would see the bank details of the receiver determined by(username of post author or user profile)
I just tested it now but branded login page directory is not included in the new URL tab for editing slugs
Making it dynamic is tricky
Can something similar to this code be used to determine a dynamic url then the username is the url can be picked by the [bp-shortcodes-profile context=display group_id=4] to determine the context of the profile data
function hibuddy_get_send_public_message_url() { $user_id = hibuddy_get_context_user_id(); if ( ! $user_id || $user_id == bp_loggedin_user_id() ) { return; } if ( bp_is_my_profile() || ! is_user_logged_in() ) { return false; } $username = bp_core_get_username( $user_id ); return apply_filters( 'hibuddy_get_send_public_message_url', wp_nonce_url( site_url() . '/news-feed/?r=' . $username ) ); }
Maybe $username of the recipient can be picked [bp-shortcodes-profile context=display group_id=4] so context=username from the url
Thanks
Thanks for the feedback
1. Do I install the code as a plugin
2. What is the shortcode text to be applied from the text below/** * Create shortcode */ private function setup() { add_shortcode( 'bp-shortcodes-profile', array( $this, 'shortcode' ) ); }
Any feedback sir
Thanks
- Tosin on August 6, 2021 at 2:37 pm in reply to: [Resolved] Facebook Like User Activity Stream Feature Suggestion #39967
Gentle reminder
The donate button can be displayed in three locations.
1. Member profile header
2. Members directory
3. Blog post as (Send tip to Author)The donations would be peer to peer
- This reply was modified 3 years, 3 months ago by Tosin.
Thanks if possible making it a dropdown select input box would be ok in order to prevent users selecting multiple categories. Only one category should be selected.
Hello,
Gentle reminder you forgot to add this in the recent update. It would really improve mobile experience especially when using the medium editor.
see image below while using the medium editor you can see how long the category list is.
Thanks