?
avatar effrit
effrit
27 Sep 2018

Is your feature request related to a problem? Please describe.

Current Hits counter (article DB field) mostly useless because it counts even your own (administrator) and any bots multiply visits.
But still it used for sorting content by popularity and you can show this hits to users and be proud of huge numbers of views of your articles.

Describe the solution you'd like

I suggest to make Option (in Articles: Options) to disable this counter increment so u can use this BD field to make more useful plugin for hits.
ps
I know what there is plugin(s) which make additional decrement (DB request) for hits to disable increment based on certain condition, but this is just not right.

Additional context

avatar effrit effrit - open - 27 Sep 2018
avatar joomla-cms-bot joomla-cms-bot - change - 27 Sep 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 27 Sep 2018
avatar brianteeman
brianteeman - comment - 27 Sep 2018

Wouldn't it be better if you can write a more accurate counter that it is submitted to core as a replacement

avatar effrit
effrit - comment - 27 Sep 2018

We don't needed more accurate counter in core because it will decrease performance.
So my suggestion is make it possible to make third-part plugins for peoples who need more accurate hits.

avatar Quy
Quy - comment - 27 Sep 2018

Related #15771

avatar effrit
effrit - comment - 27 Sep 2018

cool, disabling increment solve problem for peoples who dont need it but want mysql caching. doubleshot.

avatar Septdir
Septdir - comment - 27 Sep 2018

I agree that @brianteeman is worth fixing the counter.
However, I also like the idea of @effrit, it's just not the most important application of disabling the htis parameter.

Disabling hits in the first place need those people who do not use them.
Why do I need an extra query in the database, if I do not use this function?

#15771 In my opinion too radical

avatar brianteeman
brianteeman - comment - 27 Sep 2018

Why do I need an extra query in the database, if I do not use this function?
You can say that about every query

avatar Septdir
Septdir - comment - 27 Sep 2018

@brianteeman

You can say that about every query

Exactly. And if has parameters to turn off these query, it's very cool.

avatar brianteeman
brianteeman - comment - 27 Sep 2018

good luck writing the code

avatar franz-wohlkoenig franz-wohlkoenig - change - 27 Sep 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 27 Sep 2018
Category com_content Feature Request
avatar joomla-cms-bot joomla-cms-bot - change - 28 Sep 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-09-28 05:03:35
Closed_By joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 28 Sep 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 28 Sep 2018
Closed_By joomla-cms-bot franz-wohlkoenig
avatar joomla-cms-bot
joomla-cms-bot - comment - 28 Sep 2018
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 28 Sep 2018

closed as having Pull Request #22413

Add a Comment

Login with GitHub to post a comment