Set all topic views to 0 in ACP

https://www.phpbb.com/ideas/
Post Reply
User avatar
Tastenplayer
Registered User
Posts: 762
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.
User avatar
david63
Registered User
Posts: 18427
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

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!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
User avatar
Tastenplayer
Registered User
Posts: 762
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.
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70216
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
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
User avatar
Tastenplayer
Registered User
Posts: 762
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.
User avatar
david63
Registered User
Posts: 18427
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

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!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
User avatar
AmigoJack
Registered User
Posts: 5779
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 worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
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.
axe70 wrote:
Sat Oct 10, 2020 6:52 pm
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.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 22816
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket probably.

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©
User avatar
3Di
Former Team Member
Posts: 16038
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
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.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
User avatar
Tastenplayer
Registered User
Posts: 762
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.
User avatar
david63
Registered User
Posts: 18427
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

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!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70216
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
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
User avatar
Tastenplayer
Registered User
Posts: 762
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.
Post Reply

Return to “phpBB Ideas”