My message button – UserPro Forums https://forum.userproplugin.com/forums/topic/my-message-button/feed/ Sun, 19 May 2024 16:45:10 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/my-message-button/#post-40616 <![CDATA[My message button]]> https://forum.userproplugin.com/forums/topic/my-message-button/#post-40616 Wed, 11 Jun 2014 12:04:04 +0000 Ronaldo Nunes 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?

]]>
https://forum.userproplugin.com/forums/topic/my-message-button/#post-40617 <![CDATA[Reply To: My message button]]> https://forum.userproplugin.com/forums/topic/my-message-button/#post-40617 Wed, 11 Jun 2014 12:06:13 +0000 Ronaldo Nunes https://forum.userproplugin.com/forums/topic/my-message-button/#post-40618 <![CDATA[Reply To: My message button]]> https://forum.userproplugin.com/forums/topic/my-message-button/#post-40618 Wed, 11 Jun 2014 12:07:04 +0000 Ronaldo Nunes 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>

]]>
https://forum.userproplugin.com/forums/topic/my-message-button/#post-40633 <![CDATA[Reply To: My message button]]> https://forum.userproplugin.com/forums/topic/my-message-button/#post-40633 Wed, 11 Jun 2014 14:08:33 +0000 admin 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?

]]>
https://forum.userproplugin.com/forums/topic/my-message-button/#post-40643 <![CDATA[Reply To: My message button]]> https://forum.userproplugin.com/forums/topic/my-message-button/#post-40643 Wed, 11 Jun 2014 14:14:20 +0000 Ronaldo Nunes 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?

]]>
https://forum.userproplugin.com/forums/topic/my-message-button/#post-40646 <![CDATA[Reply To: My message button]]> https://forum.userproplugin.com/forums/topic/my-message-button/#post-40646 Wed, 11 Jun 2014 14:17:34 +0000 Ronaldo Nunes https://forum.userproplugin.com/forums/topic/my-message-button/#post-40652 <![CDATA[Reply To: My message button]]> https://forum.userproplugin.com/forums/topic/my-message-button/#post-40652 Wed, 11 Jun 2014 14:23:04 +0000 admin You should use php to get current logged in user id

and make it like so:

data-user_id=”

]]>
https://forum.userproplugin.com/forums/topic/my-message-button/#post-40654 <![CDATA[Reply To: My message button]]> https://forum.userproplugin.com/forums/topic/my-message-button/#post-40654 Wed, 11 Jun 2014 14:27:42 +0000 Ronaldo Nunes Ok, and about the freeze that is occurring?

]]>
https://forum.userproplugin.com/forums/topic/my-message-button/#post-40661 <![CDATA[Reply To: My message button]]> https://forum.userproplugin.com/forums/topic/my-message-button/#post-40661 Wed, 11 Jun 2014 15:39:37 +0000 Ronaldo Nunes How can I solve this problem?

]]>
https://forum.userproplugin.com/forums/topic/my-message-button/#post-40673 <![CDATA[Reply To: My message button]]> https://forum.userproplugin.com/forums/topic/my-message-button/#post-40673 Wed, 11 Jun 2014 19:30:31 +0000 Ronaldo Nunes Hi, I need your attention

]]>