Views in a topic incremented only once by user

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Scam Warning
Locked
User avatar
balboag
Registered User
Posts: 76
Joined: Wed Jul 13, 2011 3:52 pm
Location: Galicia, Spain
Name: Gerardo

Views in a topic incremented only once by user

Post by balboag » Fri Dec 07, 2012 3:52 pm

If a user views a topic 10 times, the view counter would increment once.

Current phpbb views count in topics is worthless, if you enter in a topic 10 times, the views counter shows 10 times, if guest and bots views the topics, it increments the count too. I don't like this.
Last edited by balboag on Thu Dec 13, 2012 2:14 am, edited 4 times in total.

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: VIEWS count incremented by Users

Post by Oyabun1 » Wed Dec 12, 2012 8:17 am

Search is your friend.

Unique Visits Counter
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: VIEWS count incremented by Users

Post by Jessica » Wed Dec 12, 2012 2:58 pm

Oyabun1 wrote:Search is your friend.

Unique Visits Counter
I don't think that will work on topics
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

User avatar
balboag
Registered User
Posts: 76
Joined: Wed Jul 13, 2011 3:52 pm
Location: Galicia, Spain
Name: Gerardo

Re: VIEWS count incremented by Users

Post by balboag » Wed Dec 12, 2012 5:00 pm

Oyabun1 wrote:Search is your friend.

Unique Visits Counter
Thanks, I've searched, but you should have read my post and not only the subject xP

User avatar
ViolaF
Registered User
Posts: 1459
Joined: Tue Aug 14, 2012 11:52 pm

Re: VIEWS count incremented by users in topics

Post by ViolaF » Wed Dec 12, 2012 5:53 pm

grateless op's :lol:

User avatar
DionDesigns
Registered User
Posts: 515
Joined: Sun Feb 26, 2012 11:22 pm
Location: Uncertain due to momentum.
Contact:

Re: VIEWS count incremented by users in topics

Post by DionDesigns » Wed Dec 12, 2012 11:35 pm

This would seem to be a bad idea. If a user views a topic 10 times, the view counter would increment once. But if that user logged out and viewed the same topic 10 times, the view counter would increment 10 times. The view count for that topic would be worthless.

However, something that might be worthwhile would be a display like:
1459 Views from guests and 25 members
If server-side topic marking is enabled, one could get the count of members from the _topics_track table.

User avatar
balboag
Registered User
Posts: 76
Joined: Wed Jul 13, 2011 3:52 pm
Location: Galicia, Spain
Name: Gerardo

Re: VIEWS count incremented by users in topics

Post by balboag » Thu Dec 13, 2012 2:12 am

DionDesigns wrote:This would seem to be a bad idea. If a user views a topic 10 times, the view counter would increment once. But if that user logged out and viewed the same topic 10 times, the view counter would increment 10 times. The view count for that topic would be worthless.

However, something that might be worthwhile would be a display like:
1459 Views from guests and 25 members
If server-side topic marking is enabled, one could get the count of members from the _topics_track table.
Yes, its my idea, first post updated.

gordonisnz
Registered User
Posts: 20
Joined: Sun Dec 30, 2012 9:28 am

Re: Views in a topic incremented only once by user

Post by gordonisnz » Mon Jan 07, 2013 2:36 am

Does this really help with the original query ?

https://www.phpbb.com/customise/db/mod/ ... s_counter/

Basically, if I view a topic - the "views" (count) increases by 1.

Will the above Mod *ONLY* increase the view count for each unique view ? - for each / separate forum topic viewed ? (this is not specified)..

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: Views in a topic incremented only once by user

Post by Oyabun1 » Mon Jan 07, 2013 3:07 am

The
gordonisnz wrote:Does this really help with the original query ?

https://www.phpbb.com/customise/db/mod/ ... s_counter/

Basically, if I view a topic - the "views" (count) increases by 1.

Will the above Mod *ONLY* increase the view count for each unique view ? - for each / separate forum topic viewed ? (this is not specified)..
The place to ask about MOD features is that MOD's dedicated Discussion/Support forum. There is no MOD support in this forum.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

User avatar
5hocK
Registered User
Posts: 3011
Joined: Wed Nov 23, 2011 7:00 pm
Location: England

Re: Views in a topic incremented only once by user

Post by 5hocK » Mon Jan 07, 2013 9:48 am

Maybe this MOD could be altered slightly - https://www.phpbb.com/customise/db/mod/ ... by_author/
A thread is pretty much a topic. Stop with the pedantics will ya.

User avatar
ViolaF
Registered User
Posts: 1459
Joined: Tue Aug 14, 2012 11:52 pm

Re: Views in a topic incremented only once by user

Post by ViolaF » Mon Jan 07, 2013 11:29 am

Than the user logged out, clear all caches and cookies, may restart the router (if the script is merciless) and increase the topic again as guest.

Locked

Return to “[3.0.x] MOD Requests”