uCoz Community » uCoz Modules » Statistics » Users statistics. Views and Hosts - difference (Who's online feature)
Users statistics. Views and Hosts - difference
Natashko
Posts: 3366
Reputation: 171

Message # 1 | 3:24 PM
"Who's online" feature


shows the total amount of people online, as well as the number of Guests and Users among them.

To enable this type of statistics, go to Control panel->Page Editor->Common settings->check the box “Activate "Who's online" feature”. Indicate the number of users to be displayed on the website at the same time (the maximum number is 50). Click “Save” at the bottom.

For the websites where Builder is used:
Go to the site main page->Enable Builder->open Statistics block (if you wan to add this feature to the block with a Hit counter)->embed the code:
Code
$COUNTER$<?if($ONLINE_COUNTER$)?><hr />$ONLINE_COUNTER$$ONLINE_USERS_LIST$<?endif?>
->click “Save”.
If you would like to add "Who's online" as a separate block, create a separate block with the help of Builder->put it where you need the container to be->embed the code:
Code
<?if($ONLINE_COUNTER$)?><hr />$ONLINE_COUNTER$$ONLINE_USERS_LIST$<?endif?>
->click “Save”.

For the websites where Design is used:
Go to the site main page->admin bar->Design->Site design customization->you may embed the code in the Statistics block by means of “Quick replacement” feature.
For example, “Find:” - $COUNTER$ and “Replace by:”
Code
$COUNTER$<?if($ONLINE_COUNTER$)?><hr />$ONLINE_COUNTER$$ONLINE_USERS_LIST$<?endif?>

Another option is to create a new users statistics block.

Such default phrases as “Total online”, “Guests”, “Users” can be substituted via Substitution of default phrases ->"Who's online" statistics.

Statistics Informers:

Go to Control panel->Tools->Informers->Create informer.

There are several types of Informers-users counters within uCoz web-services:
Users. Various statistics, such as registration date, rank, reputation, number of games, number of comments, number of forum posts, number of blog/news/publisher entries, number of files, link, ads, photos can be displayed with this Informer.
Counters for users. Number of users by gender, group, days, zodiac can be displayed with this Informer. For example, you can create the statistics of administrators, moderators, users, girls number on the website with the help of this Informer.
Users who have visited the site for the current day. The list of all the users, who have visited the site for the current day is displayed with the help of this Informer.

The informers templates can be customized. It means that you can set the display of each Informer up to your taste, using the Informer codes.
After you have created the Informer and customized its template, use its code $MYINF_1$ (as an example) and embed it in the block either via Builder or Design options.

Frequently Asked Questions


How to use images instead of Online/Offline?
Via “Substitution of default phrases” option. You need to put address in tags. The address shouldn't be long:
Code
<img src="/online.gif">       
<img src="/offline.gif">

where /online.gif is a path to the image with Online status;
where /offline.gif is a path to the image with Offline status.

There are three parameters in the display of the code $ONLINE_COUNTER$ (Total online, Guests and Users). I need to display only the “Total online” without group division. How to do it?
It can be done by means of third-party scripts.

How to make $ONLINE_COUNTER$ or $ONLINE_USERS_LIST$ codes work on the HTML page, which was uploaded to the server?
Codes do not work on static pages!

The codes $ONLINE_COUNTER$ and $ONLINE_USERS_LIST$ are embedded, but they are not displayed.
Control panel->Settings->Common settings->Activate "Who's online" feature. Enable this option to make these codes work.

The counter shows that there are 3 users online, but there are 2 of them in fact. Why is that so?
“Who's online” option works with a small delay. The delay depends on the server load. Besides, maybe there are hidden users.

Attachments: 1340275.png (1.2 Kb)
e-surfer
Posts: 27
Reputation: 0

Message # 16 | 3:27 PM
i use track my site online too and there saying the same as google
internet my mom and html are my weak points : www.isurfer.tk
Natashko
Posts: 3366
Reputation: 171

Message # 17 | 3:27 PM
e-surfer, there are various hit counters that use different methods and algorithms to calculate various values. That is why the value of our hit counter and google counter may differ. That is quite normal.
NEMESIS
Posts: 2
Reputation: 0

Message # 18 | 3:27 PM
Do i give myself views ? I mean when i visit the page it adds a view ? Or do i really sometimes get even 14 visits on a refresh ? surprised
Hope
Posts: 183
Reputation: 0

Message # 19 | 3:27 PM
I noticed that the limit of visitors per page at the same time is 30. For purchased plan, will this limit be increased?
CodeResolution
Posts: 1570
Reputation: 58

Message # 20 | 3:27 PM
NEMESIS, please us more informative thread names. Also I'm not completely sure myself because I don't use statistics as such. I believe it tracks your view via IP and will not count every time you refresh but might count as a new view every day you visit.
Kind regards,
Elliott.

"The best uCoz" critic since 2007.
Qualified website, branding, print & user interface designer.

I'm on Behance and Twitter.
Natashko
Posts: 3366
Reputation: 171

Message # 21 | 3:27 PM
Hope,
Quote (Hope)
I noticed that the limit of visitors per page at the same time is 30.

There is no such limitation as far as I am aware. Please be more specific. Rephrase your question, if possible.
Natashko
Posts: 3366
Reputation: 171

Message # 22 | 3:28 PM
NEMESIS, a host is when you access a website from a certain IP address one time per 24 hours. Every other time(during 24 hours) you access the same website from the same IP address is called a hit. I hope I have answered your question. If not - be more specific.
Hope
Posts: 183
Reputation: 0

Message # 23 | 3:28 PM
Sorry, I mixed up something.

That's should be "Who's online". Is it limited to 50?

At cpanel, common setting, "Activate "Who's online" feature", 50 is showed behind the tick box.

Can the visitors be more than 50 at the same time?
NEMESIS
Posts: 2
Reputation: 0

Message # 24 | 3:28 PM
@Natashko The only thing i wanna know is if i can give myself views
Natashko
Posts: 3366
Reputation: 171

Message # 25 | 3:28 PM
Hope, it is the maximum number of users per page (the number to be displayed) and this value can not be change.
Quote (Hope)
Can the visitors be more than 50 at the same time?

There can be, but more than 50 will never be displayed in "Who's online".
Animorph
Posts: 2856
Reputation: 189

Message # 26 | 3:28 PM
NEMESIS, no you can't , you can only give your website views by having people that visit it

if you still don't get it read Natashko's post


To busy building a passive income online ;)
Natashko
Posts: 3366
Reputation: 171

Message # 27 | 3:28 PM
NEMESIS, yes you can (1 host per day and as many hits as possible)
sushe
Posts: 7
Reputation: 0

Message # 28 | 1:36 AM
Good job thanks smile
Stroud458
Posts: 30
Reputation: 0

Message # 29 | 5:06 PM
For the Who's Online feature. Is there a way of displaying members from different user groups in a different colour? For example Admins would be green and Users would be blue.

Thanks.
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 30 | 2:15 PM
Stroud458, yes. Follow the link: http://forum.ucoz.com/forum/7-474-1 wink
Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
uCoz Community » uCoz Modules » Statistics » Users statistics. Views and Hosts - difference (Who's online feature)
Search: