Replies
- Brajesh Singh on August 19, 2019 at 11:21 pm in reply to: [Resolved] Point comment on media notification link to activity and not media #24770
Hi Corrado,
Thank you.I am glad you like MediaPress.
Regards
Brajesh - Brajesh Singh on August 19, 2019 at 11:20 pm in reply to: [Resolved] notifications component_name #24769
Hi,
Here is the code in 2 parts.Part 1:-
https://gist.github.com/sbrajesh/002257e663d7c5660e0c4be27c781c5d
This is a copy of ‘bp_notifications_get_notifications_for_user’ with 1 line change
From
$notifications = bp_get_grouped_notifications_for_user( $user_id );to
$notifications = bd_custom_get_grouped_notifications_for_user( $user_id, $component_name );Part 2:-
https://gist.github.com/sbrajesh/d71d88317c649333b9e456bf3ba8cf4fAs explained in
https://buddydev.com/support/forums/topic/notifications-component_name/#post-24600You will need to replace that function with ‘bd_notifications_get_notifications_for_user’ and appropriate args.
Regards
Brajesh - Brajesh Singh on August 19, 2019 at 9:59 pm in reply to: Multi line text area field type overflows the field #24766
Hi Carsten,
Thank you for the question.The field is default BuddyPress Multiline text area.
You need to apply the word-break property like this in css
.profile-fields .data { word-break: break-all; }That should fix it.
Regards
Brajesh Hi Mike,
Using 2 plugins might cause conflict.Please do note that it is Branded login that does not provide the ability to set your own password(It sends the generated password).
The ajax registration plugin simply points user to the site’s reset password page(It does not implement the reset password).
In my personal opinion, using the default WordPress workflow might be a better alternative for varied user base.
Regards
Brajesh- This reply has been marked as private.
- This reply has been marked as private.
- This reply has been marked as private.
- This reply has been marked as private.
- Brajesh Singh on August 19, 2019 at 8:01 pm in reply to: [Resolved] BuddyBlog – Display Blog Count – Custom Page #24756
Hi John,
You can usecount_user_posts( $user_id, $post_type )to get the count of user posts.
Please see this for example.
https://codex.wordpress.org/Function_Reference/count_user_posts
Regards
Brajesh Hi Terry,
Thank you for using MediaPress.If the above message is coming, there are 2 possible reasons.
The easy one is most probably oembed is enabled but remote is not enabled. Can you please visit MediaPress->Settings->General and check that both oembed and remote files are enabled?
Regards
Brajesh