Stop counting visits

proxydesign

Visiolist-Fan
Hello there,

Would it be possible to stop the counting of visits every seconds, and instead show the user a total visits when the day is over?

A norwegian toplist do that (not running Visiolist), and the users love it. Have a look on http://blogglisten.no.


Thank you:)
 
I figured to change the sentence in table_row.html: {$tot_pv_0_daily} to {$unq_pv_1_daily}. It works, but the toplist doesnt show it descending from top to bottom of visits.
 
Ye, thats because the list still ranks by unq_pv_0_daily and not unq_pv_1_daily
You would need a plugin to change the ranking method, got that flying around and can post that tomorrow
 
Update: Normally it shows this line define the numbers {$this_period}. Replacing that with {$tot_pv_0_daily} works, but the toplist doesnt show it descending, which is necessary for a toplist.
 
change your list ranking method to Pageviews, Ranking Period: Daily. That should give you descending order you are looking for.

Those tags are only for display purposes (you can show any stats you like, but it does not influence how the sites are ranked), ranking method and reset period is set in the admin panel.
 
Yes, I already have that. But what I want is the toplist to show the unq visits for yesterday, instead of the total pageviews in the day. :-)
 
Here it is. Once uploaded your list ranks by unq_YourRankMethod_1_YourRankPeriod , which is last day/week/month, depending on your period.

Also note, with VL 1.3 and this plugin, you cant use the {$this_period} tag, it would show false data
 

Attachments

Thank you for the upload Basti. Means a lot. Installed the plugin, but the same data still shows in the toplist. Do I have to change {$this_period} in table_row.html to something different?

Thank you!
 
Yes
Also note, with VL 1.3 and this plugin, you cant use the {$this_period} tag, it would show false data

After some thought, even with vl 1.4 you couldnt use this tag
as its defined as $TMPL["unq_{$ranking_method}_0_{$ranking_period}"]
As you see the "0" is hard coded and i see so easy method to allow something else here.

So you would have to use static tmpl tags
{$unq_in_1_daily} {$unq_out_1_daily} {$unq_pv_1_daily} etc
 
Back
Top