Set all topic views to 0 in ACP

https://www.phpbb.com/ideas/
Post Reply
Author:
Tastenplayer
Posted:
Tue May 21, 2019 6:59 am
Rating:
Status:
New
User avatar
Tastenplayer
Registered User
Posts: 249
Joined: Thu Jul 03, 2014 9:20 pm
Location: Switzerland
Name: Jutta Koliofotis
Contact:

Set all topic views to 0 in ACP

Post by Tastenplayer » Tue May 21, 2019 6:59 am

Set all topic views to 0 in ACP
Instead of having to do this with command in the database.
Image
My phpBB Style Board & MoreBROWSERLING - Test your style live in all IE Versions
Released Ahoi & Ahoi_junior
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. The best online Translator

User avatar
david63
Registered User
Posts: 16063
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Set all topic views to 0 in ACP

Post by david63 » Tue May 21, 2019 7:16 am

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: 249
Joined: Thu Jul 03, 2014 9:20 pm
Location: Switzerland
Name: Jutta Koliofotis
Contact:

Re: Set all topic views to 0 in ACP

Post by Tastenplayer » Tue May 21, 2019 7:37 am

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) :)
My phpBB Style Board & MoreBROWSERLING - Test your style live in all IE Versions
Released Ahoi & Ahoi_junior
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. The best online Translator

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69033
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Set all topic views to 0 in ACP

Post by KevC » 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!
-:|:- 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: 249
Joined: Thu Jul 03, 2014 9:20 pm
Location: Switzerland
Name: Jutta Koliofotis
Contact:

Re: Set all topic views to 0 in ACP

Post by Tastenplayer » Tue May 21, 2019 8:47 am

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.
My phpBB Style Board & MoreBROWSERLING - Test your style live in all IE Versions
Released Ahoi & Ahoi_junior
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. The best online Translator

User avatar
david63
Registered User
Posts: 16063
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Set all topic views to 0 in ACP

Post by david63 » Tue May 21, 2019 8:54 am

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: 5569
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Set all topic views to 0 in ACP

Post by AmigoJack » 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.
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.

User avatar
Mick
Support Team Member
Support Team Member
Posts: 21053
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket - definitely

Re: Set all topic views to 0 in ACP

Post by Mick » Tue May 21, 2019 3:05 pm

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: 13664
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 » Tue May 21, 2019 11:26 pm

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
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

User avatar
Tastenplayer
Registered User
Posts: 249
Joined: Thu Jul 03, 2014 9:20 pm
Location: Switzerland
Name: Jutta Koliofotis
Contact:

Re: Set all topic views to 0 in ACP

Post by Tastenplayer » Wed May 22, 2019 7:25 am

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.
My phpBB Style Board & MoreBROWSERLING - Test your style live in all IE Versions
Released Ahoi & Ahoi_junior
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. The best online Translator

User avatar
david63
Registered User
Posts: 16063
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Set all topic views to 0 in ACP

Post by david63 » 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?
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: 69033
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Set all topic views to 0 in ACP

Post by KevC » 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.
-:|:- 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: 249
Joined: Thu Jul 03, 2014 9:20 pm
Location: Switzerland
Name: Jutta Koliofotis
Contact:

Re: Set all topic views to 0 in ACP

Post by Tastenplayer » Mon May 27, 2019 6:53 pm

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.
My phpBB Style Board & MoreBROWSERLING - Test your style live in all IE Versions
Released Ahoi & Ahoi_junior
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. The best online Translator

Post Reply

Return to “phpBB Ideas”