Support Forums - Classified Ads Script Osclass
Unread
New Replies
Osclass Market
Download Osclass
Documentation
Home
Help
Search
Login
Register
How to add user online or offline and user message seen or not seen ?
Support Forums - Classified Ads Script Osclass
Osclass plugin support
Instant Messenger Plugin
How to add user online or offline and user message seen or not seen ?
Match all words
Match any words
Most relevant results first
Largest topics first
Smallest topics first
Most recent topics first
Oldest topics first
Advanced
Unread posts
New replies
My topics
My posts
Print
Pages: [
1
]
2
arun008
46 posts
How to add user online or offline and user message seen or not seen ?
«
on:
November 18, 2017, 10:16:43 AM »
Logged
MB Themes
Support team
17485 posts
Only quality matters
Download Osclass
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']
Logged
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 ?
Logged
MB Themes
Support team
17485 posts
Only quality matters
Download Osclass
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.
Logged
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?
Logged
MB Themes
Support team
17485 posts
Only quality matters
Download Osclass
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.
Logged
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();} ?>
Logged
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
Logged
MB Themes
Support team
17485 posts
Only quality matters
Download Osclass
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.
Logged
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 ?
Logged
MB Themes
Support team
17485 posts
Only quality matters
Download Osclass
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?
Logged
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
Logged
MB Themes
Support team
17485 posts
Only quality matters
Download Osclass
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?
Logged
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()
Logged
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();} ?>
Logged
Print
Pages: [
1
]
2