Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Contributor Ismail

    (@elhardoum)

    Hello Mica,

    Thank you.

    Can you provide me with a link to your forums (you email it to me if you don’t want to reveal it here [samelh.com]).. That would be helpful.

    Thanks,
    Samuel

    Thread Starter mica123

    (@mica123)

    I’ve just sent you a message.

    Thread Starter mica123

    (@mica123)

    I inspected the Profile page in Messages and I can see that I can change elements via CSS. However, I can’t see anything that would allow users to send a private message. There is nothing like that on the Profile page.
    Thank you.

    Thread Starter mica123

    (@mica123)

    I was hoping I would hear from you. I don’t know if I am missing something – I just can’t see anything that would enable me to send a private message. All I can see is “Messages” on the Profile page but no option to send a message. Hope to hear from you.

    Thread Starter mica123

    (@mica123)

    I finally managed to get Send message up and running.
    There are other things that need explaining.

    Plugin Contributor Ismail

    (@elhardoum)

    Hello Mica,

    I am sorry I get busy with other development works and I am not active all the time here.

    The messages will be at example.com /forums/users/messenger/, everytime you want to contact a user, the path to the contacting page is example.com /forums/users/messenger/user_name/ (/forums/ and /users/ are customizable slugs BTW)

    I guess if you visit their profiles, there’s a link for that. Or if they post topics or replies, there are links for that as well..

    Can you explain to me what other things that need explaining?

    Thank you.

    Samuel

    Thread Starter mica123

    (@mica123)

    Thank you.
    There are some things that need explaining but first: are users supposed to get notifications by email that they have received a private message? I tested it and no emails are coming. I did implement the hook you advised on in this forum:

    add_filter('bbpm_notification_body', function( $body ) {
    
    	return $body . '[site] you have a new message on site';
    
    });

    But it’s no good.

    Thread Starter mica123

    (@mica123)

    I very much hope to hear from you soon as users are not receiving email notifications about the PM.
    To save time I hope you will help me with another issue:
    I managed to add a link to messages in the menu for logged in users. The link displays “Messages” which gets the users to Messages in their Profile. I would like to display the unread count in the link as well. Can you please help? Part of my code for this (for logged in users) is:

    $current_user = wp_get_current_user();
    
            $user = $current_user->user_nicename;
    
    	$countlink = '<a href="/forums/users/' . $user . '/messages">Messages </a>';
    
            $items .=  '<li>' . $countlink .  '</li>';

    It would be wonderful if you could advise me how to add the unread count to it.
    Thank you.

    Plugin Contributor Ismail

    (@elhardoum)

    Hello Mica,

    No problem at all. I am available anytime for support.

    For the emails issue, I’d require you to create a temporary user with admin roles and email me the login credentials and I will be looking into it..

    You could use [bbpm-unread-count] shortcode which would return the unreads count for the current user or [bbpm-unread-count user=x] for specific user..

    So, I guess this would be it:
    $countlink = '<a href="/forums/users/' . $user . '/messages">Messages (' . do_shortcode('[bbpm-unread-count]') . ')</a>';

    Let me know how it goes.

    Thanks,
    Samuel

    Thread Starter mica123

    (@mica123)

    Many thanks for your excellent support, the link to messages with unread counts works. Great.
    As for sending emails – I am not sure if something is wrong on my test site – emails used to work there and now they stopped. This is a free account, so I am not getting any help from the provider. I’ll be doing some more checking but would you be able to help too?

    Plugin Contributor Ismail

    (@elhardoum)

    Hello Mica,

    That’s great.

    Yes sure just send me the credentials and that is alright. I would be glad if I could be of any help.

    Thanks,
    Samuel

    Thread Starter mica123

    (@mica123)

    Thanks, I sent you the credentials via your website.

    Thread Starter mica123

    (@mica123)

    I got the message which is great. Did you do something?

    Thread Starter mica123

    (@mica123)

    Sorry it was premature. I am confused.
    The message didn’t come from you. I installed the Postman Smtp plugin and the message sent via this plugin came only today. But I uninstalled the plugin because this is not really ideal for me.
    The message I was sent two days ago – I am not even sure if it was sent via the postman or not. All this is really strange.

    Thread Starter mica123

    (@mica123)

    Hello Samuel,

    I think there is not much point looking into the problem on the free website. I will have to try it on the other site. I am just not sure if the upgrade of WordPress to 4.4.2 messed up something.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Links to PM’ is closed to new replies.