Plugin Contributor
Ismail
(@elhardoum)
Hello Tom,
Did you use the admin bbPM Importer to import older messages to the new database table? Normally once you update the plugin it would tell you in a notice to use the importer tool..
Regards,
Samuel
Sorry, Is a little bit difficult to write in english, btw the problem is this:
I can list them, but is impossible to open one of them.
chats are listed but you can’t click on them.
Thanks Samuel
Plugin Contributor
Ismail
(@elhardoum)
Hello Tom,
Normally there’s a simple JavaScript that opens up chats when you click on any chat. I believe there’s a script conflict so could you open your browser developer tools, then ‘console’, then click on any chat, and then take a screenshot and send it to me through this form samelh.com/contact for your privacy.. Or use that form to provide me with a temporary user access and I shall look into it on your behalf.
Thanks!
Best,
Samuel
Is this screenshoot good for you?
Plugin Contributor
Ismail
(@elhardoum)
Hi,
From the screenshot it seems there’s a conflict with another plugin. Add the following code to your child theme’s functions file:
add_action('wp_footer', function(){
if ( !function_exists('bbpm_is_messages') || !bbpm_is_messages() )
return;
wp_enqueue_script('jquery');
?>
<script type="text/javascript">
jQuery(document).ready(function($){
$(document).on('click', '.bbpm-chats .bbpm-chat', function(e){
if ( e.target && 'a' == $(e.target).prop('tagName').toLowerCase() ) {
return;
}
location.href = '<?php echo bbpm_messages_url(); ?>' + $(this).attr('data-chatid') + '/';
e.preventDefault();
});
});
</script>
<?php
});
It should work. Let me know.
Best,
Samuel
YES it works, thank you very much Samuel.
best regards
Tom