-
Prashant Singh replied to the topic How to send private massage only support person's role not anyone in buddypress in the forum How-to & Troubleshooting 6 years, 2 months ago
add_filter( 'get_footer', 'ps_fill_user_name' );
[Read more]
function ps_fill_user_name(){
if (bp_is_messages_compose_screen()) {
?>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('#send-to-input').val('@test');
jQuery('#send-to-input').attr('readonly','readonly');
});
</script>
<?php
}
if… -
Prashant Singh replied to the topic How to send private massage only support person's role not anyone in buddypress in the forum How-to & Troubleshooting 6 years, 2 months ago
Hi,
It seems like with the new template we can not do too much changes but still please try this code:
add_filter( 'get_footer', 'ps_fill_user_name' );
[Read more]
function ps_fill_user_name(){
if (bp_is_messages_compose_screen()) {
?>
<script…
@test
Not recently active