-
How may I do to trigger my messages from a custom link, like in your demo with a My Messages button?
I put the code in a page and then a spinner picture runs and then the window turned darker but notthig hapens:
There is a shortcode to do this?
I put this code in a post and the spinning picture runs and nothing occurs. The window becomes darker and not appears. I Want to show My Messages” in a page or in a modal windows.
<a class="userpro-show-chat dt-btn dt-btn-s" href="#" data-user_id="3">Ler Mensagens</a>
The class userpro-show-chat is correct, also data-user_id=3″ should show messages of user’s ID = 3. What happens when you try that code?
Hi Ahmed,
The spiner image appears, then the window turn darker and nothing else occurs. How can I do to get the user-id that is logged on?
You should use php to get current logged in user id
and make it like so:
data-user_id=”“
The window becomes darker and not appears. This seems like a freeze.
Wich set of code may I put in a page, if I don´t want to show a modal window?
You must do it through modal, the messaging addon does not have “inline” display feature.
You must be logged in to reply to this topic.