*

arun008

  • ***
  • 46 posts
 :)

*

MB Themes

Re: How to add user online or offline and user message seen or not seen ?
« Reply #1 on: November 18, 2017, 02:56:05 PM »
@arun
Plugin does not have capability to check if user is online or not.
If message is read or not is in database in table im_messages, column i_read
It's in variable $message (or $m) used in messages.php, you can get it like $m['i_read']
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

arun008

  • ***
  • 46 posts
Re: How to add user online or offline and user message seen or not seen ?
« Reply #2 on: November 18, 2017, 06:30:43 PM »
How to set up ?

*

MB Themes

Re: How to add user online or offline and user message seen or not seen ?
« Reply #3 on: November 18, 2017, 08:23:18 PM »
I do not have code and itvrequire lot of testing to set it up properly.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

arun008

  • ***
  • 46 posts
Re: How to add user online or offline and user message seen or not seen ?
« Reply #4 on: November 22, 2017, 07:46:36 AM »
user online plugin can be integrated in Instant Messenger Plugin?

*

MB Themes

Re: How to add user online or offline and user message seen or not seen ?
« Reply #5 on: November 22, 2017, 09:06:56 AM »
@arun
If you have right code then yes, you should be checking last active time of user and compare with real time.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

arun008

  • ***
  • 46 posts
Re: How to add user online or offline and user message seen or not seen ?
« Reply #6 on: November 22, 2017, 11:07:02 AM »
Add this code but showing offline  <?php if(function_exists('useronline_show_user_status')) {useronline_show_user_status();} ?>

*

arun008

  • ***
  • 46 posts
Re: How to add user online or offline and user message seen or not seen ?
« Reply #7 on: November 22, 2017, 11:07:36 AM »
working only item page

*

MB Themes

Re: How to add user online or offline and user message seen or not seen ?
« Reply #8 on: November 22, 2017, 11:26:53 AM »
@arun
Check code of that function, it probably use osc_item_user_id(), you need to use ID of message user.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

arun008

  • ***
  • 46 posts
Re: How to add user online or offline and user message seen or not seen ?
« Reply #9 on: November 22, 2017, 11:42:32 AM »
How to add user id ?

*

MB Themes

Re: How to add user online or offline and user message seen or not seen ?
« Reply #10 on: November 22, 2017, 11:51:23 AM »
@arun
Modify that function. Are you sure what are you doing?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

arun008

  • ***
  • 46 posts
Re: How to add user online or offline and user message seen or not seen ?
« Reply #11 on: November 22, 2017, 01:39:33 PM »
I am try but nothing

*

MB Themes

Re: How to add user online or offline and user message seen or not seen ?
« Reply #12 on: November 22, 2017, 01:55:24 PM »
@arun
What you put there?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

arun008

  • ***
  • 46 posts
Re: How to add user online or offline and user message seen or not seen ?
« Reply #13 on: November 22, 2017, 05:16:57 PM »
(osc_item_user_id()

*

arun008

  • ***
  • 46 posts
Re: How to add user online or offline and user message seen or not seen ?
« Reply #14 on: November 22, 2017, 05:49:48 PM »
This works only on the item page 


<?php if(function_exists('useronline_show_user_status')) {useronline_show_user_status();} ?>