Home
Welcome, Guest
Please Login or Register.    Lost Password?
Please take a couple of minutes to search previous discussions and documentation for solutions before starting new threads.

Hits Counter this by ip! Like every time see video
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Hits Counter this by ip! Like every time see video
#28235
Hits Counter this by ip! Like every time see video 4 Months, 3 Weeks ago Karma: 0
was observed recently that the hit counter is by ip, would like for every time I see the video!

for example: when I open the video and click on the video, and recorded the number after, after 5 minutes or 10 minutes I go back to watch the video again like it was recorded.

the free version was so, now that I changed for pro version is different.

Thanks
tv_esporte
Senior Boarder
Posts: 42
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#28277
Re:Hits Counter this by ip! Like every time see video 4 Months, 3 Weeks ago Karma: 189
the free version was so, now that I changed for pro version is different.In the past, a view would be logged every time a video was viewed.

There was a lot of complaints that this didn't give a realistic impression of user activity. Some users might re-load a video many times in the same session. Additional, for videos running competition they noted users would just sit on the refresh button to increase their view count.

Therefore, about a month ago we introduced a more robust method. A view will be logged for each user, once per session.

This means, a user can go your website website and view a video and it will increase the view count by one. However, for the rest of that session, no more views will be logged for the same video. However, if they go away and come back the next day, a new "view" will be counted again.

Please note, everyone gets a session when entering your website so guests are still logged when they view a video.

when I open the video and click on the video, and recorded the number after, after 5 minutes or 10 minutes I go back to watch the video again like it was recorded.Joomla sessions are set to last for 30 minutes by default. Therefore, if you watch a video, and visit again within 30 minutes no extra view will be logged. However, if you don't visit the website for over 30 minutes then the view count should increase by one.

Does this help?
Davros
Administrator
Posts: 13078
graph
User Online Now Click here to see the profile of this user
If you like hwdVideoShare please consider rating it in the Joomla Extensions Directory
The topic has been locked.
 
#28321
Re:Hits Counter this by ip! Like every time see video 4 Months, 3 Weeks ago Karma: 0
hum I understand you, I likede the new version, so that this option dont like much .

there is no other way to change and be counted several times in the session ?

or so I tested and really does work, 30 in 30 minutes

does it have any way of reducing this time of the session, without suffering other consequences on the site?
tv_esporte
Senior Boarder
Posts: 42
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#28345
Re:Hits Counter this by ip! Like every time see video 4 Months, 2 Weeks ago Karma: 189
there is no other way to change and be counted several times in the session ?Edit this file:
<JoomlaRoot>/components/com_hwdvideoshare/hwdvideoshare.class.php

Around line 3706 you will see the function logViewing().

Just under that, replace this line:
if ($view_check !== "viewed") {

With this line:
if (1 == 1) {

This will mean that ever view is logged.

Does this help?
Davros
Administrator
Posts: 13078
graph
User Online Now Click here to see the profile of this user
If you like hwdVideoShare please consider rating it in the Joomla Extensions Directory
The topic has been locked.
 
#28462
Re:Hits Counter this by ip! Like every time see video 4 Months, 2 Weeks ago Karma: 0
good, now it worked, thank you!!!

Ahh To run the code does not have space

With this line:
if (1==1) {


Best Support, Thanks

resolved
tv_esporte
Senior Boarder
Posts: 42
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
Go to topPage: 12
get the latest posts directly to your desktop

Copyright © 2007-2010 Highwood Design | Your Details | Terms of Use | About