Set all topic views to 0 in ACP

https://www.phpbb.com/ideas/
Post Reply
User avatar
Tastenplayer
Registered User
Posts: 999
Joined: Thu Jul 03, 2014 9:20 pm
Location: Village in the middle of Switzerland
Name: Jutta Koliofotis
Contact:

Set all topic views to 0 in ACP

Post by Tastenplayer »

Set all topic views to 0 in ACP
Instead of having to do this with command in the database.
Image
More of my styles you can find in my phpBB Style Board & More
Be the best version of yourself rather than a bad copy of someone else!
Excuse me for my English, but I learned the language by speaking to people and not at school.
🎨 All my styles are updated to 3.3.8 and can be downloaded here
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Set all topic views to 0 in ACP

Post by david63 »

Can you give a reason as to why you would want to do this?

Sounds more like an extension to me.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
Tastenplayer
Registered User
Posts: 999
Joined: Thu Jul 03, 2014 9:20 pm
Location: Village in the middle of Switzerland
Name: Jutta Koliofotis
Contact:

Re: Set all topic views to 0 in ACP

Post by Tastenplayer »

After setting up a new forum and also, if you have a lot of topics, at the end of a year to see which topics are still visited and which are no longer (before deleting).
When installing a board for the first time you should be able to disable this function (no counting of visits) :)
More of my styles you can find in my phpBB Style Board & More
Be the best version of yourself rather than a bad copy of someone else!
Excuse me for my English, but I learned the language by speaking to people and not at school.
🎨 All my styles are updated to 3.3.8 and can be downloaded here
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72339
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Set all topic views to 0 in ACP

Post by KevC »

This is way too specialised a reason to have it built in.
The overwhelming majority of sites would have no need for it. In fact, quite the opposite!
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
User avatar
Tastenplayer
Registered User
Posts: 999
Joined: Thu Jul 03, 2014 9:20 pm
Location: Village in the middle of Switzerland
Name: Jutta Koliofotis
Contact:

Re: Set all topic views to 0 in ACP

Post by Tastenplayer »

KevC wrote: Tue May 21, 2019 8:10 am This is way too specialised a reason to have it built in.
The overwhelming majority of sites would have no need for it. In fact, quite the opposite!
Maybe, but when opening a new board, the topic visited counter should definitely be set to 0.
More of my styles you can find in my phpBB Style Board & More
Be the best version of yourself rather than a bad copy of someone else!
Excuse me for my English, but I learned the language by speaking to people and not at school.
🎨 All my styles are updated to 3.3.8 and can be downloaded here
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Set all topic views to 0 in ACP

Post by david63 »

Tastenplayer wrote: Tue May 21, 2019 8:47 am Maybe, but when opening a new board, the topic visited counter should definitely be set to 0.
Why would it be anything else - and in any case how would anyone know?
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
AmigoJack
Registered User
Posts: 6108
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Set all topic views to 0 in ACP

Post by AmigoJack »

I wouldn't trust a board where topics have more replies than views. Your intention would also need more details to be stored, i.e. storing per topic since when visits are counted.
  • "The problem is probably not my English but you do not want to understand correctly. ... We will not come anybody anyway, nevertheless, it's best to shit this." Affin, 2018-11-20
  • "But this shit is not here for you. You can follow with your. Maybe the question, instead, was for you, who know, so you shoved us how you are." axe70, 2020-10-10
  • "My reaction is not to everyone, especially to you." Raptiye, 2021-02-28
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26502
Joined: Fri Aug 29, 2008 9:49 am

Re: Set all topic views to 0 in ACP

Post by Mick »

Make an extension request, it won’t be added to the core.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: Set all topic views to 0 in ACP

Post by 3Di »

Yeah, that could be an idea for an extension.
I personally don't need it, just I wanted to explain my down-vote.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
Tastenplayer
Registered User
Posts: 999
Joined: Thu Jul 03, 2014 9:20 pm
Location: Village in the middle of Switzerland
Name: Jutta Koliofotis
Contact:

Re: Set all topic views to 0 in ACP

Post by Tastenplayer »

AmigoJack wrote: Tue May 21, 2019 2:31 pm I wouldn't trust a board where topics have more replies than views. Your intention would also need more details to be stored, i.e. storing per topic since when visits are counted.
Yes the picture was a little badly chosen :lol:
But it's also pretty nonsensical if all views are from the admin. Like just now, in a newly created board.
No matter, be it just like that. Some forum operators even seem to do this extra. Anyway, it appears in some badly visited forums.
More of my styles you can find in my phpBB Style Board & More
Be the best version of yourself rather than a bad copy of someone else!
Excuse me for my English, but I learned the language by speaking to people and not at school.
🎨 All my styles are updated to 3.3.8 and can be downloaded here
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Set all topic views to 0 in ACP

Post by david63 »

Tastenplayer wrote: Wed May 22, 2019 7:25 am But it's also pretty nonsensical if all views are from the admin.
How would anyone know?
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72339
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Set all topic views to 0 in ACP

Post by KevC »

Surely the first person visiting the board would have expected the admin to have at least had a look to make sure it all worked ok. No one is going to refuse to join or PM the admin because a forum has had a few views.
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
User avatar
Tastenplayer
Registered User
Posts: 999
Joined: Thu Jul 03, 2014 9:20 pm
Location: Village in the middle of Switzerland
Name: Jutta Koliofotis
Contact:

Re: Set all topic views to 0 in ACP

Post by Tastenplayer »

KevC wrote: Wed May 22, 2019 8:12 am Surely the first person visiting the board would have expected the admin to have at least had a look to make sure it all worked ok. No one is going to refuse to join or PM the admin because a forum has had a few views.
:lol:
david63 wrote: Wed May 22, 2019 7:35 am
Tastenplayer wrote: Wed May 22, 2019 7:25 am But it's also pretty nonsensical if all views are from the admin.
How would anyone know?
I know that.
Joking aside - You want to see how many people visit the topic and not how many times I have visited a topic.

No problem was just an idea. New should definitely start at 0.
But no matter, you overcome your inhibitions furthermore and try to enter the command to 0 position on the server.
Update phpbb_topics Set topic_views = 0 where 1
I have too much respect for this server. It is strangely configured in many ways.
I'm sure it's not just me.
More of my styles you can find in my phpBB Style Board & More
Be the best version of yourself rather than a bad copy of someone else!
Excuse me for my English, but I learned the language by speaking to people and not at school.
🎨 All my styles are updated to 3.3.8 and can be downloaded here
Post Reply

Return to “phpBB Ideas”