1

Topic: Online users in real time. R#3 (again)

Hello.

I need to talk again this problem, because it's very important to find a good solution.

***Please read carefully even if I will write a long and with a not good English.***

All the free reviews I've found on internet about my site say it's a very good site, but has only one problem:
when some other members are online and you try to contact them with the video webmessenger I installed, frequently you discover they have already gone offline.

This is because vldpersonals doesn't check the online members in real time. (continue reading please).

In a previous topic I said:
Online users checking actually is not in real time and this could cause misunderstanding.
All members consider this as a site malfunctioning or scaming.
>>> Request: checking and showing online users in real time, even if users leaved the site without clicking on logout link/button.

You answered:
Real time checking will involve server requests every second. Instead vldPersonals allows YOU to specify how often you want it to check it. If you want close to real time, set it to 1 minute.
Of course if you have a ton of members, you need to consider that you'll be running extra database queries more often.

Well, I understand your answer, but the problem is this: on vldpersonals I can set the "Inactivity timeout" and I should set it to one minute as you suggested. This could solve the main problem, but create a new one. Infact, members online checking becomes more realistic, but at the same time system kicks off members while they are writing a message, an article, a comment, etc..., because writing them usually takes more than just one minute and they seems offline while they are not.
So, setting the "Inactivity timeout" at one minute generates a more accurate members online list, but lot of members claim they have been kicked offline when they were writing a message, article, etc... Moreover they claim they lost the message they wrote so they have to repeat...

So, do you think it should exist an additional way to make the online members list more updated even if not in real time? Maybe the list should be updated also when a member does something (e.g. clicks to see another member profile, performs a new search, etc...). This way the members online list could be more realistic.

Mine it's just an idea and maybe it's a wrong one. Anyway I ask you to try to find another system you think it should be added to solve this problem without stressing the database.

Lot of my members think I show fake online members to make my site seems more visited, but it's not the true.

When I try to explain the problem, they don't believe me and say that other sites show online members in real time, so I am a liar...

In fact lot of other sites seems to use a system that show members that are really online in that moment.

Is there a way you could improve a little the members online checking without running lot of database queries?

Maybe some ajax?

When a site gets more popular this problem disturbs site members and they think the site is not professional.

Please, consider.

Thank you.

2

Re: Online users in real time. R#3 (again)

Cannot be ajaxed? Are you sure there's not a way to add a real time online user list without stressing the database?

3

Re: Online users in real time. R#3 (again)

i made a script which refresh every 30 seconds. In this script i select only users where lastvisit = time() -30

In fact it selects users connected within 30 seconds are shown. And it works perfectly

4

Re: Online users in real time. R#3 (again)

you can make it refresh with php, mysql, jquery, or (javascript)
I recommend jquery,  and set the time is ofcourse your choice ...

but 30 seconds is a good choice if you had many members online.
I know it can be done with auto refresh ajax but not sure how to do !

but search on google for "auto refresh ajax"

Last edited by gugu (2011-10-29 17:39:05)

Give the world the best you have, and the best will come to you.
Tutorials and Mods for VldPersonals  Add CometChat to your vldPersonals site

5

Re: Online users in real time. R#3 (again)

I solved my problem adding on my site the users online list provided by flashcoms messenger.
The list is updated "in real time" and the integration with vldpersonals allows members to:
- invite other online members for private chatting
- adding/deleting members into vldpersonals friends list
- see the member profile pages

Now members online list in my site is very professional.

Something like this should have to be added into vldpersonals, but I don't care it anymore.

Last edited by orange_slice (2011-11-03 14:32:59)

6

Re: Online users in real time. R#3 (again)

@orange_slice: have I missing something ?
you write I don´t care anymore.

Give the world the best you have, and the best will come to you.
Tutorials and Mods for VldPersonals  Add CometChat to your vldPersonals site

7

Re: Online users in real time. R#3 (again)

Online users list... (synonym: logged in members / show connected users)

Has this feature been added to VLDP 2.7? Will it come with VLDP 3.0?
I miss this feature that existed on OSdate.
Members like to check at a glance who's online (without performing a search manually).

8

Re: Online users in real time. R#3 (again)

Online users list for 2.7 is a modification you can buy. Send a ticket to Vlad.

9

Re: Online users in real time. R#3 (again)

it's easy to make this mod! i've made it for my website. take a look at www.on-libertine.com (beware adulte content)

10

Re: Online users in real time. R#3 (again)

Zoheir wrote:

it's easy to make this mod! i've made it for my website. take a look at www.on-libertine.com (beware adulte content)

Ok, i've checked your site.
This kind of list is typical of libertine sites.
Looks good.
How much did that cost?

11

Re: Online users in real time. R#3 (again)

Zoheir wrote:

it's easy to make this mod! i've made it for my website. take a look at www.on-libertine.com (beware adulte content)

great mod can you tell us the price for the mod ?

Give the world the best you have, and the best will come to you.
Tutorials and Mods for VldPersonals  Add CometChat to your vldPersonals site